From 6049493e4a2372ea22986b231ad2bd59584fe9b8 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Sat, 4 Jan 2025 19:47:24 +0100 Subject: [PATCH] Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-core` (#201653) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Start relocating Kibana modules (packages and plugins) to the new folder structure, according to the _Kibana Sustainable Architecture_ initiative. #### 16 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/cloud-chat-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_chat` | | `@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-links-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_links` | | `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` | | `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` | | `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` | | `@kbn/kibana-usage-collection-plugin` | `src/platform/plugins/private/kibana_usage_collection` | | `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` | | `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` | | `@kbn/saved-objects-management-plugin` | `src/platform/plugins/shared/saved_objects_management` | | `@kbn/telemetry-collection-manager-plugin` | `src/platform/plugins/shared/telemetry_collection_manager` | | `@kbn/telemetry-collection-xpack-plugin` | `x-pack/platform/plugins/private/telemetry_collection_xpack` | | `@kbn/telemetry-management-section-plugin` | `src/platform/plugins/shared/telemetry_management_section` | | `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` | | `@kbn/usage-collection-plugin` | `src/platform/plugins/shared/usage_collection` | #### 22 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` | | `@kbn/analytics-collection-utils` | `src/platform/packages/private/analytics/utils/analytics_collection_utils` | | `@kbn/apm-config-loader` | `src/platform/packages/private/kbn-apm-config-loader` | | `@kbn/cloud` | `src/platform/packages/shared/cloud` | | `@kbn/config` | `src/platform/packages/shared/kbn-config` | | `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks` | | `@kbn/config-schema` | `src/platform/packages/shared/kbn-config-schema` | | `@kbn/crypto-browser` | `src/platform/packages/shared/kbn-crypto-browser` | | `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` | | `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` | | `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` | | `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` | | `@kbn/health-gateway-server` | `src/platform/packages/private/kbn-health-gateway-server` | | `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` | | `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` | | `@kbn/logging` | `src/platform/packages/shared/kbn-logging` | | `@kbn/logging-mocks` | `src/platform/packages/shared/kbn-logging-mocks` | | `@kbn/router-to-openapispec` | `src/platform/packages/shared/kbn-router-to-openapispec` | | `@kbn/server-http-tools` | `src/platform/packages/shared/kbn-server-http-tools` | | `@kbn/std` | `src/platform/packages/shared/kbn-std` | | `@kbn/utility-types` | `src/platform/packages/shared/kbn-utility-types` | | `@kbn/zod` | `src/platform/packages/shared/kbn-zod` | --------- Co-authored-by: Alejandro Fernández Haro Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../pipelines/pull_request/pipeline.ts | 12 +- .eslintignore | 2 +- .eslintrc.js | 38 +- .github/CODEOWNERS | 356 +++++----- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .i18nrc.json | 12 +- .telemetryrc.json | 14 +- .../advanced/sharing-saved-objects.asciidoc | 6 +- .../architecture/core/http-service.asciidoc | 4 +- .../core/patterns-scoped-services.asciidoc | 8 +- .../core/saved-objects-service.asciidoc | 16 +- .../kibana-platform-plugin-api.asciidoc | 20 +- .../security/feature-registration.asciidoc | 8 +- docs/developer/best-practices/index.asciidoc | 2 +- .../best-practices/navigation.asciidoc | 2 +- docs/developer/plugin-list.asciidoc | 36 +- .../external-plugin-localization.asciidoc | 8 +- legacy_rfcs/text/0007_lifecycle_unblocked.md | 2 +- package.json | 324 ++++----- packages/README.md | 2 +- .../jest.config.js | 14 - .../core-deprecations-browser/jest.config.js | 14 - .../core-deprecations-common/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-elasticsearch-server/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-fatal-errors-browser/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-i18n-browser-internal/jest.config.js | 14 - .../core/i18n/core-i18n-server/jest.config.js | 14 - .../core/i18n/core-i18n-server/tsconfig.json | 16 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-lifecycle-browser/jest.config.js | 14 - .../jest.config.js | 14 - .../core-lifecycle-server/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-mount-utils-browser/jest.config.js | 14 - .../core-node-server-internal/jest.config.js | 14 - .../core/node/core-node-server/tsconfig.json | 16 - .../jest.config.js | 14 - .../core-notifications-browser/jest.config.js | 14 - .../jest.config.js | 14 - .../core-overlays-browser/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-preboot-server/jest.config.js | 14 - .../preboot/core-preboot-server/tsconfig.json | 16 - .../jest.config.js | 14 - .../core-rendering-browser/jest.config.js | 14 - .../jest.config.js | 14 - .../core-root-browser-internal/jest.config.js | 14 - .../core-root-server-internal/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-saved-objects-browser/jest.config.js | 14 - .../core-saved-objects-common/jest.config.js | 14 - .../core-saved-objects-common/tsconfig.json | 16 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-saved-objects-server/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-security-browser/jest.config.js | 14 - .../core-security-server-mocks/jest.config.js | 14 - .../status/core-status-common/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../theme/core-theme-browser/jest.config.js | 14 - .../theme/core-theme-browser/tsconfig.json | 16 - .../src/ui_settings.ts | 2 +- .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-usage-data-server/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-user-profile-browser/jest.config.js | 14 - .../core-user-profile-common/jest.config.js | 14 - .../jest.config.js | 14 - .../jest.config.js | 14 - .../core-user-profile-server/jest.config.js | 14 - packages/kbn-crypto-browser/jest.config.js | 14 - packages/kbn-crypto-browser/tsconfig.json | 16 - packages/kbn-ebt-tools/jest.config.js | 14 - packages/kbn-es-errors/tsconfig.json | 16 - packages/kbn-eslint-config/.eslintrc.js | 2 +- .../kbn-health-gateway-server/jest.config.js | 14 - packages/kbn-i18n-react/jest.config.js | 14 - packages/kbn-i18n/jest.config.js | 14 - packages/kbn-logging/jest.config.js | 14 - packages/kbn-monaco/BUILD.bazel | 2 +- .../kbn-router-to-openapispec/jest.config.js | 14 - packages/kbn-server-http-tools/jest.config.js | 14 - packages/kbn-std/jest.config.js | 14 - packages/kbn-zod/jest.config.js | 14 - src/core/CONVENTIONS.md | 4 +- .../server-internal/assets/legacy_theme.js | 2 +- .../packages/base/common-internal}/README.md | 0 .../packages/base/common-internal}/index.ts | 0 .../base/common-internal/jest.config.js | 14 + .../base/common-internal}/kibana.jsonc | 0 .../base/common-internal}/package.json | 0 .../base/common-internal}/src/core.ts | 0 .../base/common-internal}/tsconfig.json | 2 +- .../packages/base/server-internal}/README.md | 0 .../packages/base/server-internal}/index.ts | 0 .../base/server-internal}/jest.config.js | 4 +- .../base/server-internal}/kibana.jsonc | 0 .../base/server-internal}/package.json | 0 .../base/server-internal}/src/config.ts | 0 .../base/server-internal}/src/core_context.ts | 0 .../base/server-internal}/src/errors.ts | 0 .../base/server-internal}/src/regexp.ts | 0 .../base/server-internal}/src/services.ts | 0 .../base/server-internal}/tsconfig.json | 2 +- .../capabilities/browser-internal}/README.md | 0 .../capabilities/browser-internal}/index.ts | 0 .../browser-internal}/jest.config.js | 4 +- .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../src/capabilities_service.test.ts | 0 .../src/capabilities_service.tsx | 0 .../browser-internal}/tsconfig.json | 2 +- .../packages/capabilities/common}/README.md | 0 .../packages/capabilities/common}/index.ts | 0 .../capabilities/common/jest.config.js | 14 + .../capabilities/common}/kibana.jsonc | 0 .../capabilities/common}/package.json | 0 .../capabilities/common}/src/capabilities.ts | 0 .../capabilities/common}/tsconfig.json | 2 +- .../capabilities/server-internal}/README.md | 0 .../capabilities/server-internal}/index.ts | 0 .../server-internal/jest.config.js | 14 + .../server-internal}/kibana.jsonc | 0 .../server-internal}/package.json | 0 .../src/capabilities_service.test.ts | 0 .../src/capabilities_service.ts | 0 .../src/merge_capabilities.test.ts | 0 .../src/merge_capabilities.ts | 0 .../src/resolve_capabilities.test.mocks.ts | 0 .../src/resolve_capabilities.test.ts | 0 .../src/resolve_capabilities.ts | 0 .../src/resolve_helpers.test.ts | 0 .../server-internal}/src/resolve_helpers.ts | 0 .../server-internal}/src/routes/index.ts | 0 .../src/routes/resolve_capabilities.ts | 0 .../server-internal}/src/types.ts | 0 .../server-internal}/tsconfig.json | 2 +- .../packages/capabilities/server}/README.md | 0 .../packages/capabilities/server}/index.ts | 0 .../capabilities/server}/jest.config.js | 4 +- .../capabilities/server}/kibana.jsonc | 0 .../capabilities/server}/package.json | 0 .../capabilities/server}/src/capabilities.ts | 0 .../capabilities/server}/src/contracts.ts | 0 .../capabilities/server}/tsconfig.json | 2 +- .../config/server-internal}/README.md | 0 .../packages/config/server-internal}/index.ts | 0 .../config/server-internal/jest.config.js | 14 + .../config/server-internal}/kibana.jsonc | 0 .../config/server-internal}/package.json | 0 .../src/deprecation/core_deprecations.test.ts | 0 .../src/deprecation/core_deprecations.ts | 0 .../server-internal}/src/deprecation/index.ts | 0 .../src/ensure_valid_configuration.test.ts | 0 .../src/ensure_valid_configuration.ts | 0 .../config/server-internal}/tsconfig.json | 2 +- .../deprecations/browser-internal}/README.md | 0 .../deprecations/browser-internal}/index.ts | 0 .../browser-internal/jest.config.js | 14 + .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../src/deprecations_client.test.ts | 0 .../src/deprecations_client.ts | 0 .../src/deprecations_service.ts | 0 .../browser-internal}/tsconfig.json | 2 +- .../packages/deprecations/browser}/README.md | 0 .../packages/deprecations/browser}/index.ts | 0 .../deprecations/browser/jest.config.js | 14 + .../deprecations/browser}/kibana.jsonc | 0 .../deprecations/browser}/package.json | 0 .../deprecations/browser}/src/contracts.ts | 0 .../deprecations/browser}/src/types.ts | 0 .../deprecations/browser}/tsconfig.json | 2 +- .../packages/deprecations/common}/README.md | 0 .../packages/deprecations/common}/index.ts | 0 .../deprecations/common/jest.config.js | 14 + .../deprecations/common}/kibana.jsonc | 0 .../deprecations/common}/package.json | 0 .../deprecations/common}/src/types.ts | 0 .../deprecations/common}/tsconfig.json | 2 +- .../deprecations/server-internal}/README.md | 0 .../deprecations/server-internal}/index.ts | 0 .../server-internal/jest.config.js | 14 + .../server-internal}/kibana.jsonc | 0 .../server-internal}/package.json | 0 .../src/deprecation_config.ts | 0 .../access/access_deprecations.ts | 0 .../api_deprecations/access/i18n_texts.ts | 0 .../api_deprecations/access/index.ts | 0 .../api_deprecation_id.test.ts | 0 .../api_deprecations/api_deprecation_id.ts | 0 .../deprecations/api_deprecations/index.ts | 0 .../register_api_depercation_info.test.ts | 0 .../register_api_depercation_info.ts | 0 .../api_deprecations/route/i18n_texts.ts | 0 .../api_deprecations/route/index.ts | 0 .../route/route_deprecations.ts | 0 .../deprecations/api_deprecations/types.ts | 0 .../deprecations/config_deprecations.test.ts | 0 .../src/deprecations/config_deprecations.ts | 0 .../src/deprecations/index.ts | 0 .../src/deprecations_factory.test.ts | 0 .../src/deprecations_factory.ts | 0 .../src/deprecations_registry.test.ts | 0 .../src/deprecations_registry.ts | 0 .../src/deprecations_route_handler_context.ts | 0 .../src/deprecations_service.test.mocks.ts | 0 .../src/deprecations_service.test.ts | 0 .../src/deprecations_service.ts | 0 .../server-internal}/src/index.ts | 0 .../server-internal}/src/internal_types.ts | 0 .../src/mocks/deprecations_factory.mock.ts | 0 .../src/mocks/deprecations_registry.mock.ts | 0 .../server-internal}/src/mocks/index.ts | 0 .../server-internal}/src/routes/get.ts | 0 .../server-internal}/src/routes/index.ts | 0 .../src/routes/post_validation_handler.ts | 0 .../src/routes/resolve_deprecated_api.ts | 0 .../server-internal}/tsconfig.json | 2 +- .../packages/deprecations/server}/README.md | 0 .../packages/deprecations/server}/index.ts | 0 .../deprecations/server/jest.config.js | 14 + .../deprecations/server}/kibana.jsonc | 0 .../deprecations/server}/package.json | 0 .../deprecations/server}/src/contracts.ts | 0 .../deprecations/server}/src/index.ts | 0 .../server}/src/request_handler_context.ts | 0 .../deprecations/server}/tsconfig.json | 2 +- .../doc-links/browser-internal}/README.md | 0 .../doc-links/browser-internal}/index.ts | 0 .../browser-internal}/jest.config.js | 4 +- .../doc-links/browser-internal}/kibana.jsonc | 0 .../doc-links/browser-internal}/package.json | 0 .../src/doc_links_service.test.mocks.ts | 0 .../src/doc_links_service.test.ts | 0 .../src/doc_links_service.ts | 0 .../doc-links/browser-internal}/tsconfig.json | 2 +- .../packages/doc-links/browser}/README.md | 0 .../core/packages/doc-links/browser}/index.ts | 0 .../packages/doc-links/browser/jest.config.js | 14 + .../packages/doc-links/browser}/kibana.jsonc | 0 .../packages/doc-links/browser}/package.json | 0 .../packages/doc-links/browser}/src/types.ts | 0 .../packages/doc-links/browser}/tsconfig.json | 2 +- .../doc-links/server-internal}/README.md | 0 .../doc-links/server-internal}/index.ts | 0 .../doc-links/server-internal}/jest.config.js | 4 +- .../doc-links/server-internal}/kibana.jsonc | 0 .../doc-links/server-internal}/package.json | 0 .../src/doc_links_service.test.mocks.ts | 0 .../src/doc_links_service.test.ts | 0 .../server-internal}/src/doc_links_service.ts | 0 .../doc-links/server-internal}/tsconfig.json | 2 +- .../core/packages/doc-links/server}/README.md | 0 .../core/packages/doc-links/server}/index.ts | 0 .../packages/doc-links/server/jest.config.js | 14 + .../packages/doc-links/server}/kibana.jsonc | 0 .../packages/doc-links/server}/package.json | 0 .../packages/doc-links/server}/src/types.ts | 0 .../packages/doc-links/server}/tsconfig.json | 2 +- .../client-server-internal}/README.md | 0 .../client-server-internal}/index.ts | 0 .../client-server-internal}/jest.config.js | 4 +- .../client-server-internal}/kibana.jsonc | 0 .../client-server-internal}/package.json | 0 .../src/agent_manager.test.ts | 0 .../src/agent_manager.ts | 0 .../src/client_config.test.ts | 0 .../src/client_config.ts | 0 .../src/cluster_client.test.mocks.ts | 0 .../src/cluster_client.test.ts | 0 .../src/cluster_client.ts | 0 .../src/configure_client.test.mocks.ts | 0 .../src/configure_client.test.ts | 0 .../src/configure_client.ts | 0 .../src/create_transport.test.mocks.ts | 0 .../src/create_transport.test.ts | 0 .../src/create_transport.ts | 0 .../get_agents_sockets_stats.test.mocks.ts | 0 .../src/get_agents_sockets_stats.test.ts | 0 .../src/get_agents_sockets_stats.ts | 0 .../src/get_ecs_response_log.test.ts | 0 .../src/get_ecs_response_log.ts | 0 .../client-server-internal}/src/headers.ts | 0 .../src/log_query_and_deprecation.test.ts | 0 .../src/log_query_and_deprecation.ts | 0 .../src/patch_client.ts | 0 .../src/retry_unauthorized.test.ts | 0 .../src/retry_unauthorized.ts | 0 .../src/scoped_cluster_client.test.ts | 0 .../src/scoped_cluster_client.ts | 0 .../client-server-internal}/tsconfig.json | 2 +- .../elasticsearch/server-internal}/README.md | 0 .../elasticsearch/server-internal}/index.ts | 0 .../server-internal/jest.config.js | 14 + .../server-internal}/kibana.jsonc | 0 .../server-internal}/package.json | 0 .../src/default_headers.test.ts | 0 .../server-internal}/src/default_headers.ts | 0 .../src/elasticsearch_config.test.mocks.ts | 0 .../src/elasticsearch_config.test.ts | 0 .../src/elasticsearch_config.ts | 0 .../elasticsearch_route_handler_context.ts | 0 .../src/elasticsearch_service.test.mocks.ts | 0 .../src/elasticsearch_service.test.ts | 0 .../src/elasticsearch_service.ts | 0 .../src/get_capabilities.test.ts | 0 .../server-internal}/src/get_capabilities.ts | 0 .../src/get_cluster_info.test.ts | 0 .../server-internal}/src/get_cluster_info.ts | 0 .../src/is_scripting_enabled.test.mocks.ts | 0 .../src/is_scripting_enabled.test.ts | 0 .../src/is_scripting_enabled.ts | 0 .../src/is_valid_connection.test.ts | 0 .../src/is_valid_connection.ts | 0 .../server-internal}/src/merge_config.test.ts | 0 .../server-internal}/src/merge_config.ts | 0 ...egister_analytics_context_provider.test.ts | 0 .../register_analytics_context_provider.ts | 0 .../src/retry_call_cluster.test.ts | 0 .../src/retry_call_cluster.ts | 0 .../src/retryable_es_client_errors.test.ts | 0 .../src/retryable_es_client_errors.ts | 0 .../server-internal}/src/status.test.ts | 0 .../server-internal}/src/status.ts | 0 .../supported_server_response_check.test.ts | 0 .../src/supported_server_response_check.ts | 0 .../server-internal}/src/types.ts | 0 .../version_check/ensure_es_version.test.ts | 0 .../src/version_check/ensure_es_version.ts | 0 .../es_kibana_version_compatability.test.ts | 0 .../es_kibana_version_compatability.ts | 0 .../server-internal}/tsconfig.json | 2 +- .../packages/elasticsearch/server}/README.md | 0 .../packages/elasticsearch/server}/index.ts | 0 .../elasticsearch/server}/jest.config.js | 4 +- .../elasticsearch/server}/kibana.jsonc | 0 .../elasticsearch/server}/package.json | 0 .../server}/src/client/client.ts | 0 .../server}/src/client/client_config.ts | 0 .../server}/src/client/cluster_client.ts | 0 .../elasticsearch/server}/src/client/index.ts | 0 .../server}/src/client/scopeable_request.ts | 0 .../src/client/scoped_cluster_client.ts | 0 .../src/client/unauthorized_error_handler.ts | 0 .../elasticsearch/server}/src/contracts.ts | 0 .../server}/src/elasticsearch_config.ts | 0 .../server}/src/request_handler_context.ts | 0 .../elasticsearch/server}/tsconfig.json | 2 +- .../environment/server-internal}/README.md | 0 .../environment/server-internal}/index.ts | 0 .../server-internal}/jest.config.js | 4 +- .../environment/server-internal}/kibana.jsonc | 0 .../environment/server-internal}/package.json | 0 .../src/create_data_folder.test.ts | 0 .../src/create_data_folder.ts | 0 .../src/environment_service.test.ts | 0 .../src/environment_service.ts | 0 .../environment/server-internal}/src/fs.ts | 0 .../server-internal}/src/pid_config.ts | 0 .../server-internal}/src/resolve_uuid.test.ts | 0 .../server-internal}/src/resolve_uuid.ts | 0 .../environment/server-internal}/src/types.ts | 0 .../src/write_pid_file.test.ts | 0 .../server-internal}/src/write_pid_file.ts | 0 .../server-internal}/tsconfig.json | 2 +- .../browser-internal}/README.md | 0 .../browser-internal}/index.ts | 0 .../browser-internal/jest.config.js | 14 + .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../src/execution_context_container.test.ts | 0 .../src/execution_context_container.ts | 0 .../src/execution_context_service.test.ts | 0 .../src/execution_context_service.ts | 0 .../browser-internal}/tsconfig.json | 2 +- .../execution-context/browser}/README.md | 0 .../execution-context/browser}/index.ts | 0 .../execution-context/browser}/jest.config.js | 4 +- .../execution-context/browser}/kibana.jsonc | 0 .../execution-context/browser}/package.json | 0 .../execution-context/browser}/src/types.ts | 0 .../execution-context/browser}/tsconfig.json | 2 +- .../execution-context/common}/README.md | 0 .../execution-context/common}/index.ts | 0 .../execution-context/common}/jest.config.js | 4 +- .../execution-context/common}/kibana.jsonc | 0 .../execution-context/common}/package.json | 0 .../execution-context/common}/src/types.ts | 0 .../execution-context/common}/tsconfig.json | 2 +- .../server-internal}/README.md | 0 .../server-internal}/index.ts | 0 .../server-internal}/jest.config.js | 4 +- .../server-internal}/kibana.jsonc | 0 .../server-internal}/package.json | 0 .../src/execution_context_config.ts | 0 .../src/execution_context_container.test.ts | 0 .../src/execution_context_container.ts | 0 .../src/execution_context_service.test.ts | 0 .../src/execution_context_service.ts | 0 .../server-internal}/tsconfig.json | 2 +- .../execution-context/server}/README.md | 0 .../execution-context/server}/index.ts | 0 .../execution-context/server}/jest.config.js | 4 +- .../execution-context/server}/kibana.jsonc | 0 .../execution-context/server}/package.json | 0 .../server}/src/contracts.ts | 0 .../execution-context/server}/src/types.ts | 0 .../execution-context/server}/tsconfig.json | 2 +- .../fatal-errors/browser-internal}/README.md | 0 .../fatal-errors/browser-internal}/index.ts | 0 .../browser-internal/jest.config.js | 14 + .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../fatal_errors_screen.test.tsx.snap | 0 .../fatal_errors_service.test.ts.snap | 0 .../src/fatal_errors_screen.test.tsx | 0 .../src/fatal_errors_screen.tsx | 0 .../src/fatal_errors_service.test.mocks.ts | 0 .../src/fatal_errors_service.test.ts | 0 .../src/fatal_errors_service.tsx | 0 .../src/get_error_info.test.ts | 0 .../browser-internal}/src/get_error_info.ts | 0 .../browser-internal}/tsconfig.json | 2 +- .../packages/fatal-errors/browser}/README.md | 0 .../packages/fatal-errors/browser}/index.ts | 0 .../fatal-errors/browser/jest.config.js | 14 + .../fatal-errors/browser}/kibana.jsonc | 0 .../fatal-errors/browser}/package.json | 0 .../fatal-errors/browser}/src/contract.ts | 0 .../browser}/src/get_error_info.ts | 0 .../fatal-errors/browser}/tsconfig.json | 2 +- .../feature-flags/browser-internal}/README.md | 0 .../feature-flags/browser-internal}/index.ts | 0 .../browser-internal}/jest.config.js | 4 +- .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../src/feature_flags_service.test.ts | 0 .../src/feature_flags_service.ts | 0 .../browser-internal}/tsconfig.json | 2 +- .../feature-flags/browser-mocks}/README.md | 0 .../feature-flags/browser-mocks}/index.ts | 0 .../browser-mocks/jest.config.js | 14 + .../feature-flags/browser-mocks}/kibana.jsonc | 0 .../feature-flags/browser-mocks}/package.json | 0 .../browser-mocks}/tsconfig.json | 2 +- .../packages/feature-flags/browser}/README.md | 0 .../packages/feature-flags/browser}/index.ts | 0 .../feature-flags/browser}/kibana.jsonc | 0 .../feature-flags/browser}/package.json | 0 .../feature-flags/browser}/src/types.ts | 0 .../feature-flags/browser}/tsconfig.json | 2 +- .../feature-flags/server-internal}/README.md | 0 .../feature-flags/server-internal}/index.ts | 0 .../server-internal/jest.config.js | 14 + .../server-internal}/kibana.jsonc | 0 .../server-internal}/package.json | 0 .../src/feature_flags_config.ts | 0 .../feature_flags_request_handler_context.ts | 0 .../src/feature_flags_service.test.ts | 0 .../src/feature_flags_service.ts | 0 .../server-internal}/tsconfig.json | 2 +- .../feature-flags/server-mocks}/README.md | 0 .../feature-flags/server-mocks}/index.ts | 0 .../feature-flags/server-mocks/jest.config.js | 14 + .../feature-flags/server-mocks}/kibana.jsonc | 0 .../feature-flags/server-mocks}/package.json | 0 .../feature-flags/server-mocks}/tsconfig.json | 2 +- .../packages/feature-flags/server}/README.md | 0 .../packages/feature-flags/server}/index.ts | 0 .../feature-flags/server}/kibana.jsonc | 0 .../feature-flags/server}/package.json | 0 .../feature-flags/server}/src/contracts.ts | 0 .../server}/src/feature_flag_definition.ts | 0 .../server}/src/request_handler_context.ts | 0 .../feature-flags/server}/tsconfig.json | 2 +- .../packages/http/browser-internal}/README.md | 0 .../packages/http/browser-internal}/index.ts | 0 .../http/browser-internal/jest.config.js | 14 + .../http/browser-internal}/kibana.jsonc | 0 .../http/browser-internal}/package.json | 0 .../src/_import_objects.ndjson | 0 .../src/anonymous_paths_service.test.ts | 0 .../src/anonymous_paths_service.ts | 0 .../browser-internal}/src/base_path.test.ts | 0 .../http/browser-internal}/src/base_path.ts | 0 .../src/external_url_service.test.ts | 6 +- .../src/external_url_service.ts | 0 .../http/browser-internal}/src/fetch.test.ts | 0 .../http/browser-internal}/src/fetch.ts | 0 .../browser-internal}/src/http_fetch_error.ts | 0 .../src/http_intercept_controller.ts | 0 .../src/http_intercept_halt_error.ts | 0 .../src/http_service.test.mocks.ts | 0 .../src/http_service.test.ts | 0 .../browser-internal}/src/http_service.ts | 0 .../http/browser-internal}/src/intercept.ts | 0 .../src/loading_count_service.mock.ts | 0 .../src/loading_count_service.test.ts | 0 .../src/loading_count_service.ts | 0 .../src/static_assets.test.ts | 0 .../browser-internal}/src/static_assets.ts | 0 .../http/browser-internal}/src/types.ts | 0 .../http/browser-internal}/tsconfig.json | 2 +- .../core/packages/http/browser}/README.md | 0 .../core/packages/http/browser}/index.ts | 0 .../packages/http/browser}/jest.config.js | 4 +- .../core/packages/http/browser}/kibana.jsonc | 0 .../core/packages/http/browser}/package.json | 0 .../core/packages/http/browser}/src/types.ts | 0 .../core/packages/http/browser}/src/utils.ts | 0 .../core/packages/http/browser}/tsconfig.json | 2 +- .../core/packages/http/common}/README.md | 0 .../core/packages/http/common}/index.ts | 0 .../core/packages/http/common}/jest.config.js | 4 +- .../core/packages/http/common}/kibana.jsonc | 0 .../core/packages/http/common}/package.json | 0 .../packages/http/common}/src/constants.ts | 0 .../http/common}/src/external_url_policy.ts | 0 .../packages/http/common}/src/versioning.ts | 0 .../core/packages/http/common}/tsconfig.json | 2 +- .../http/context-server-internal}/README.md | 0 .../http/context-server-internal}/index.ts | 0 .../context-server-internal/jest.config.js | 14 + .../context-server-internal}/kibana.jsonc | 0 .../context-server-internal}/package.json | 0 .../src/context_container.test.ts | 0 .../src/context_container.ts | 0 .../src/context_service.test.mocks.ts | 0 .../src/context_service.test.ts | 0 .../src/context_service.ts | 0 .../context-server-internal}/tsconfig.json | 2 +- .../README.md | 0 .../index.ts | 0 .../jest.config.js | 14 + .../kibana.jsonc | 0 .../package.json | 0 .../src/core_route_handler_context.test.ts | 0 .../src/core_route_handler_context.ts | 0 .../src/index.ts | 0 ...preboot_core_route_handler_context.test.ts | 0 .../src/preboot_core_route_handler_context.ts | 0 .../core_route_handler_context_params.mock.ts | 0 .../src/test_helpers/index.ts | 0 ..._core_route_handler_context_params.mock.ts | 0 .../tsconfig.json | 2 +- .../request-handler-context-server}/README.md | 0 .../request-handler-context-server}/index.ts | 0 .../jest.config.js | 14 + .../kibana.jsonc | 0 .../package.json | 0 .../src/index.ts | 0 .../src/preboot_request_handler_context.ts | 0 .../src/request_handler_context.ts | 0 .../tsconfig.json | 2 +- .../http/resources-server-internal}/README.md | 0 .../http/resources-server-internal}/index.ts | 0 .../resources-server-internal}/jest.config.js | 4 +- .../resources-server-internal}/kibana.jsonc | 0 .../resources-server-internal}/package.json | 0 .../src/http_resources_service.test.ts | 0 .../src/http_resources_service.ts | 0 .../resources-server-internal}/src/index.ts | 0 .../http_resources_service_test_mocks.ts | 0 .../resources-server-internal}/src/types.ts | 0 .../resources-server-internal}/tsconfig.json | 2 +- .../packages/http/resources-server}/README.md | 0 .../packages/http/resources-server}/index.ts | 0 .../http/resources-server/jest.config.js | 14 + .../http/resources-server}/kibana.jsonc | 0 .../http/resources-server}/package.json | 0 .../http/resources-server}/src/index.ts | 0 .../http/resources-server}/src/types.ts | 0 .../http/resources-server}/tsconfig.json | 2 +- .../http/router-server-internal}/README.md | 0 .../http/router-server-internal}/index.ts | 0 .../router-server-internal/jest.config.js | 14 + .../http/router-server-internal}/kibana.jsonc | 0 .../http/router-server-internal}/package.json | 0 .../src/error_wrapper.test.ts | 0 .../src/error_wrapper.ts | 0 .../router-server-internal}/src/headers.ts | 0 .../src/patch_requests.ts | 0 .../src/request.test.ts | 0 .../router-server-internal}/src/request.ts | 0 .../src/response.test.ts | 0 .../router-server-internal}/src/response.ts | 0 .../src/response_adapter.ts | 0 .../http/router-server-internal}/src/route.ts | 0 .../src/router.test.ts | 0 .../src/router.test.util.ts | 0 .../router-server-internal}/src/router.ts | 2 +- .../security_route_config_validator.test.ts | 0 .../src/security_route_config_validator.ts | 0 .../src/socket.test.ts | 0 .../router-server-internal}/src/socket.ts | 0 .../src/strip_illegal_http2_headers.test.ts | 0 .../src/strip_illegal_http2_headers.ts | 0 .../router-server-internal}/src/util.test.ts | 0 .../http/router-server-internal}/src/util.ts | 0 .../src/validator.test.ts | 0 .../router-server-internal}/src/validator.ts | 0 .../core_versioned_route.test.ts | 0 .../core_versioned_route.test.util.ts | 0 .../versioned_router/core_versioned_route.ts | 0 .../core_versioned_router.test.ts | 0 .../versioned_router/core_versioned_router.ts | 0 .../handler_resolvers.test.ts | 0 .../src/versioned_router/handler_resolvers.ts | 0 .../src/versioned_router/index.ts | 0 .../src/versioned_router/mocks.ts | 0 .../route_version_utils.test.ts | 0 .../versioned_router/route_version_utils.ts | 0 .../src/versioned_router/types.ts | 0 .../src/versioned_router/util.test.ts | 0 .../src/versioned_router/util.ts | 0 .../src/versioned_router/validate.ts | 0 .../router-server-internal}/tsconfig.json | 2 +- .../packages/http/server-internal}/README.md | 0 .../packages/http/server-internal}/index.ts | 0 .../http/server-internal}/jest.config.js | 4 +- .../http/server-internal}/kibana.jsonc | 0 .../http/server-internal}/package.json | 0 .../static/compression_available.json | 0 .../static/compression_available.json.gz | Bin .../src/__fixtures/static/some_json.json | 0 .../__snapshots__/http_config.test.ts.snap | 0 .../__snapshots__/http_service.test.ts.snap | 0 .../https_redirect_server.test.ts.snap | 0 .../src/auth_headers_storage.test.ts | 0 .../src/auth_headers_storage.ts | 0 .../src/auth_state_storage.ts | 0 .../src/base_path_service.test.ts | 0 .../server-internal}/src/base_path_service.ts | 0 .../src/cdn_config/cdn_config.test.ts | 0 .../src/cdn_config/cdn_config.ts | 0 .../server-internal}/src/cdn_config/index.ts | 0 .../src/cookie_session_storage.ts | 0 .../server-internal}/src/csp/config.test.ts | 0 .../http/server-internal}/src/csp/config.ts | 0 .../src/csp/csp_config.test.ts | 0 .../server-internal}/src/csp/csp_config.ts | 0 .../src/csp/csp_directives.test.ts | 0 .../src/csp/csp_directives.ts | 0 .../http/server-internal}/src/csp/index.ts | 0 .../src/external_url/config.test.ts | 0 .../src/external_url/config.ts | 0 .../src/external_url/external_url_config.ts | 0 .../src/external_url/index.ts | 0 .../server-internal}/src/http_config.test.ts | 0 .../http/server-internal}/src/http_config.ts | 0 .../src/http_server.test.mocks.ts | 0 .../server-internal}/src/http_server.test.ts | 0 .../http/server-internal}/src/http_server.ts | 0 .../src/http_service.test.mocks.ts | 0 .../server-internal}/src/http_service.test.ts | 0 .../http/server-internal}/src/http_service.ts | 0 .../src/https_redirect_server.test.ts | 0 .../src/https_redirect_server.ts | 0 .../server-internal}/src/lifecycle/auth.ts | 0 .../src/lifecycle/on_post_auth.ts | 0 .../src/lifecycle/on_pre_auth.ts | 0 .../src/lifecycle/on_pre_response.ts | 0 .../src/lifecycle/on_pre_routing.ts | 0 .../src/lifecycle_handlers.test.ts | 0 .../src/lifecycle_handlers.ts | 0 .../src/logging/get_payload_size.test.ts | 0 .../src/logging/get_payload_size.ts | 0 .../src/logging/get_response_log.test.ts | 0 .../src/logging/get_response_log.ts | 0 .../server-internal}/src/logging/index.ts | 0 .../src/permissions_policy/config.ts | 0 .../src/permissions_policy/index.ts | 0 .../src/register_lifecycle_handlers.test.ts | 0 .../src/register_lifecycle_handlers.ts | 0 .../security_response_headers_config.test.ts | 0 .../src/security_response_headers_config.ts | 0 .../src/static_assets/index.ts | 0 .../src/static_assets/static_assets.test.ts | 0 .../src/static_assets/static_assets.ts | 0 .../src/static_assets/util.ts | 0 .../http/server-internal}/src/types.ts | 0 .../http/server-internal}/tsconfig.json | 2 +- .../packages/http/server-utils}/README.md | 0 .../core/packages/http/server-utils}/index.ts | 0 .../packages/http/server-utils/jest.config.js | 14 + .../packages/http/server-utils}/kibana.jsonc | 0 .../packages/http/server-utils}/package.json | 0 .../http/server-utils}/src/request.ts | 0 .../packages/http/server-utils}/tsconfig.json | 2 +- .../core/packages/http/server}/README.md | 0 .../core/packages/http/server}/index.ts | 0 .../core/packages/http/server}/jest.config.js | 4 +- .../core/packages/http/server}/kibana.jsonc | 0 .../core/packages/http/server}/package.json | 0 .../packages/http/server}/src/auth_headers.ts | 0 .../packages/http/server}/src/auth_state.ts | 0 .../packages/http/server}/src/base_path.ts | 0 .../core/packages/http/server}/src/csp.ts | 0 .../packages/http/server}/src/elu_monitor.ts | 0 .../packages/http/server}/src/external_url.ts | 0 .../http/server}/src/http_contract.ts | 0 .../http/server}/src/lifecycle/auth.ts | 0 .../http/server}/src/lifecycle/index.ts | 0 .../server}/src/lifecycle/on_post_auth.ts | 0 .../http/server}/src/lifecycle/on_pre_auth.ts | 0 .../server}/src/lifecycle/on_pre_response.ts | 0 .../server}/src/lifecycle/on_pre_routing.ts | 0 .../server}/src/router/context_container.ts | 0 .../server}/src/router/context_provider.ts | 0 .../http/server}/src/router/headers.ts | 0 .../packages/http/server}/src/router/index.ts | 0 .../http/server}/src/router/raw_request.ts | 0 .../http/server}/src/router/request.ts | 0 .../server}/src/router/request_handler.ts | 0 .../src/router/request_handler_context.ts | 0 .../http/server}/src/router/response.test.ts | 0 .../http/server}/src/router/response.ts | 0 .../server}/src/router/response_factory.ts | 0 .../packages/http/server}/src/router/route.ts | 0 .../server}/src/router/route_validator.ts | 0 .../http/server}/src/router/router.ts | 0 .../http/server}/src/router/socket.ts | 0 .../http/server}/src/router/utils.test.ts | 0 .../packages/http/server}/src/router/utils.ts | 0 .../http/server}/src/session_storage.ts | 0 .../http/server}/src/static_assets.ts | 0 .../http/server}/src/versioning/README.md | 0 .../http/server}/src/versioning/index.ts | 0 .../http/server}/src/versioning/types.ts | 0 .../core/packages/http/server}/tsconfig.json | 2 +- .../packages/i18n/browser-internal}/README.md | 0 .../packages/i18n/browser-internal}/index.ts | 0 .../i18n/browser-internal/jest.config.js | 14 + .../i18n/browser-internal}/kibana.jsonc | 0 .../i18n/browser-internal}/package.json | 0 .../__snapshots__/i18n_service.test.tsx.snap | 0 .../src/i18n_eui_mapping.test.ts | 0 .../src/i18n_eui_mapping.tsx | 0 .../src/i18n_service.test.tsx | 0 .../browser-internal}/src/i18n_service.tsx | 0 .../i18n/browser-internal}/tsconfig.json | 2 +- .../core/packages/i18n/browser}/README.md | 0 .../core/packages/i18n/browser}/index.ts | 0 .../packages/i18n/browser}/jest.config.js | 4 +- .../core/packages/i18n/browser}/kibana.jsonc | 0 .../core/packages/i18n/browser}/package.json | 0 .../core/packages/i18n/browser}/src/types.ts | 0 .../core/packages/i18n/browser}/tsconfig.json | 2 +- .../packages/i18n/server-internal}/README.md | 0 .../packages/i18n/server-internal}/index.ts | 0 .../i18n/server-internal/jest.config.js | 14 + .../i18n/server-internal}/kibana.jsonc | 0 .../i18n/server-internal}/package.json | 0 .../i18n/server-internal}/src/constants.ts | 0 .../src/get_kibana_translation_files.test.ts | 0 .../src/get_kibana_translation_files.ts | 0 .../src/get_translation_paths.test.mocks.ts | 0 .../src/get_translation_paths.test.ts | 0 .../src/get_translation_paths.ts | 0 .../i18n/server-internal}/src/i18n_config.ts | 0 .../src/i18n_service.test.mocks.ts | 0 .../server-internal}/src/i18n_service.test.ts | 0 .../i18n/server-internal}/src/i18n_service.ts | 0 .../i18n/server-internal}/src/index.ts | 0 .../server-internal}/src/init_translations.ts | 0 .../i18n/server-internal}/src/routes/index.ts | 0 .../src/routes/translations.test.ts | 0 .../src/routes/translations.ts | 0 .../i18n/server-internal}/tsconfig.json | 2 +- .../core/packages/i18n/server}/README.md | 0 .../core/packages/i18n/server}/index.ts | 0 .../core/packages/i18n/server}/jest.config.js | 4 +- .../core/packages/i18n/server}/kibana.jsonc | 0 .../core/packages/i18n/server}/package.json | 0 .../core/packages/i18n/server}/src/types.ts | 0 src/core/packages/i18n/server/tsconfig.json | 16 + .../browser-internal}/README.md | 0 .../browser-internal}/index.ts | 0 .../browser-internal/jest.config.js | 14 + .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../src/injected_metadata_service.test.ts | 0 .../src/injected_metadata_service.ts | 0 .../browser-internal}/src/types.ts | 0 .../browser-internal}/tsconfig.json | 2 +- .../common-internal}/README.md | 0 .../common-internal}/index.ts | 0 .../common-internal}/jest.config.js | 4 +- .../common-internal}/kibana.jsonc | 0 .../common-internal}/package.json | 0 .../common-internal}/src/types.ts | 0 .../common-internal}/tsconfig.json | 2 +- .../integrations/browser-internal}/README.md | 0 .../integrations/browser-internal}/index.ts | 0 .../browser-internal/jest.config.js | 14 + .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../src/integrations_service.test.mocks.ts | 0 .../src/integrations_service.test.ts | 0 .../src/integrations_service.ts | 0 .../browser-internal}/src/moment/index.ts | 0 .../src/moment/moment_service.test.mocks.ts | 0 .../src/moment/moment_service.test.ts | 0 .../src/moment/moment_service.ts | 0 .../src/styles/disable_animations.css | 0 .../browser-internal}/src/styles/index.ts | 0 .../src/styles/styles_service.test.ts | 0 .../src/styles/styles_service.ts | 0 .../browser-internal}/tsconfig.json | 2 +- .../lifecycle/browser-internal}/README.md | 0 .../lifecycle/browser-internal}/index.ts | 0 .../browser-internal}/jest.config.js | 4 +- .../lifecycle/browser-internal}/kibana.jsonc | 0 .../lifecycle/browser-internal}/package.json | 0 .../lifecycle/browser-internal}/src/index.ts | 0 .../src/internal_core_setup.ts | 0 .../src/internal_core_start.ts | 0 .../lifecycle/browser-internal}/tsconfig.json | 2 +- .../packages/lifecycle/browser}/README.md | 0 .../core/packages/lifecycle/browser}/index.ts | 0 .../packages/lifecycle/browser/jest.config.js | 14 + .../packages/lifecycle/browser}/kibana.jsonc | 0 .../packages/lifecycle/browser}/package.json | 0 .../lifecycle/browser}/src/core_setup.ts | 0 .../lifecycle/browser}/src/core_start.ts | 0 .../packages/lifecycle/browser}/src/index.ts | 0 .../packages/lifecycle/browser}/tsconfig.json | 2 +- .../lifecycle/server-internal}/README.md | 0 .../lifecycle/server-internal}/index.ts | 0 .../lifecycle/server-internal/jest.config.js | 14 + .../lifecycle/server-internal}/kibana.jsonc | 0 .../lifecycle/server-internal}/package.json | 0 .../lifecycle/server-internal}/src/index.ts | 0 .../src/internal_core_preboot.ts | 0 .../src/internal_core_setup.ts | 0 .../src/internal_core_start.ts | 0 .../lifecycle/server-internal}/tsconfig.json | 2 +- .../core/packages/lifecycle/server}/README.md | 0 .../core/packages/lifecycle/server}/index.ts | 0 .../packages/lifecycle/server/jest.config.js | 14 + .../packages/lifecycle/server}/kibana.jsonc | 0 .../packages/lifecycle/server}/package.json | 0 .../lifecycle/server}/src/core_preboot.ts | 0 .../lifecycle/server}/src/core_setup.ts | 0 .../lifecycle/server}/src/core_start.ts | 0 .../packages/lifecycle/server}/src/index.ts | 0 .../packages/lifecycle/server}/tsconfig.json | 2 +- .../logging/browser-internal}/README.md | 0 .../logging/browser-internal}/index.ts | 0 .../logging/browser-internal}/jest.config.js | 4 +- .../logging/browser-internal}/kibana.jsonc | 0 .../logging/browser-internal}/package.json | 0 .../src/appenders/console_appender.test.ts | 0 .../src/appenders/console_appender.ts | 0 .../browser-internal}/src/appenders/index.ts | 0 .../logging/browser-internal}/src/index.ts | 0 .../__snapshots__/pattern_layout.test.ts.snap | 0 .../browser-internal}/src/layouts/index.ts | 0 .../src/layouts/pattern_layout.test.ts | 0 .../src/layouts/pattern_layout.ts | 0 .../browser-internal}/src/logger.test.ts | 0 .../logging/browser-internal}/src/logger.ts | 0 .../src/logging_system.test.ts | 0 .../browser-internal}/src/logging_system.ts | 0 .../logging/browser-internal}/src/types.ts | 0 .../logging/browser-internal}/tsconfig.json | 2 +- .../logging/common-internal}/README.md | 0 .../logging/common-internal}/index.ts | 0 .../logging/common-internal/jest.config.js | 14 + .../logging/common-internal}/kibana.jsonc | 0 .../logging/common-internal}/package.json | 0 .../common-internal}/src/browser_config.ts | 0 .../logging/common-internal}/src/index.ts | 0 .../__snapshots__/pattern_layout.test.ts.snap | 0 .../src/layouts/conversions/date.ts | 0 .../src/layouts/conversions/index.ts | 0 .../src/layouts/conversions/level.ts | 0 .../src/layouts/conversions/logger.ts | 0 .../src/layouts/conversions/message.test.ts | 0 .../src/layouts/conversions/message.ts | 0 .../src/layouts/conversions/meta.ts | 0 .../src/layouts/conversions/types.ts | 0 .../common-internal}/src/layouts/index.ts | 0 .../src/layouts/pattern_layout.test.ts | 0 .../src/layouts/pattern_layout.ts | 0 .../common-internal}/src/logger.test.ts | 0 .../logging/common-internal}/src/logger.ts | 0 .../src/logger_context.test.ts | 0 .../common-internal}/src/logger_context.ts | 0 .../logging/common-internal}/tsconfig.json | 2 +- .../logging/server-internal}/README.md | 0 .../logging/server-internal}/index.ts | 0 .../logging/server-internal}/jest.config.js | 4 +- .../logging/server-internal}/kibana.jsonc | 0 .../logging/server-internal}/package.json | 0 .../__snapshots__/logging_system.test.ts.snap | 0 .../src/appenders/appenders.test.mocks.ts | 0 .../src/appenders/appenders.test.ts | 0 .../src/appenders/appenders.ts | 0 .../appenders/buffer/buffer_appender.test.ts | 0 .../src/appenders/buffer/buffer_appender.ts | 0 .../console/console_appender.test.ts | 0 .../src/appenders/console/console_appender.ts | 0 .../file/file_appender.test.mocks.ts | 0 .../src/appenders/file/file_appender.test.ts | 0 .../src/appenders/file/file_appender.ts | 0 .../src/appenders/rewrite/mocks.ts | 0 .../src/appenders/rewrite/policies/index.ts | 0 .../appenders/rewrite/policies/meta/index.ts | 0 .../rewrite/policies/meta/meta_policy.test.ts | 0 .../rewrite/policies/meta/meta_policy.ts | 0 .../src/appenders/rewrite/policies/policy.ts | 0 .../rewrite/rewrite_appender.test.mocks.ts | 0 .../rewrite/rewrite_appender.test.ts | 0 .../src/appenders/rewrite/rewrite_appender.ts | 0 .../src/appenders/rolling_file/mocks.ts | 0 .../appenders/rolling_file/policies/index.ts | 0 .../appenders/rolling_file/policies/policy.ts | 0 .../rolling_file/policies/size_limit/index.ts | 0 .../size_limit/size_limit_policy.test.ts | 0 .../policies/size_limit/size_limit_policy.ts | 0 .../get_next_rolling_time.test.ts | 0 .../time_interval/get_next_rolling_time.ts | 0 .../policies/time_interval/index.ts | 0 .../time_interval_policy.test.mocks.ts | 0 .../time_interval_policy.test.ts | 0 .../time_interval/time_interval_policy.ts | 0 .../policies/time_interval/utils.test.ts | 0 .../policies/time_interval/utils.ts | 0 .../retention/create_retention_policy.test.ts | 0 .../retention/create_retention_policy.ts | 0 .../appenders/rolling_file/retention/fs.ts | 0 .../appenders/rolling_file/retention/index.ts | 0 .../retention/retention_policy.test.mocks.ts | 0 .../retention/retention_policy.test.ts | 0 .../retention/retention_policy.ts | 0 .../retention/utils.test.mocks.ts | 0 .../rolling_file/retention/utils.test.ts | 0 .../appenders/rolling_file/retention/utils.ts | 0 .../rolling_file_appender.test.mocks.ts | 0 .../rolling_file_appender.test.ts | 0 .../rolling_file/rolling_file_appender.ts | 0 .../rolling_file/rolling_file_context.ts | 0 .../rolling_file/rolling_file_manager.ts | 0 .../rolling_file/strategies/index.ts | 0 .../rolling_file/strategies/numeric/index.ts | 0 .../numeric/numeric_strategy.test.mocks.ts | 0 .../numeric/numeric_strategy.test.ts | 0 .../strategies/numeric/numeric_strategy.ts | 0 .../numeric/pattern_matcher.test.ts | 0 .../strategies/numeric/pattern_matcher.ts | 0 .../numeric/rolling_tasks.test.mocks.ts | 0 .../strategies/numeric/rolling_tasks.test.ts | 0 .../strategies/numeric/rolling_tasks.ts | 0 .../strategies/numeric/utils.test.mocks.ts | 0 .../strategies/numeric/utils.test.ts | 0 .../rolling_file/strategies/numeric/utils.ts | 0 .../rolling_file/strategies/strategy.ts | 0 .../src/global_context/index.ts | 0 .../merge_global_context.test.ts | 0 .../global_context/merge_global_context.ts | 0 .../src/global_context/types.ts | 0 .../__snapshots__/json_layout.test.ts.snap | 0 .../__snapshots__/pattern_layout.test.ts.snap | 0 .../src/layouts/conversions/index.ts | 0 .../src/layouts/conversions/level.ts | 0 .../src/layouts/conversions/logger.ts | 0 .../src/layouts/conversions/pid.ts | 0 .../src/layouts/json_layout.test.ts | 0 .../src/layouts/json_layout.ts | 0 .../src/layouts/layouts.test.ts | 0 .../server-internal}/src/layouts/layouts.ts | 0 .../src/layouts/pattern_layout.test.ts | 0 .../src/layouts/pattern_layout.ts | 0 .../server-internal}/src/logger.test.ts | 0 .../logging/server-internal}/src/logger.ts | 0 .../src/logger_adapter.test.ts | 0 .../server-internal}/src/logger_adapter.ts | 0 .../src/logging_config.test.ts | 0 .../server-internal}/src/logging_config.ts | 0 .../src/logging_service.test.ts | 0 .../server-internal}/src/logging_service.ts | 0 .../src/logging_system.test.mocks.ts | 0 .../src/logging_system.test.ts | 0 .../server-internal}/src/logging_system.ts | 0 .../logging/server-internal}/tsconfig.json | 2 +- .../core/packages/logging/server}/README.md | 0 .../core/packages/logging/server}/index.ts | 0 .../packages/logging/server}/jest.config.js | 4 +- .../packages/logging/server}/kibana.jsonc | 0 .../packages/logging/server}/package.json | 0 .../logging/server}/src/appenders/console.ts | 0 .../logging/server}/src/appenders/file.ts | 0 .../logging/server}/src/appenders/index.ts | 0 .../logging/server}/src/appenders/rewrite.ts | 0 .../server}/src/appenders/rolling_file.ts | 0 .../packages/logging/server}/src/contracts.ts | 0 .../packages/logging/server}/src/layout.ts | 0 .../packages/logging/server}/src/logger.ts | 0 .../packages/logging/server}/tsconfig.json | 2 +- .../collectors-server-internal}/README.md | 0 .../collectors-server-internal}/index.ts | 0 .../jest.config.js | 4 +- .../collectors-server-internal}/kibana.jsonc | 0 .../collectors-server-internal}/package.json | 0 .../src/__mocks__/perf_hooks.ts | 0 .../src/cgroup/cgroup.test.ts | 0 .../src/cgroup/cgroup.ts | 0 .../src/cgroup/constants.ts | 0 .../src/cgroup/gather_info.test.ts | 0 .../src/cgroup/gather_info.ts | 0 .../src/cgroup/index.ts | 0 .../src/cgroup/types.ts | 0 .../src/cgroup/v1.test.ts | 0 .../src/cgroup/v1.ts | 0 .../src/cgroup/v2.test.ts | 0 .../src/cgroup/v2.ts | 0 .../src/elasticsearch_client.test.ts | 0 .../src/elasticsearch_client.ts | 0 .../src/event_loop_delays_monitor.test.ts | 0 .../src/event_loop_delays_monitor.ts | 0 ...ent_loop_utilization_monitor.test.mocks.ts | 0 .../event_loop_utilization_monitor.test.ts | 0 .../src/event_loop_utilization_monitor.ts | 0 .../src/mocks_internal.ts | 0 .../src/os.test.mocks.ts | 0 .../src/os.test.ts | 0 .../collectors-server-internal}/src/os.ts | 0 .../src/process.test.mocks.ts | 0 .../src/process.test.ts | 0 .../src/process.ts | 0 .../collectors-server-internal}/src/server.ts | 0 .../collectors-server-internal}/tsconfig.json | 2 +- .../metrics/server-internal}/README.md | 0 .../metrics/server-internal}/index.ts | 0 .../metrics/server-internal/jest.config.js | 14 + .../metrics/server-internal}/kibana.jsonc | 0 .../metrics/server-internal}/package.json | 0 .../src/logging/get_ops_metrics_log.test.ts | 0 .../src/logging/get_ops_metrics_log.ts | 0 .../server-internal}/src/logging/index.ts | 0 .../src/metrics_service.test.mocks.ts | 0 .../src/metrics_service.test.ts | 0 .../server-internal}/src/metrics_service.ts | 0 .../server-internal}/src/ops_config.ts | 0 .../src/ops_metrics_collector.test.mocks.ts | 0 .../src/ops_metrics_collector.test.ts | 0 .../src/ops_metrics_collector.ts | 0 .../src/routes/elu_history.ts | 0 .../src/routes/history_window.test.ts | 0 .../src/routes/history_window.ts | 0 .../metrics/server-internal}/tsconfig.json | 2 +- .../core/packages/metrics/server}/README.md | 0 .../core/packages/metrics/server}/index.ts | 0 .../packages/metrics/server}/jest.config.js | 4 +- .../packages/metrics/server}/kibana.jsonc | 0 .../packages/metrics/server}/package.json | 0 .../metrics/server}/src/collectors.ts | 0 .../packages/metrics/server}/src/contracts.ts | 0 .../packages/metrics/server}/src/metrics.ts | 0 .../packages/metrics/server}/tsconfig.json | 2 +- .../mount-utils/browser-internal}/README.md | 0 .../mount-utils/browser-internal}/index.ts | 0 .../browser-internal/jest.config.js | 14 + .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../browser-internal}/src/mount.test.tsx | 0 .../browser-internal}/src/mount.tsx | 0 .../browser-internal}/src/mount_wrapper.scss | 0 .../browser-internal}/tsconfig.json | 2 +- .../packages/mount-utils/browser}/README.md | 0 .../packages/mount-utils/browser}/index.ts | 0 .../mount-utils/browser/jest.config.js | 14 + .../mount-utils/browser}/kibana.jsonc | 0 .../mount-utils/browser}/package.json | 0 .../mount-utils/browser}/src/mount_point.ts | 0 .../mount-utils/browser}/src/overlay_ref.ts | 0 .../mount-utils/browser}/tsconfig.json | 2 +- .../packages/node/server-internal}/README.md | 0 .../packages/node/server-internal}/index.ts | 0 .../node/server-internal/jest.config.js | 14 + .../node/server-internal}/kibana.jsonc | 0 .../node/server-internal}/package.json | 0 .../server-internal}/src/node_config.test.ts | 0 .../node/server-internal}/src/node_config.ts | 0 .../server-internal}/src/node_service.test.ts | 0 .../node/server-internal}/src/node_service.ts | 0 .../node/server-internal}/tsconfig.json | 2 +- .../core/packages/node/server}/README.md | 0 .../core/packages/node/server}/index.ts | 0 .../core/packages/node/server}/jest.config.js | 4 +- .../core/packages/node/server}/kibana.jsonc | 0 .../core/packages/node/server}/package.json | 0 .../core/packages/node/server}/src/types.ts | 0 src/core/packages/node/server/tsconfig.json | 16 + .../notifications/browser-internal}/README.md | 0 .../notifications/browser-internal}/index.ts | 0 .../browser-internal}/jest.config.js | 4 +- .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../src/notifications_service.ts | 0 .../deduplicate_toasts.test.tsx.snap | 0 .../__snapshots__/error_toast.test.tsx.snap | 0 .../toasts_service.test.tsx.snap | 0 .../src/toasts/deduplicate_toasts.test.tsx | 0 .../src/toasts/deduplicate_toasts.tsx | 0 .../src/toasts/error_toast.test.tsx | 0 .../src/toasts/error_toast.tsx | 0 .../src/toasts/global_toast_list.test.tsx | 0 .../src/toasts/global_toast_list.tsx | 0 .../browser-internal}/src/toasts/index.ts | 0 .../src/toasts/telemetry/event_reporter.ts | 0 .../src/toasts/telemetry/event_types.ts | 0 .../src/toasts/telemetry/index.ts | 0 .../src/toasts/toasts_api.test.ts | 0 .../src/toasts/toasts_api.tsx | 0 .../src/toasts/toasts_service.test.mocks.ts | 0 .../src/toasts/toasts_service.test.tsx | 0 .../src/toasts/toasts_service.tsx | 0 .../browser-internal}/tsconfig.json | 2 +- .../packages/notifications/browser}/README.md | 0 .../packages/notifications/browser}/index.ts | 0 .../notifications/browser/jest.config.js | 14 + .../notifications/browser}/kibana.jsonc | 0 .../notifications/browser}/package.json | 0 .../notifications/browser}/src/contracts.ts | 0 .../notifications/browser}/src/types.ts | 0 .../notifications/browser}/tsconfig.json | 2 +- .../overlays/browser-internal}/README.md | 0 .../overlays/browser-internal}/index.ts | 0 .../overlays/browser-internal/jest.config.js | 14 + .../overlays/browser-internal}/kibana.jsonc | 0 .../overlays/browser-internal}/package.json | 0 .../src/banners/banners_list.test.tsx | 0 .../src/banners/banners_list.tsx | 0 .../src/banners/banners_service.test.mocks.ts | 0 .../src/banners/banners_service.test.ts | 0 .../src/banners/banners_service.tsx | 0 .../browser-internal}/src/banners/index.ts | 0 .../src/banners/priority_map.test.ts | 0 .../src/banners/priority_map.ts | 0 .../src/banners/user_banner_service.test.ts | 0 .../src/banners/user_banner_service.tsx | 0 .../flyout_service.test.tsx.snap | 0 .../src/flyout/flyout_service.test.tsx | 0 .../src/flyout/flyout_service.tsx | 0 .../browser-internal}/src/flyout/index.ts | 0 .../__snapshots__/modal_service.test.tsx.snap | 0 .../browser-internal}/src/modal/index.ts | 0 .../src/modal/modal_service.test.tsx | 0 .../src/modal/modal_service.tsx | 0 .../src/overlay.test.mocks.ts | 0 .../browser-internal}/src/overlay_service.ts | 0 .../overlays/browser-internal}/tsconfig.json | 4 +- .../core/packages/overlays/browser}/README.md | 0 .../core/packages/overlays/browser}/index.ts | 0 .../packages/overlays/browser}/jest.config.js | 4 +- .../packages/overlays/browser}/kibana.jsonc | 0 .../packages/overlays/browser}/package.json | 0 .../packages/overlays/browser}/src/banners.ts | 0 .../packages/overlays/browser}/src/flyout.ts | 0 .../packages/overlays/browser}/src/modal.ts | 0 .../overlays/browser}/src/overlays.ts | 0 .../packages/overlays/browser}/tsconfig.json | 2 +- .../plugins/base-server-internal}/README.md | 0 .../plugins/base-server-internal}/index.ts | 0 .../base-server-internal/jest.config.js | 14 + .../base-server-internal}/kibana.jsonc | 0 .../base-server-internal}/package.json | 0 .../base-server-internal}/src/index.ts | 0 .../base-server-internal}/src/types.ts | 0 .../base-server-internal}/tsconfig.json | 2 +- .../plugins/browser-internal}/README.md | 0 .../plugins/browser-internal}/index.ts | 0 .../plugins/browser-internal/jest.config.js | 14 + .../plugins/browser-internal}/kibana.jsonc | 0 .../plugins/browser-internal}/package.json | 0 .../plugins/browser-internal}/src/index.ts | 0 .../src/plugin.test.mocks.ts | 0 .../browser-internal}/src/plugin.test.ts | 0 .../plugins/browser-internal}/src/plugin.ts | 0 .../src/plugin_context.test.ts | 0 .../browser-internal}/src/plugin_context.ts | 0 .../src/plugin_contract_resolver.test.ts | 0 .../src/plugin_contract_resolver.ts | 0 .../src/plugin_reader.test.ts | 0 .../browser-internal}/src/plugin_reader.ts | 0 .../src/plugins_service.test.mocks.ts | 0 .../src/plugins_service.test.ts | 0 .../browser-internal}/src/plugins_service.ts | 0 .../src/test_helpers/index.ts | 0 .../src/test_helpers/mocks.ts | 0 .../plugin_contract_resolver.mock.ts | 0 .../plugins/browser-internal}/tsconfig.json | 2 +- .../core/packages/plugins/browser}/README.md | 0 .../core/packages/plugins/browser}/index.ts | 0 .../packages/plugins/browser}/jest.config.js | 4 +- .../packages/plugins/browser}/kibana.jsonc | 0 .../packages/plugins/browser}/package.json | 0 .../packages/plugins/browser}/src/index.ts | 0 .../packages/plugins/browser}/src/plugin.ts | 0 .../browser}/src/plugin_initializer.ts | 0 .../packages/plugins/browser}/tsconfig.json | 2 +- .../plugins/contracts-browser}/README.md | 0 .../plugins/contracts-browser}/index.ts | 0 .../plugins/contracts-browser/jest.config.js | 14 + .../plugins/contracts-browser}/kibana.jsonc | 0 .../plugins/contracts-browser}/package.json | 0 .../contracts-browser}/src/contracts.ts | 0 .../plugins/contracts-browser}/tsconfig.json | 2 +- .../plugins/contracts-server}/README.md | 0 .../plugins/contracts-server}/index.ts | 0 .../plugins/contracts-server}/jest.config.js | 4 +- .../plugins/contracts-server}/kibana.jsonc | 0 .../plugins/contracts-server}/package.json | 0 .../contracts-server}/src/contracts.ts | 0 .../plugins/contracts-server}/tsconfig.json | 2 +- .../plugins/server-internal}/README.md | 0 .../plugins/server-internal}/index.ts | 0 .../plugins/server-internal/jest.config.js | 14 + .../plugins/server-internal}/kibana.jsonc | 0 .../plugins/server-internal}/package.json | 0 .../plugins/server-internal}/src/constants.ts | 0 .../src/create_browser_config.test.ts | 0 .../src/create_browser_config.ts | 0 .../server-internal}/src/discovery/index.ts | 0 .../src/discovery/is_camel_case.test.ts | 0 .../src/discovery/is_camel_case.ts | 0 .../src/discovery/plugin_discovery_error.ts | 0 ...lugin_manifest_from_plugin_package.test.ts | 0 .../plugin_manifest_from_plugin_package.ts | 0 .../plugin_manifest_parser.test.mocks.ts | 0 .../discovery/plugin_manifest_parser.test.ts | 0 .../src/discovery/plugin_manifest_parser.ts | 0 .../discovery/plugins_discovery.test.mocks.ts | 0 .../src/discovery/plugins_discovery.test.ts | 0 .../src/discovery/plugins_discovery.ts | 0 .../scan_plugin_search_paths.test.ts | 0 .../src/discovery/scan_plugin_search_paths.ts | 0 .../plugins/server-internal}/src/index.ts | 0 .../src/legacy_config.test.ts | 0 .../server-internal}/src/legacy_config.ts | 0 .../server-internal}/src/plugin.test.ts | 0 .../plugins/server-internal}/src/plugin.ts | 0 .../src/plugin_context.test.ts | 0 .../server-internal}/src/plugin_context.ts | 0 .../src/plugin_contract_resolver.test.ts | 0 .../src/plugin_contract_resolver.ts | 0 .../src/plugins_config.test.ts | 0 .../server-internal}/src/plugins_config.ts | 0 .../src/plugins_service.test.mocks.ts | 0 .../src/plugins_service.test.ts | 0 .../server-internal}/src/plugins_service.ts | 0 .../src/plugins_system.test.mocks.ts | 0 .../src/plugins_system.test.ts | 0 .../server-internal}/src/plugins_system.ts | 0 ...create_core_context_config_service.mock.ts | 0 .../src/test_helpers/index.ts | 0 .../plugin_contract_resolver.mock.ts | 0 .../server-internal}/src/types.test.ts | 0 .../plugins/server-internal}/src/types.ts | 0 .../plugins/server-internal}/tsconfig.json | 2 +- .../core/packages/plugins/server}/README.md | 0 .../core/packages/plugins/server}/index.ts | 0 .../packages/plugins/server}/jest.config.js | 4 +- .../packages/plugins/server}/kibana.jsonc | 0 .../packages/plugins/server}/package.json | 0 .../packages/plugins/server}/src/index.ts | 0 .../server}/src/shared_global_config.ts | 0 .../packages/plugins/server}/src/types.ts | 0 .../packages/plugins/server}/tsconfig.json | 2 +- .../preboot/server-internal}/README.md | 0 .../preboot/server-internal}/index.ts | 0 .../preboot/server-internal/jest.config.js | 14 + .../preboot/server-internal}/kibana.jsonc | 0 .../preboot/server-internal}/package.json | 0 .../src/preboot_service.test.ts | 0 .../server-internal}/src/preboot_service.ts | 0 .../preboot/server-internal}/src/types.ts | 0 .../preboot/server-internal}/tsconfig.json | 2 +- .../core/packages/preboot/server}/README.md | 0 .../core/packages/preboot/server}/index.ts | 0 .../packages/preboot/server/jest.config.js | 14 + .../packages/preboot/server}/kibana.jsonc | 0 .../packages/preboot/server}/package.json | 0 .../packages/preboot/server}/src/contracts.ts | 0 .../packages/preboot/server/tsconfig.json | 16 + .../rendering/browser-internal}/README.md | 0 .../rendering/browser-internal}/index.ts | 0 .../rendering/browser-internal/jest.config.js | 14 + .../rendering/browser-internal}/kibana.jsonc | 0 .../rendering/browser-internal}/package.json | 0 .../src/app_containers.test.tsx | 0 .../browser-internal}/src/app_containers.tsx | 0 .../rendering/browser-internal}/src/index.ts | 0 .../src/rendering_service.test.tsx | 0 .../src/rendering_service.tsx | 0 .../rendering/browser-internal}/tsconfig.json | 2 +- .../packages/rendering/browser}/README.md | 0 .../core/packages/rendering/browser}/index.ts | 0 .../packages/rendering/browser/jest.config.js | 14 + .../packages/rendering/browser}/kibana.jsonc | 0 .../packages/rendering/browser}/package.json | 0 .../packages/rendering/browser}/src/index.ts | 0 .../browser}/src/use_app_fixed_viewport.ts | 0 .../packages/rendering/browser}/tsconfig.json | 2 +- .../rendering/server-internal}/README.md | 0 .../rendering/server-internal}/index.ts | 0 .../rendering/server-internal/jest.config.js | 14 + .../rendering/server-internal}/kibana.jsonc | 0 .../rendering/server-internal}/package.json | 0 .../rendering_service.test.ts.snap | 0 .../render_template.test.ts.snap | 0 .../bootstrap_renderer.test.mocks.ts | 0 .../src/bootstrap/bootstrap_renderer.test.ts | 0 .../src/bootstrap/bootstrap_renderer.ts | 0 .../bootstrap/get_js_dependency_paths.test.ts | 0 .../src/bootstrap/get_js_dependency_paths.ts | 0 .../bootstrap/get_plugin_bundle_paths.test.ts | 0 .../src/bootstrap/get_plugin_bundle_paths.ts | 0 .../src/bootstrap/get_theme_tag.test.ts | 0 .../src/bootstrap/get_theme_tag.ts | 0 .../server-internal}/src/bootstrap/index.ts | 0 .../register_bootstrap_route.test.ts | 0 .../src/bootstrap/register_bootstrap_route.ts | 0 .../src/bootstrap/render_template.test.ts | 0 .../src/bootstrap/render_template.ts | 0 .../src/filter_ui_plugins.test.ts | 0 .../server-internal}/src/filter_ui_plugins.ts | 0 .../src/get_apm_config.test.mocks.ts | 0 .../src/get_apm_config.test.ts | 0 .../server-internal}/src/get_apm_config.ts | 0 .../rendering/server-internal}/src/index.ts | 0 .../server-internal}/src/internal_types.ts | 0 .../server-internal}/src/render_utils.test.ts | 0 .../server-internal}/src/render_utils.ts | 0 .../src/rendering_service.test.mocks.ts | 0 .../src/rendering_service.test.ts | 0 .../src/rendering_service.tsx | 0 .../src/test_helpers/params.ts | 0 .../src/test_helpers/rendering_service.ts | 0 .../rendering/server-internal}/src/types.ts | 0 .../server-internal}/src/views/fonts.tsx | 0 .../server-internal}/src/views/index.ts | 0 .../server-internal}/src/views/logo.tsx | 0 .../server-internal}/src/views/styles.tsx | 0 .../server-internal}/src/views/template.tsx | 0 .../rendering/server-internal}/tsconfig.json | 2 +- .../packages/root/browser-internal}/README.md | 0 .../packages/root/browser-internal}/index.ts | 0 .../root/browser-internal/jest.config.js | 14 + .../root/browser-internal}/kibana.jsonc | 0 .../root/browser-internal}/package.json | 0 .../src/apm_resource_counter.ts | 0 .../browser-internal}/src/apm_system.test.ts | 0 .../root/browser-internal}/src/apm_system.ts | 0 .../src/core_system.test.mocks.ts | 0 .../browser-internal}/src/core_system.test.ts | 0 .../root/browser-internal}/src/core_system.ts | 0 .../root/browser-internal}/src/events.ts | 0 .../src/fetch_optional_memory_info.test.ts | 0 .../src/fetch_optional_memory_info.ts | 0 .../root/browser-internal}/src/index.ts | 0 .../src/kbn_bootstrap.test.mocks.ts | 0 .../src/kbn_bootstrap.test.ts | 0 .../browser-internal}/src/kbn_bootstrap.ts | 0 .../root/browser-internal}/tsconfig.json | 2 +- .../packages/root/server-internal}/README.md | 0 .../packages/root/server-internal}/index.ts | 0 .../root/server-internal/jest.config.js | 14 + .../root/server-internal}/kibana.jsonc | 0 .../root/server-internal}/package.json | 0 .../root/server-internal}/src/bootstrap.ts | 0 .../root/server-internal}/src/constants.ts | 0 .../root/server-internal}/src/core_config.ts | 0 .../root/server-internal}/src/events/index.ts | 0 .../src/events/kibana_started.ts | 0 .../root/server-internal}/src/index.ts | 0 .../src/register_service_config.ts | 0 .../src/root/__snapshots__/index.test.ts.snap | 0 .../src/root/elastic_config.ts | 0 .../src/root/index.test.mocks.ts | 0 .../server-internal}/src/root/index.test.ts | 0 .../root/server-internal}/src/root/index.ts | 0 .../src/root/serverless_config.ts | 0 .../server-internal}/src/server.test.mocks.ts | 0 .../root/server-internal}/src/server.test.ts | 0 .../root/server-internal}/src/server.ts | 0 .../root/server-internal}/tsconfig.json | 2 +- .../saved-objects/api-browser}/README.md | 0 .../saved-objects/api-browser}/index.ts | 0 .../saved-objects/api-browser/jest.config.js | 14 + .../saved-objects/api-browser}/kibana.jsonc | 0 .../saved-objects/api-browser}/package.json | 0 .../api-browser}/src/apis/base.ts | 0 .../api-browser}/src/apis/bulk_create.ts | 0 .../api-browser}/src/apis/bulk_delete.ts | 0 .../api-browser}/src/apis/bulk_resolve.ts | 0 .../api-browser}/src/apis/bulk_update.ts | 0 .../api-browser}/src/apis/create.ts | 0 .../api-browser}/src/apis/delete.ts | 0 .../api-browser}/src/apis/find.ts | 0 .../api-browser}/src/apis/index.ts | 0 .../api-browser}/src/apis/resolve.ts | 0 .../api-browser}/src/apis/update.ts | 0 .../api-browser}/src/saved_objects_client.ts | 0 .../api-browser}/src/simple_saved_object.ts | 0 .../saved-objects/api-browser}/tsconfig.json | 2 +- .../api-server-internal}/README.md | 0 .../api-server-internal}/index.ts | 0 .../api-server-internal/jest.config.js | 14 + .../api-server-internal}/kibana.jsonc | 0 .../api-server-internal}/package.json | 0 .../api-server-internal}/src/index.ts | 0 .../src/lib/apis/bulk_create.test.ts | 0 .../src/lib/apis/bulk_create.ts | 0 .../src/lib/apis/bulk_delete.test.ts | 0 .../src/lib/apis/bulk_delete.ts | 0 .../lib/apis/bulk_get.isolated.test.mocks.ts | 0 .../src/lib/apis/bulk_get.isolated.test.ts | 0 .../src/lib/apis/bulk_get.test.ts | 0 .../src/lib/apis/bulk_get.ts | 0 .../src/lib/apis/bulk_resolve.test.ts | 0 .../src/lib/apis/bulk_resolve.ts | 0 .../src/lib/apis/bulk_update.test.ts | 0 .../src/lib/apis/bulk_update.ts | 0 .../src/lib/apis/check_conflicts.test.ts | 0 .../src/lib/apis/check_conflicts.ts | 0 .../collect_multinamespace_references.test.ts | 0 .../collect_multinamespaces_references.ts | 0 .../src/lib/apis/create.test.ts | 0 .../src/lib/apis/create.ts | 0 .../src/lib/apis/delete.test.ts | 0 .../src/lib/apis/delete.ts | 0 .../src/lib/apis/delete_by_namespace.test.ts | 0 .../src/lib/apis/delete_by_namespace.ts | 0 .../src/lib/apis/find.isolated.test.mocks.ts | 0 .../src/lib/apis/find.isolated.test.ts | 0 .../src/lib/apis/find.test.ts | 0 .../api-server-internal}/src/lib/apis/find.ts | 0 .../src/lib/apis/get.isolated.test.mocks.ts | 0 .../src/lib/apis/get.isolated.test.ts | 0 .../src/lib/apis/get.test.ts | 0 .../api-server-internal}/src/lib/apis/get.ts | 0 .../src/lib/apis/helpers/common.ts | 0 .../src/lib/apis/helpers/encryption.ts | 0 .../src/lib/apis/helpers/index.ts | 0 .../src/lib/apis/helpers/migration.test.ts | 0 .../src/lib/apis/helpers/migration.ts | 0 .../src/lib/apis/helpers/preflight_check.ts | 0 .../src/lib/apis/helpers/serializer.ts | 0 .../src/lib/apis/helpers/user.ts | 0 .../src/lib/apis/helpers/validation.test.ts | 0 .../src/lib/apis/helpers/validation.ts | 0 .../lib/apis/helpers/validation_fixtures.ts | 0 .../src/lib/apis/increment_counter.test.ts | 0 .../src/lib/apis/increment_counter.ts | 0 .../src/lib/apis/index.ts | 0 ...ct_multi_namespace_references.test.mock.ts | 0 ...collect_multi_namespace_references.test.ts | 0 .../collect_multi_namespace_references.ts | 0 .../delete_legacy_url_aliases.test.mock.ts | 0 .../delete_legacy_url_aliases.test.ts | 0 .../internals/delete_legacy_url_aliases.ts | 0 .../internals/find_legacy_url_aliases.test.ts | 0 .../apis/internals/find_legacy_url_aliases.ts | 0 .../internals/increment_counter_internal.ts | 0 .../src/lib/apis/internals/index.ts | 0 .../internal_bulk_resolve.test.mock.ts | 0 .../internals/internal_bulk_resolve.test.ts | 0 .../apis/internals/internal_bulk_resolve.ts | 0 .../preflight_check_for_create.test.mock.ts | 0 .../preflight_check_for_create.test.ts | 0 .../internals/preflight_check_for_create.ts | 0 .../repository_bulk_delete_internal_types.ts | 0 .../update_objects_spaces.test.mock.ts | 0 .../internals/update_objects_spaces.test.ts | 0 .../apis/internals/update_objects_spaces.ts | 0 .../src/lib/apis/open_point_in_time.test.ts | 0 .../src/lib/apis/open_point_in_time.ts | 0 .../src/lib/apis/remove_references_to.test.ts | 0 .../src/lib/apis/remove_references_to.ts | 0 .../src/lib/apis/resolve.test.ts | 0 .../src/lib/apis/resolve.ts | 0 .../src/lib/apis/types.ts | 0 .../src/lib/apis/update.test.ts | 0 .../src/lib/apis/update.ts | 0 .../lib/apis/update_objects_spaces.test.ts | 0 .../src/lib/apis/update_objects_spaces.ts | 0 .../src/lib/apis/utils/either.ts | 0 .../src/lib/apis/utils/es_responses.ts | 0 .../utils/find_shared_origin_objects.test.ts | 0 .../apis/utils/find_shared_origin_objects.ts | 0 .../src/lib/apis/utils/index.ts | 0 .../src/lib/apis/utils/internal_utils.test.ts | 0 .../src/lib/apis/utils/internal_utils.ts | 0 .../lib/apis/utils/merge_for_update.test.ts | 0 .../src/lib/apis/utils/merge_for_update.ts | 0 .../api-server-internal}/src/lib/constants.ts | 0 .../api-server-internal}/src/lib/index.ts | 0 .../src/lib/point_in_time_finder.test.ts | 0 .../src/lib/point_in_time_finder.ts | 0 .../repository.encryption_extension.test.ts | 0 .../lib/repository.security_extension.test.ts | 0 .../lib/repository.spaces_extension.test.ts | 0 .../src/lib/repository.test.mock.ts | 0 .../src/lib/repository.test.ts | 0 .../src/lib/repository.ts | 0 .../lib/repository_create_repository.test.ts | 0 .../src/lib/repository_es_client.test.mock.ts | 0 .../src/lib/repository_es_client.test.ts | 0 .../src/lib/repository_es_client.ts | 0 .../src/lib/scoped_client_provider.test.ts | 0 .../src/lib/scoped_client_provider.ts | 0 .../aggregations/aggs_types/bucket_aggs.ts | 0 .../aggregations/aggs_types/common_schemas.ts | 0 .../search/aggregations/aggs_types/index.ts | 0 .../aggregations/aggs_types/metrics_aggs.ts | 0 .../aggregations/aggs_types/pipeline_aggs.ts | 0 .../aggregations/aggs_types/schemas.test.ts | 0 .../src/lib/search/aggregations/index.ts | 0 .../search/aggregations/validation.test.ts | 0 .../src/lib/search/aggregations/validation.ts | 0 .../aggregations/validation_utils.test.ts | 0 .../search/aggregations/validation_utils.ts | 0 .../src/lib/search/index.ts | 0 .../__snapshots__/sorting_params.test.ts.snap | 0 .../src/lib/search/search_dsl/index.ts | 0 .../lib/search/search_dsl/pit_params.test.ts | 0 .../src/lib/search/search_dsl/pit_params.ts | 0 .../search/search_dsl/query_params.test.ts | 0 .../search_dsl/query_params.tests.mocks.ts | 0 .../src/lib/search/search_dsl/query_params.ts | 0 .../search_dsl/references_filter.test.ts | 0 .../search/search_dsl/references_filter.ts | 0 .../lib/search/search_dsl/search_dsl.test.ts | 0 .../src/lib/search/search_dsl/search_dsl.ts | 0 .../search/search_dsl/sorting_params.test.ts | 0 .../lib/search/search_dsl/sorting_params.ts | 0 .../src/lib/search/utils/filter_utils.test.ts | 0 .../src/lib/search/utils/filter_utils.ts | 0 .../src/lib/search/utils/index.ts | 0 .../src/lib/utils/create_helpers.ts | 0 .../src/lib/utils/decorate_es_error.test.ts | 0 .../src/lib/utils/decorate_es_error.ts | 0 .../src/lib/utils/included_fields.test.ts | 0 .../src/lib/utils/included_fields.ts | 0 .../src/lib/utils/index.ts | 0 .../src/lib/utils/update_utils.ts | 0 .../src/mocks/api_context.mock.ts | 0 .../src/mocks/api_helpers.mocks.ts | 0 .../api-server-internal}/src/mocks/helpers.ts | 0 .../api-server-internal}/src/mocks/index.ts | 0 .../src/mocks/kibana_migrator.mock.ts | 0 .../src/mocks/migrator.mock.ts | 0 .../src/mocks/point_in_time_finder.mock.ts | 0 .../src/mocks/repository.mock.ts | 0 .../mocks/saved_objects_extensions.mock.ts | 0 .../src/saved_objects_client.test.ts | 0 .../src/saved_objects_client.ts | 0 .../test_helpers/repository.test.common.ts | 0 .../api-server-internal}/tsconfig.json | 2 +- .../saved-objects/api-server}/README.md | 0 .../saved-objects/api-server}/index.ts | 0 .../saved-objects/api-server}/jest.config.js | 4 +- .../saved-objects/api-server}/kibana.jsonc | 0 .../saved-objects/api-server}/package.json | 0 .../api-server}/src/apis/base.ts | 0 .../api-server}/src/apis/bulk_create.ts | 0 .../api-server}/src/apis/bulk_delete.ts | 0 .../api-server}/src/apis/bulk_get.ts | 0 .../api-server}/src/apis/bulk_resolve.ts | 0 .../api-server}/src/apis/bulk_update.ts | 0 .../api-server}/src/apis/check_conflicts.ts | 0 .../src/apis/close_point_in_time.ts | 0 .../apis/collect_multinamespace_references.ts | 0 .../api-server}/src/apis/create.ts | 0 .../src/apis/create_point_in_time_finder.ts | 0 .../api-server}/src/apis/delete.ts | 0 .../src/apis/delete_by_namespace.ts | 0 .../api-server}/src/apis/find.ts | 0 .../saved-objects/api-server}/src/apis/get.ts | 0 .../api-server}/src/apis/increment_counter.ts | 0 .../api-server}/src/apis/index.ts | 0 .../src/apis/open_point_in_time_for_type.ts | 0 .../src/apis/remove_references_to.ts | 0 .../api-server}/src/apis/resolve.ts | 0 .../api-server}/src/apis/update.ts | 0 .../src/apis/update_objects_spaces.ts | 0 .../api-server}/src/saved_objects_client.ts | 0 .../src/saved_objects_repository.ts | 2 +- .../saved-objects/api-server}/tsconfig.json | 2 +- .../base-server-internal}/README.md | 0 .../base-server-internal}/index.ts | 0 .../base-server-internal}/jest.config.js | 4 +- .../base-server-internal}/kibana.jsonc | 0 .../base-server-internal}/package.json | 0 .../base-server-internal}/src/constants.ts | 0 .../src/legacy_alias/constants.ts | 0 .../src/legacy_alias/index.ts | 0 .../src/legacy_alias/types.ts | 0 .../src/mappings/index.ts | 0 .../src/mappings/lib/get_property.test.ts | 0 .../src/mappings/lib/get_property.ts | 0 .../src/mappings/lib/get_root_properties.ts | 0 .../lib/get_root_properties_objects.test.ts | 0 .../lib/get_root_properties_objects.ts | 0 .../src/mappings/lib/get_types.ts | 0 .../src/mappings/lib/index.ts | 0 .../src/mappings/types.ts | 0 .../src/migration/document_migrator.ts | 0 .../src/migration/index.ts | 0 .../src/migration/kibana_migrator.ts | 0 .../aggregate_model_changes.test.ts | 0 .../model_version/aggregate_model_changes.ts | 0 .../backward_conversion_schema.test.ts | 0 .../backward_conversion_schema.ts | 0 .../model_version/build_transform_fn.test.ts | 0 .../src/model_version/build_transform_fn.ts | 0 .../src/model_version/constants.ts | 0 .../src/model_version/conversion.test.ts | 0 .../src/model_version/conversion.ts | 0 .../model_version/get_version_delta.test.ts | 0 .../src/model_version/get_version_delta.ts | 0 .../src/model_version/index.ts | 0 .../model_version_from_mappings.test.ts | 0 .../model_version_from_mappings.ts | 0 .../src/model_version/version_compare.test.ts | 0 .../src/model_version/version_compare.ts | 0 .../src/model_version/version_map.test.ts | 0 .../src/model_version/version_map.ts | 0 .../version_mapping_changes.test.ts | 0 .../model_version/version_mapping_changes.ts | 0 .../src/saved_objects_config.ts | 0 .../src/saved_objects_type_registry.test.ts | 0 .../src/saved_objects_type_registry.ts | 0 .../src/serialization/index.ts | 0 .../src/serialization/serializer.test.ts | 0 .../src/serialization/serializer.ts | 0 .../src/utils/get_field_list.test.ts | 0 .../src/utils/get_field_list.ts | 0 .../src/utils/get_index_for_type.test.ts | 0 .../src/utils/get_index_for_type.ts | 0 .../base-server-internal}/src/utils/index.ts | 0 .../src/utils/object_key.test.ts | 0 .../src/utils/object_key.ts | 0 .../src/validation/index.ts | 0 .../src/validation/schema.test.ts | 0 .../src/validation/schema.ts | 0 .../src/validation/validator.test.ts | 0 .../src/validation/validator.ts | 0 .../src/version/base64.ts | 0 .../version/decode_request_version.test.ts | 0 .../src/version/decode_request_version.ts | 0 .../src/version/decode_version.test.ts | 0 .../src/version/decode_version.ts | 0 .../src/version/encode_hit_version.test.ts | 0 .../src/version/encode_hit_version.ts | 0 .../src/version/encode_version.test.ts | 0 .../src/version/encode_version.ts | 0 .../src/version/index.ts | 0 .../base-server-internal}/tsconfig.json | 2 +- .../saved-objects/browser-internal}/README.md | 0 .../saved-objects/browser-internal}/index.ts | 0 .../browser-internal/jest.config.js | 14 + .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../src/saved_objects_client.test.ts | 0 .../src/saved_objects_client.ts | 0 .../src/saved_objects_service.ts | 0 .../src/simple_saved_object.test.ts | 0 .../src/simple_saved_object.ts | 0 .../browser-internal}/tsconfig.json | 2 +- .../packages/saved-objects/browser}/README.md | 0 .../packages/saved-objects/browser}/index.ts | 0 .../saved-objects/browser/jest.config.js | 14 + .../saved-objects/browser}/kibana.jsonc | 0 .../saved-objects/browser}/package.json | 0 .../saved-objects/browser}/src/contracts.ts | 0 .../saved-objects/browser}/tsconfig.json | 2 +- .../packages/saved-objects/common}/README.md | 0 .../packages/saved-objects/common}/index.ts | 0 .../saved-objects/common/jest.config.js | 14 + .../saved-objects/common}/kibana.jsonc | 0 .../saved-objects/common}/package.json | 0 .../common}/src/saved_objects.ts | 0 .../common}/src/saved_objects_imports.ts | 0 .../saved-objects/common}/src/server_types.ts | 0 .../saved-objects/common}/src/types.ts | 0 .../saved-objects/common/tsconfig.json | 16 + .../import-export-server-internal}/README.md | 0 .../import-export-server-internal}/index.ts | 0 .../jest.config.js | 14 + .../kibana.jsonc | 0 .../package.json | 0 .../export/apply_export_transforms.test.ts | 0 .../src/export/apply_export_transforms.ts | 0 .../collect_exported_objects.test.mocks.ts | 0 .../export/collect_exported_objects.test.ts | 0 .../src/export/collect_exported_objects.ts | 0 .../src/export/constants.ts | 0 .../src/export/errors.ts | 0 .../src/export/index.ts | 0 .../src/export/saved_objects_exporter.test.ts | 0 .../src/export/saved_objects_exporter.ts | 0 .../src/export/sort_objects.test.ts | 0 .../src/export/sort_objects.ts | 0 .../src/export/utils.test.ts | 0 .../src/export/utils.ts | 0 .../src/import/errors.ts | 0 .../import/import_saved_objects.test.mock.ts | 0 .../src/import/import_saved_objects.test.ts | 0 .../src/import/import_saved_objects.ts | 0 .../src/import/index.ts | 0 .../src/import/lib/check_conflicts.test.ts | 0 .../src/import/lib/check_conflicts.ts | 0 .../lib/check_origin_conflicts.test.mock.ts | 0 .../import/lib/check_origin_conflicts.test.ts | 0 .../src/import/lib/check_origin_conflicts.ts | 0 .../lib/check_reference_origins.test.mock.ts | 0 .../lib/check_reference_origins.test.ts | 0 .../src/import/lib/check_reference_origins.ts | 0 .../import/lib/collect_saved_objects.test.ts | 0 .../src/import/lib/collect_saved_objects.ts | 0 .../import/lib/create_limit_stream.test.ts | 0 .../src/import/lib/create_limit_stream.ts | 0 .../import/lib/create_objects_filter.test.ts | 0 .../src/import/lib/create_objects_filter.ts | 0 .../import/lib/create_saved_objects.test.ts | 0 .../src/import/lib/create_saved_objects.ts | 0 .../import/lib/execute_import_hooks.test.ts | 0 .../src/import/lib/execute_import_hooks.ts | 0 .../src/import/lib/extract_errors.test.ts | 0 .../src/import/lib/extract_errors.ts | 0 .../get_import_state_map_for_retries.test.ts | 0 .../lib/get_import_state_map_for_retries.ts | 0 .../import/lib/get_non_unique_entries.test.ts | 0 .../src/import/lib/get_non_unique_entries.ts | 0 .../src/import/lib/index.ts | 0 .../src/import/lib/regenerate_ids.test.ts | 0 .../src/import/lib/regenerate_ids.ts | 0 .../src/import/lib/split_overwrites.test.ts | 0 .../src/import/lib/split_overwrites.ts | 0 .../src/import/lib/types.ts | 0 .../src/import/lib/utils.test.ts | 0 .../src/import/lib/utils.ts | 0 .../import/lib/validate_references.test.ts | 0 .../src/import/lib/validate_references.ts | 0 .../src/import/lib/validate_retries.test.ts | 0 .../src/import/lib/validate_retries.ts | 0 .../import/resolve_import_errors.test.mock.ts | 0 .../src/import/resolve_import_errors.test.ts | 0 .../src/import/resolve_import_errors.ts | 0 .../src/import/saved_objects_importer.ts | 0 .../tsconfig.json | 2 +- .../migration-server-internal}/README.md | 0 .../migration-server-internal}/index.ts | 0 .../migration-server-internal}/jest.config.js | 4 +- .../migration-server-internal}/kibana.jsonc | 0 .../migration-server-internal}/package.json | 0 .../migration-server-internal}/src/README.md | 0 .../get_outdated_documents_query.test.ts.snap | 0 .../kibana_migrator.test.ts.snap | 0 ...grations_state_action_machine.test.ts.snap | 0 ...lk_overwrite_transformed_documents.test.ts | 0 .../bulk_overwrite_transformed_documents.ts | 0 .../actions/calculate_exclude_filters.test.ts | 0 .../src/actions/calculate_exclude_filters.ts | 0 .../catch_retryable_es_client_errors.test.ts | 0 .../catch_retryable_es_client_errors.ts | 0 .../check_cluster_routing_allocation.test.ts | 0 .../check_cluster_routing_allocation.ts | 0 .../actions/check_for_unknown_docs.mocks.ts | 0 .../actions/check_for_unknown_docs.test.ts | 0 .../src/actions/check_for_unknown_docs.ts | 0 .../src/actions/check_target_mappings.test.ts | 0 .../src/actions/check_target_mappings.ts | 0 .../cleanup_unknown_and_excluded.mocks.ts | 0 .../cleanup_unknown_and_excluded.test.ts | 0 .../actions/cleanup_unknown_and_excluded.ts | 0 .../src/actions/clone_index.test.ts | 0 .../src/actions/clone_index.ts | 0 .../src/actions/close_pit.test.ts | 0 .../src/actions/close_pit.ts | 0 .../src/actions/constants.ts | 0 .../src/actions/create_index.test.ts | 0 .../src/actions/create_index.ts | 0 .../src/actions/delete_by_query.test.ts | 0 .../src/actions/delete_by_query.ts | 0 .../src/actions/es_errors.test.ts | 0 .../src/actions/es_errors.ts | 0 .../src/actions/fetch_indices.test.ts | 0 .../src/actions/fetch_indices.ts | 0 .../src/actions/index.ts | 0 .../src/actions/open_pit.test.ts | 0 .../src/actions/open_pit.ts | 0 .../actions/pickup_updated_mappings.test.ts | 0 .../src/actions/pickup_updated_mappings.ts | 0 .../src/actions/read_with_pit.test.ts | 0 .../src/actions/read_with_pit.ts | 0 .../src/actions/refresh_index.test.ts | 0 .../src/actions/refresh_index.ts | 0 .../src/actions/reindex.test.ts | 0 .../src/actions/reindex.ts | 0 .../src/actions/remove_write_block.test.ts | 0 .../src/actions/remove_write_block.ts | 0 .../src/actions/safe_write_block.test.ts | 0 .../src/actions/safe_write_block.ts | 0 .../src/actions/set_write_block.test.ts | 0 .../src/actions/set_write_block.ts | 0 .../src/actions/synchronize_migrators.test.ts | 0 .../src/actions/synchronize_migrators.ts | 0 .../src/actions/transform_docs.ts | 0 .../src/actions/update_aliases.test.ts | 0 .../src/actions/update_aliases.ts | 0 .../update_and_pickup_mappings.test.ts | 0 .../src/actions/update_and_pickup_mappings.ts | 0 .../src/actions/update_mappings.test.ts | 0 .../src/actions/update_mappings.ts | 0 .../update_source_mappings_properties.test.ts | 0 .../update_source_mappings_properties.ts | 0 .../wait_for_delete_by_query_task.test.ts | 0 .../actions/wait_for_delete_by_query_task.ts | 0 .../src/actions/wait_for_index_status.test.ts | 0 .../src/actions/wait_for_index_status.ts | 0 ...t_for_pickup_updated_mappings_task.test.ts | 0 .../wait_for_pickup_updated_mappings_task.ts | 0 .../src/actions/wait_for_reindex_task.test.ts | 0 .../src/actions/wait_for_reindex_task.ts | 0 .../src/actions/wait_for_task.test.ts | 0 .../src/actions/wait_for_task.ts | 0 .../src/common/constants.ts | 0 .../src/common/redact_state.ts | 0 .../src/common/utils/delay.test.ts | 0 .../src/common/utils/delay.ts | 0 .../src/common/utils/index.ts | 0 .../src/common/utils/logs.test.ts | 0 .../src/common/utils/logs.ts | 0 .../build_active_mappings.test.ts.snap | 0 .../src/core/build_active_mappings.test.ts | 0 .../src/core/build_active_mappings.ts | 0 .../src/core/build_index_map.test.ts | 0 .../src/core/build_index_map.ts | 0 .../core/build_pickup_mappings_query.test.ts | 0 .../src/core/build_pickup_mappings_query.ts | 0 .../src/core/build_types_mappings.ts | 0 .../src/core/compare_mappings.test.ts | 0 .../src/core/compare_mappings.ts | 0 .../src/core/diff_mappings.test.ts | 0 .../src/core/diff_mappings.ts | 0 .../src/core/index.ts | 0 .../src/core/migrate_raw_docs.test.ts | 0 .../src/core/migrate_raw_docs.ts | 0 .../src/core/migration_logger.ts | 0 .../src/core/regenerate_object_id.ts | 0 ...nsform_saved_object_document_error.test.ts | 0 .../transform_saved_object_document_error.ts | 0 .../src/core/unused_types.ts | 0 .../build_active_migrations.test.mocks.ts | 0 .../build_active_migrations.test.ts | 0 .../build_active_migrations.ts | 0 .../document_migrator.test.mock.ts | 0 .../document_migrator.test.ts | 0 .../document_migrator/document_migrator.ts | 0 .../src/document_migrator/index.ts | 0 .../document_migrator/internal_transforms.ts | 0 .../src/document_migrator/migrations/index.ts | 0 .../transform_migration_version.test.ts | 0 .../migrations/transform_migration_version.ts | 0 .../transform_set_managed_default.test.ts | 0 .../transform_set_managed_default.ts | 0 .../model_version.test.mocks.ts | 0 .../document_migrator/model_version.test.ts | 0 .../src/document_migrator/model_version.ts | 0 .../pipelines/downgrade_pipeline.test.ts | 0 .../pipelines/downgrade_pipeline.ts | 0 .../src/document_migrator/pipelines/index.ts | 0 .../src/document_migrator/pipelines/types.ts | 0 .../pipelines/upgrade_pipeline.test.ts | 0 .../pipelines/upgrade_pipeline.ts | 0 .../src/document_migrator/pipelines/utils.ts | 0 .../src/document_migrator/types.ts | 0 .../src/document_migrator/utils.test.ts | 0 .../src/document_migrator/utils.ts | 0 .../validate_migration.test.ts | 0 .../document_migrator/validate_migrations.ts | 0 .../src/get_outdated_documents_query.test.ts | 0 .../src/get_outdated_documents_query.ts | 0 .../migration-server-internal}/src/index.ts | 0 .../src/initial_state.test.ts | 0 .../src/initial_state.ts | 0 .../src/kibana_migrator.test.ts | 0 .../src/kibana_migrator.ts | 0 .../src/kibana_migrator_constants.ts | 0 .../src/kibana_migrator_utils.fixtures.ts | 0 .../src/kibana_migrator_utils.test.ts | 0 .../src/kibana_migrator_utils.ts | 0 .../migrations_state_action_machine.test.ts | 0 .../src/migrations_state_action_machine.ts | 0 .../migrations_state_machine_cleanup.mocks.ts | 0 .../src/migrations_state_machine_cleanup.ts | 0 .../src/model/create_batches.test.ts | 0 .../src/model/create_batches.ts | 0 .../src/model/extract_errors.test.ts | 0 .../src/model/extract_errors.ts | 0 .../src/model/helpers.test.ts | 0 .../src/model/helpers.ts | 0 .../src/model/index.ts | 0 .../src/model/model.test.ts | 0 .../src/model/model.ts | 0 .../src/model/progress.test.ts | 0 .../src/model/progress.ts | 0 .../src/model/retry_state.test.ts | 0 .../src/model/retry_state.ts | 0 .../src/model/types.ts | 0 .../src/next.test.ts | 0 .../migration-server-internal}/src/next.ts | 0 .../src/run_resilient_migrator.fixtures.ts | 0 .../src/run_resilient_migrator.test.ts | 0 .../src/run_resilient_migrator.ts | 0 .../src/run_v2_migration.test.ts | 0 .../src/run_v2_migration.ts | 0 .../migration-server-internal}/src/state.ts | 0 .../src/state_action_machine.test.ts | 0 .../src/state_action_machine.ts | 0 .../migration-server-internal}/src/types.ts | 0 .../src/zdt/actions/index.ts | 0 .../actions/update_index_meta.test.mocks.ts | 0 .../src/zdt/actions/update_index_meta.test.ts | 0 .../src/zdt/actions/update_index_meta.ts | 0 .../src/zdt/actions/wait_for_delay.test.ts | 0 .../src/zdt/actions/wait_for_delay.ts | 0 .../src/zdt/context/create_context.ts | 0 .../src/zdt/context/index.ts | 0 .../src/zdt/context/types.ts | 0 .../src/zdt/index.ts | 0 .../src/zdt/migrate_index.ts | 0 .../src/zdt/migration_state_action_machine.ts | 0 .../src/zdt/model/index.ts | 0 .../src/zdt/model/model.test.mocks.ts | 0 .../src/zdt/model/model.test.ts | 0 .../src/zdt/model/model.ts | 0 .../cleanup_unknown_and_excluded_docs.test.ts | 0 .../cleanup_unknown_and_excluded_docs.ts | 0 ..._unknown_and_excluded_docs_refresh.test.ts | 0 ...eanup_unknown_and_excluded_docs_refresh.ts | 0 ...wn_and_excluded_docs_wait_for_task.test.ts | 0 ...unknown_and_excluded_docs_wait_for_task.ts | 0 .../model/stages/create_target_index.test.ts | 0 .../zdt/model/stages/create_target_index.ts | 0 .../documents_update_init.test.mocks.ts | 0 .../stages/documents_update_init.test.ts | 0 .../zdt/model/stages/documents_update_init.ts | 0 .../src/zdt/model/stages/index.ts | 0 .../stages/index_state_update_done.test.ts | 0 .../model/stages/index_state_update_done.ts | 0 .../src/zdt/model/stages/init.test.mocks.ts | 0 .../src/zdt/model/stages/init.test.ts | 0 .../src/zdt/model/stages/init.ts | 0 ...tdated_documents_search_bulk_index.test.ts | 0 .../outdated_documents_search_bulk_index.ts | 0 ...utdated_documents_search_close_pit.test.ts | 0 .../outdated_documents_search_close_pit.ts | 0 ...outdated_documents_search_open_pit.test.ts | 0 .../outdated_documents_search_open_pit.ts | 0 .../outdated_documents_search_read.test.ts | 0 .../stages/outdated_documents_search_read.ts | 0 .../outdated_documents_search_refresh.test.ts | 0 .../outdated_documents_search_refresh.ts | 0 ...utdated_documents_search_transform.test.ts | 0 .../outdated_documents_search_transform.ts | 0 .../stages/set_doc_migration_started.test.ts | 0 .../model/stages/set_doc_migration_started.ts | 0 ...gration_started_wait_for_instances.test.ts | 0 ...oc_migration_started_wait_for_instances.ts | 0 .../zdt/model/stages/update_aliases.test.ts | 0 .../src/zdt/model/stages/update_aliases.ts | 0 .../update_document_model_version.test.ts | 0 .../stages/update_document_model_version.ts | 0 ...nt_model_version_wait_for_instance.test.ts | 0 ...cument_model_version_wait_for_instances.ts | 0 .../stages/update_index_mappings.test.ts | 0 .../zdt/model/stages/update_index_mappings.ts | 0 ...pdate_index_mappings_wait_for_task.test.ts | 0 .../update_index_mappings_wait_for_task.ts | 0 .../update_mapping_model_version.test.ts | 0 .../stages/update_mapping_model_version.ts | 0 .../src/zdt/model/types.ts | 0 .../src/zdt/next.test.mocks.ts | 0 .../src/zdt/next.test.ts | 0 .../src/zdt/next.ts | 0 .../src/zdt/run_zdt_migration.ts | 0 .../zdt/state/create_initial_state.test.ts | 0 .../src/zdt/state/create_initial_state.ts | 0 .../src/zdt/state/index.ts | 0 .../src/zdt/state/types.ts | 0 .../src/zdt/test_helpers/context.ts | 0 .../src/zdt/test_helpers/document_migrator.ts | 0 .../src/zdt/test_helpers/index.ts | 0 .../src/zdt/test_helpers/saved_object.ts | 0 .../src/zdt/test_helpers/saved_object_type.ts | 0 .../src/zdt/test_helpers/state.ts | 0 .../zdt/utils/build_index_mappings.test.ts | 0 .../src/zdt/utils/build_index_mappings.ts | 0 .../zdt/utils/check_index_algorithm.test.ts | 0 .../src/zdt/utils/check_index_algorithm.ts | 0 .../check_version_compatibility.test.mocks.ts | 0 .../utils/check_version_compatibility.test.ts | 0 .../zdt/utils/check_version_compatibility.ts | 0 ...nerate_additive_mapping_diff.test.mocks.ts | 0 .../generate_additive_mapping_diff.test.ts | 0 .../utils/generate_additive_mapping_diff.ts | 0 .../src/zdt/utils/get_alias_actions.test.ts | 0 .../src/zdt/utils/get_alias_actions.ts | 0 .../zdt/utils/get_creation_aliases.test.ts | 0 .../src/zdt/utils/get_creation_aliases.ts | 0 .../src/zdt/utils/get_current_index.test.ts | 0 .../src/zdt/utils/get_current_index.ts | 0 .../src/zdt/utils/get_migrator_configs.ts | 0 .../src/zdt/utils/index.ts | 0 .../utils/outdated_documents_query.test.ts | 0 .../src/zdt/utils/outdated_documents_query.ts | 0 .../utils/transform_raw_docs.test.mocks.ts | 0 .../src/zdt/utils/transform_raw_docs.test.ts | 0 .../src/zdt/utils/transform_raw_docs.ts | 0 .../src/zdt/utils/update_index_meta.test.ts | 0 .../src/zdt/utils/update_index_meta.ts | 0 .../migration-server-internal}/tsconfig.json | 2 +- .../saved-objects/server-internal}/README.md | 0 .../saved-objects/server-internal}/index.ts | 0 .../server-internal/jest.config.js | 14 + .../server-internal}/kibana.jsonc | 0 .../server-internal}/package.json | 0 .../src/apply_type_defaults.test.ts | 0 .../src/apply_type_defaults.ts | 0 .../server-internal}/src/constants.ts | 0 .../src/deprecations/deprecation_factory.ts | 0 .../src/deprecations/index.ts | 0 .../unknown_object_types.test.mocks.ts | 0 .../deprecations/unknown_object_types.test.ts | 0 .../src/deprecations/unknown_object_types.ts | 0 .../server-internal}/src/index.ts | 0 .../server-internal}/src/internal_types.ts | 0 .../src/mocks/internal_mocks.ts | 0 .../src/object_types/index.ts | 0 .../src/object_types/registration.test.ts | 0 .../src/object_types/registration.ts | 0 .../src/routes/bulk_create.ts | 0 .../src/routes/bulk_delete.ts | 0 .../server-internal}/src/routes/bulk_get.ts | 0 .../src/routes/bulk_resolve.ts | 0 .../src/routes/bulk_update.ts | 0 .../server-internal}/src/routes/create.ts | 0 .../server-internal}/src/routes/delete.ts | 0 .../deprecations/delete_unknown_types.ts | 0 .../src/routes/deprecations/index.ts | 0 .../server-internal}/src/routes/export.ts | 0 .../server-internal}/src/routes/find.ts | 0 .../server-internal}/src/routes/get.ts | 0 .../server-internal}/src/routes/import.ts | 0 .../server-internal}/src/routes/index.ts | 0 .../src/routes/legacy_import_export/export.ts | 0 .../src/routes/legacy_import_export/import.ts | 0 .../lib/collect_references_deep.test.ts | 0 .../lib/collect_references_deep.ts | 0 .../lib/export_dashboards.ts | 0 .../lib/import_dashboards.test.ts | 0 .../lib/import_dashboards.ts | 0 .../routes/legacy_import_export/lib/index.ts | 0 .../server-internal}/src/routes/migrate.ts | 0 .../server-internal}/src/routes/resolve.ts | 0 .../src/routes/resolve_import_errors.ts | 0 .../server-internal}/src/routes/update.ts | 0 .../server-internal}/src/routes/utils.test.ts | 0 .../server-internal}/src/routes/utils.ts | 0 .../saved_objects_route_handler_context.ts | 0 .../src/saved_objects_service.test.mocks.ts | 0 .../src/saved_objects_service.test.ts | 0 .../src/saved_objects_service.ts | 0 .../server-internal}/src/status.test.ts | 0 .../server-internal}/src/status.ts | 0 .../src/utils/get_all_indices.test.ts | 0 .../src/utils/get_all_indices.ts | 0 .../server-internal}/src/utils/index.ts | 0 .../server-internal}/tsconfig.json | 2 +- .../packages/saved-objects/server}/README.md | 0 .../server}/docs/assets/mv_img_1.png | Bin .../server}/docs/model_versions.md | 14 +- .../packages/saved-objects/server}/index.ts | 0 .../saved-objects/server/jest.config.js | 14 + .../saved-objects/server}/kibana.jsonc | 0 .../saved-objects/server}/package.json | 0 .../server}/src/client_factory.ts | 0 .../saved-objects/server}/src/contracts.ts | 0 .../saved-objects/server}/src/export.ts | 0 .../server}/src/extensions/encryption.ts | 0 .../server}/src/extensions/extensions.ts | 0 .../server}/src/extensions/security.ts | 0 .../server}/src/extensions/spaces.ts | 0 .../saved-objects/server}/src/import.ts | 0 .../server}/src/mapping_definition.ts | 0 .../saved-objects/server}/src/migration.ts | 0 .../server}/src/model_version/index.ts | 0 .../server}/src/model_version/model_change.ts | 0 .../src/model_version/model_version.ts | 0 .../server}/src/model_version/schemas.ts | 0 .../src/model_version/transformations.ts | 0 .../server}/src/request_handler_context.ts | 0 .../src/saved_objects_error_helpers.test.ts | 0 .../src/saved_objects_error_helpers.ts | 0 .../src/saved_objects_index_pattern.ts | 0 .../server}/src/saved_objects_management.ts | 0 .../server}/src/saved_objects_status.ts | 0 .../server}/src/saved_objects_type.ts | 0 .../server}/src/serialization.ts | 0 .../server}/src/type_registry.ts | 0 .../saved-objects/server}/src/validation.ts | 0 .../saved-objects/server}/tsconfig.json | 2 +- .../saved-objects/utils-server}/README.md | 0 .../saved-objects/utils-server}/index.ts | 0 .../saved-objects/utils-server/jest.config.js | 14 + .../saved-objects/utils-server}/kibana.jsonc | 0 .../saved-objects/utils-server}/package.json | 0 .../src/merge_migrations.test.ts | 0 .../utils-server}/src/merge_migrations.ts | 0 .../src/saved_objects_test_utils.test.ts | 0 .../src/saved_objects_test_utils.ts | 0 .../src/saved_objects_utils.test.mock.ts | 0 .../src/saved_objects_utils.test.ts | 0 .../utils-server}/src/saved_objects_utils.ts | 0 .../saved-objects/utils-server}/tsconfig.json | 2 +- .../security/browser-internal}/README.md | 0 .../security/browser-internal}/index.ts | 0 .../security/browser-internal/jest.config.js | 14 + .../security/browser-internal}/kibana.jsonc | 0 .../security/browser-internal}/package.json | 0 .../src/internal_contracts.ts | 0 .../src/security_service.test.mocks.ts | 0 .../src/security_service.test.ts | 0 .../browser-internal}/src/security_service.ts | 0 .../src/utils/convert_security_api.test.ts | 0 .../src/utils/convert_security_api.ts | 0 .../src/utils/default_implementation.test.ts | 0 .../src/utils/default_implementation.ts | 0 .../browser-internal}/src/utils/index.ts | 0 .../security/browser-internal}/tsconfig.json | 2 +- .../security/browser-mocks}/README.md | 0 .../packages/security/browser-mocks}/index.ts | 0 .../security/browser-mocks/jest.config.js | 14 + .../security/browser-mocks}/kibana.jsonc | 0 .../security/browser-mocks}/package.json | 0 .../src/security_service.mock.ts | 0 .../security/browser-mocks}/tsconfig.json | 2 +- .../core/packages/security/browser}/README.md | 0 .../core/packages/security/browser}/index.ts | 0 .../packages/security/browser/jest.config.js | 14 + .../packages/security/browser}/kibana.jsonc | 0 .../packages/security/browser}/package.json | 0 .../security/browser}/src/api_provider.ts | 0 .../packages/security/browser}/src/authc.ts | 0 .../security/browser}/src/contracts.ts | 0 .../packages/security/browser}/tsconfig.json | 2 +- .../core/packages/security/common}/README.md | 0 .../core/packages/security/common}/index.ts | 0 .../packages/security/common}/jest.config.js | 4 +- .../packages/security/common}/kibana.jsonc | 0 .../core/packages/security/common}/mocks.ts | 0 .../packages/security/common}/package.json | 0 .../authentication/authenticated_user.mock.ts | 0 .../src/authentication/authenticated_user.ts | 0 .../authentication/authentication_provider.ts | 0 .../common}/src/authentication/index.ts | 0 .../common}/src/authentication/user.ts | 0 .../packages/security/common}/tsconfig.json | 2 +- .../security/server-internal}/README.md | 0 .../security/server-internal}/index.ts | 0 .../security/server-internal}/jest.config.js | 4 +- .../security/server-internal}/kibana.jsonc | 0 .../security/server-internal}/package.json | 0 .../server-internal}/src/fips/fips.test.ts | 0 .../server-internal}/src/fips/fips.ts | 0 .../src/internal_contracts.ts | 0 .../src/security_route_handler_context.ts | 0 .../src/security_service.test.mocks.ts | 0 .../src/security_service.test.ts | 0 .../server-internal}/src/security_service.ts | 0 .../test_helpers/create_audit_logger.mock.ts | 0 .../src/utils/convert_security_api.test.ts | 0 .../src/utils/convert_security_api.ts | 0 .../src/utils/default_implementation.test.ts | 0 .../src/utils/default_implementation.ts | 0 .../server-internal}/src/utils/index.ts | 0 .../security/server-internal}/tsconfig.json | 2 +- .../packages/security/server-mocks}/README.md | 0 .../packages/security/server-mocks}/index.ts | 0 .../security/server-mocks/jest.config.js | 14 + .../security/server-mocks}/kibana.jsonc | 0 .../security/server-mocks}/package.json | 0 .../server-mocks}/src/api_keys.mock.ts | 0 .../security/server-mocks}/src/audit.mock.ts | 0 .../src/security_service.mock.ts | 0 .../security/server-mocks}/tsconfig.json | 2 +- .../core/packages/security/server}/README.md | 0 .../core/packages/security/server}/index.ts | 0 .../packages/security/server/jest.config.js | 14 + .../packages/security/server}/kibana.jsonc | 0 .../packages/security/server}/package.json | 0 .../security/server}/src/api_provider.ts | 0 .../packages/security/server}/src/audit.ts | 0 .../server}/src/audit_logging/audit_events.ts | 0 .../server}/src/audit_logging/audit_logger.ts | 0 .../packages/security/server}/src/authc.ts | 0 .../src/authentication/api_keys/api_keys.ts | 0 .../api_keys/api_keys_context.ts | 0 .../src/authentication/api_keys/index.ts | 0 .../security/server}/src/contracts.ts | 0 .../packages/security/server}/src/fips.ts | 0 .../server}/src/request_handler_context.ts | 0 .../security/server}/src/roles/index.ts | 0 .../security/server}/src/roles/schema.ts | 0 .../packages/security/server}/tsconfig.json | 2 +- .../core/packages/status/common}/README.md | 0 .../core/packages/status/common}/index.ts | 0 .../packages/status/common/jest.config.js | 14 + .../core/packages/status/common}/kibana.jsonc | 0 .../core/packages/status/common}/package.json | 0 .../status/common}/src/core_status.ts | 0 .../status/common}/src/service_status.ts | 0 .../packages/status/common}/src/status.ts | 0 .../packages/status/common}/tsconfig.json | 2 +- .../status/server-internal}/README.md | 0 .../packages/status/server-internal}/index.ts | 0 .../status/server-internal/jest.config.js | 14 + .../status/server-internal}/kibana.jsonc | 0 .../status/server-internal}/package.json | 0 .../src/cached_plugins_status.ts | 0 .../src/get_summary_status.test.ts | 0 .../src/get_summary_status.ts | 0 .../status/server-internal}/src/index.ts | 0 .../src/legacy_status.test.ts | 0 .../server-internal}/src/legacy_status.ts | 0 .../src/log_core_services_status.test.ts | 0 .../src/log_core_services_status.ts | 0 .../src/log_overall_status.test.ts | 0 .../src/log_overall_status.ts | 0 .../src/log_plugins_status.test.ts | 0 .../src/log_plugins_status.ts | 0 .../src/plugins_status.test.ts | 0 .../server-internal}/src/plugins_status.ts | 0 .../server-internal}/src/routes/index.ts | 0 .../server-internal}/src/routes/status.ts | 0 .../src/routes/status_preboot.ts | 0 .../src/routes/status_response_schemas.ts | 0 .../server-internal}/src/status_config.ts | 0 .../src/status_service.test.mocks.ts | 0 .../src/status_service.test.ts | 0 .../server-internal}/src/status_service.ts | 0 .../src/test_helpers/index.ts | 0 .../src/test_helpers/test_utils.ts | 0 .../status/server-internal}/src/types.ts | 0 .../status/server-internal}/tsconfig.json | 2 +- .../core/packages/status/server}/README.md | 0 .../core/packages/status/server}/index.ts | 0 .../packages/status/server}/jest.config.js | 4 +- .../core/packages/status/server}/kibana.jsonc | 0 .../core/packages/status/server}/package.json | 0 .../packages/status/server}/src/contracts.ts | 0 .../core/packages/status/server}/src/index.ts | 0 .../packages/status/server}/tsconfig.json | 2 +- .../deprecations-getters}/README.md | 0 .../deprecations-getters}/index.ts | 0 .../deprecations-getters/jest.config.js | 14 + .../deprecations-getters}/kibana.jsonc | 0 .../deprecations-getters}/package.json | 0 .../src/deprecations_getters.ts | 0 .../deprecations-getters}/tsconfig.json | 2 +- .../http-setup-browser}/README.md | 0 .../test-helpers/http-setup-browser}/index.ts | 0 .../http-setup-browser/jest.config.js | 14 + .../http-setup-browser}/kibana.jsonc | 0 .../http-setup-browser}/package.json | 0 .../src/http_test_setup.ts | 0 .../http-setup-browser}/tsconfig.json | 2 +- .../so-type-serializer}/README.md | 0 .../test-helpers/so-type-serializer}/index.ts | 0 .../so-type-serializer}/jest.config.js | 4 +- .../so-type-serializer}/kibana.jsonc | 0 .../so-type-serializer}/package.json | 0 .../src/extract_migration_info.test.ts | 0 .../src/extract_migration_info.ts | 0 .../src/get_migration_hash.test.ts | 0 .../src/get_migration_hash.ts | 0 .../so-type-serializer}/tsconfig.json | 2 +- .../test-helpers/test-utils}/README.md | 0 .../test-helpers/test-utils}/index.ts | 0 .../test-helpers/test-utils/jest.config.js | 14 + .../test-helpers/test-utils}/kibana.jsonc | 0 .../test-helpers/test-utils}/package.json | 0 .../test-utils}/src/create_exportable_type.ts | 0 .../src/create_hidden_type_variants.ts | 0 .../test-utils}/src/setup_server.ts | 0 .../test-helpers/test-utils}/tsconfig.json | 2 +- .../theme/browser-internal}/README.md | 0 .../packages/theme/browser-internal}/index.ts | 0 .../theme/browser-internal/jest.config.js | 14 + .../theme/browser-internal}/kibana.jsonc | 0 .../theme/browser-internal}/package.json | 0 .../src/core_theme_provider.test.tsx | 0 .../src/core_theme_provider.tsx | 0 .../browser-internal}/src/system_theme.ts | 0 .../src/theme_service.test.mocks.ts | 0 .../src/theme_service.test.ts | 0 .../browser-internal}/src/theme_service.ts | 0 .../theme/browser-internal}/src/utils.ts | 0 .../theme/browser-internal}/tsconfig.json | 2 +- .../core/packages/theme/browser}/README.md | 0 .../core/packages/theme/browser}/index.ts | 0 .../packages/theme/browser/jest.config.js | 14 + .../core/packages/theme/browser}/kibana.jsonc | 0 .../core/packages/theme/browser}/package.json | 0 .../core/packages/theme/browser}/src/types.ts | 0 src/core/packages/theme/browser/tsconfig.json | 16 + .../base-server-internal}/README.md | 0 .../usage-data/base-server-internal}/index.ts | 0 .../base-server-internal}/jest.config.js | 4 +- .../base-server-internal}/kibana.jsonc | 0 .../base-server-internal}/package.json | 0 .../base-server-internal}/src/constants.ts | 0 .../base-server-internal}/src/index.ts | 0 .../src/internal_contract.ts | 0 .../src/usage_stats_client.ts | 0 .../base-server-internal}/tsconfig.json | 2 +- .../usage-data/server-internal}/README.md | 0 .../usage-data/server-internal}/index.ts | 0 .../server-internal}/jest.config.js | 4 +- .../usage-data/server-internal}/kibana.jsonc | 0 .../usage-data/server-internal}/package.json | 0 .../src/core_usage_data_service.test.ts | 0 .../src/core_usage_data_service.ts | 0 .../src/core_usage_stats_client.test.ts | 0 .../src/core_usage_stats_client.ts | 0 .../usage-data/server-internal}/src/index.ts | 0 .../src/is_configured.test.ts | 0 .../server-internal}/src/is_configured.ts | 0 .../src/saved_objects/core_usage_stats.ts | 0 .../src/saved_objects/index.ts | 0 .../src/saved_objects/migrations.test.ts | 0 .../src/saved_objects/migrations.ts | 0 .../usage-data/server-internal}/tsconfig.json | 2 +- .../packages/usage-data/server}/README.md | 0 .../core/packages/usage-data/server}/index.ts | 0 .../packages/usage-data/server/jest.config.js | 14 + .../packages/usage-data/server}/kibana.jsonc | 0 .../packages/usage-data/server}/package.json | 0 .../usage-data/server}/src/core_usage_data.ts | 0 .../server}/src/core_usage_stats.ts | 0 .../packages/usage-data/server}/src/index.ts | 0 .../usage-data/server}/src/setup_contract.ts | 0 .../usage-data/server}/src/start_contract.ts | 0 .../packages/usage-data/server}/tsconfig.json | 2 +- .../user-profile/browser-internal}/README.md | 0 .../user-profile/browser-internal}/index.ts | 0 .../browser-internal/jest.config.js | 14 + .../browser-internal}/kibana.jsonc | 0 .../browser-internal}/package.json | 0 .../src/internal_contracts.ts | 0 .../src/user_profile_service.test.mocks.ts | 0 .../src/user_profile_service.test.ts | 0 .../src/user_profile_service.ts | 0 .../src/utils/convert_api.test.ts | 0 .../src/utils/convert_api.ts | 0 .../src/utils/default_implementation.test.ts | 0 .../src/utils/default_implementation.ts | 0 .../browser-internal}/src/utils/index.ts | 0 .../browser-internal}/tsconfig.json | 2 +- .../user-profile/browser-mocks}/README.md | 0 .../user-profile/browser-mocks}/index.ts | 0 .../user-profile/browser-mocks/jest.config.js | 14 + .../user-profile/browser-mocks}/kibana.jsonc | 0 .../user-profile/browser-mocks}/package.json | 0 .../src/user_profile_service.mock.ts | 0 .../user-profile/browser-mocks}/tsconfig.json | 2 +- .../packages/user-profile/browser}/README.md | 0 .../packages/user-profile/browser}/index.ts | 0 .../user-profile/browser/jest.config.js | 14 + .../user-profile/browser}/kibana.jsonc | 0 .../user-profile/browser}/package.json | 0 .../user-profile/browser}/src/api_provider.ts | 0 .../user-profile/browser}/src/contracts.ts | 0 .../user-profile/browser}/src/service.ts | 0 .../user-profile/browser}/tsconfig.json | 2 +- .../packages/user-profile/common}/README.md | 0 .../packages/user-profile/common}/index.ts | 0 .../user-profile/common/jest.config.js | 14 + .../user-profile/common}/kibana.jsonc | 0 .../user-profile/common}/package.json | 0 .../user-profile/common}/src/user_profile.ts | 0 .../user-profile/common}/tsconfig.json | 2 +- .../user-profile/server-internal}/README.md | 0 .../user-profile/server-internal}/index.ts | 0 .../server-internal/jest.config.js | 14 + .../server-internal}/kibana.jsonc | 0 .../server-internal}/package.json | 0 .../src/internal_contracts.ts | 0 .../src/user_profile_route_handler_context.ts | 0 .../src/user_profile_service.test.mocks.ts | 0 .../src/user_profile_service.test.ts | 0 .../src/user_profile_service.ts | 0 .../src/utils/convert_api.test.ts | 0 .../server-internal}/src/utils/convert_api.ts | 0 .../src/utils/default_implementation.test.ts | 0 .../src/utils/default_implementation.ts | 0 .../server-internal}/src/utils/index.ts | 0 .../server-internal}/tsconfig.json | 2 +- .../user-profile/server-mocks}/README.md | 0 .../user-profile/server-mocks}/index.ts | 0 .../user-profile/server-mocks/jest.config.js | 14 + .../user-profile/server-mocks}/kibana.jsonc | 0 .../user-profile/server-mocks}/package.json | 0 .../src/user_profile_service.mock.ts | 0 .../user-profile/server-mocks}/tsconfig.json | 2 +- .../packages/user-profile/server}/README.md | 0 .../packages/user-profile/server}/index.ts | 0 .../user-profile/server/jest.config.js | 14 + .../user-profile/server}/kibana.jsonc | 0 .../user-profile/server}/package.json | 0 .../user-profile/server}/src/api_provider.ts | 0 .../user-profile/server}/src/contracts.ts | 0 .../server}/src/request_handler_context.ts | 0 .../user-profile/server}/src/service.ts | 0 .../user-profile/server}/tsconfig.json | 2 +- .../extract_untracked_translations.ts | 4 +- src/dev/precommit_hook/casing_check_config.js | 4 +- 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 | 14 + .../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 +- .../private}/kbn-config-mocks/README.md | 0 .../private}/kbn-config-mocks/index.ts | 0 .../private/kbn-config-mocks/jest.config.js | 14 + .../private}/kbn-config-mocks/kibana.jsonc | 0 .../private}/kbn-config-mocks/package.json | 0 .../kbn-config-mocks/src/config.mock.ts | 0 .../src/config_service.mock.ts | 0 .../kbn-config-mocks/src/deprecations.mock.ts | 0 .../private}/kbn-config-mocks/src/env.mock.ts | 0 .../src/raw_config_service.mock.ts | 0 .../private}/kbn-config-mocks/tsconfig.json | 2 +- .../private}/kbn-hapi-mocks/README.md | 0 .../packages/private}/kbn-hapi-mocks/index.ts | 0 .../private/kbn-hapi-mocks/jest.config.js | 14 + .../private}/kbn-hapi-mocks/kibana.jsonc | 0 .../private}/kbn-hapi-mocks/package.json | 0 .../private}/kbn-hapi-mocks/src/request.ts | 0 .../private/kbn-hapi-mocks}/tsconfig.json | 2 +- .../kbn-health-gateway-server/.gitignore | 0 .../kbn-health-gateway-server/README.md | 4 +- .../kbn-health-gateway-server/index.ts | 0 .../kbn-health-gateway-server/jest.config.js | 14 + .../kbn-health-gateway-server/kibana.jsonc | 0 .../kbn-health-gateway-server/package.json | 0 .../scripts/.env.example | 0 .../scripts/docker-compose.yml | 6 +- .../kbn-health-gateway-server/scripts/init.ts | 0 .../src/config/config_service.test.mocks.ts | 0 .../src/config/config_service.test.ts | 0 .../src/config/config_service.ts | 0 .../src/config/index.ts | 0 .../src/config/read_argv.test.ts | 0 .../src/config/read_argv.ts | 0 .../kbn-health-gateway-server/src/index.ts | 0 .../src/kibana/handlers/index.ts | 0 .../src/kibana/handlers/status.test.ts | 0 .../src/kibana/handlers/status.ts | 0 .../src/kibana/index.ts | 0 .../src/kibana/kibana_config.test.ts | 0 .../src/kibana/kibana_config.ts | 0 .../src/kibana/kibana_service.test.mocks.ts | 0 .../src/kibana/kibana_service.test.ts | 0 .../src/kibana/kibana_service.ts | 0 .../src/server/index.ts | 0 .../src/server/server.mock.ts | 0 .../src/server/server.test.mocks.ts | 0 .../src/server/server.test.ts | 0 .../src/server/server.ts | 0 .../src/server/server_config.test.ts | 0 .../src/server/server_config.ts | 0 .../kbn-health-gateway-server/tsconfig.json | 2 +- .../kbn-ui-shared-deps-src/BUILD.bazel | 12 +- .../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 | 14 + .../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 | 0 .../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 +- .../shared}/kbn-config-schema/README.md | 0 .../shared}/kbn-config-schema/index.ts | 0 .../shared/kbn-config-schema/jest.config.js | 14 + .../shared}/kbn-config-schema/kibana.jsonc | 0 .../shared}/kbn-config-schema/package.json | 0 .../src/byte_size_value/index.test.ts | 0 .../src/byte_size_value/index.ts | 0 .../kbn-config-schema/src/duration/index.ts | 0 .../kbn-config-schema/src/errors/index.ts | 0 .../src/errors/schema_error.test.ts | 0 .../src/errors/schema_error.ts | 0 .../src/errors/schema_type_error.ts | 0 .../src/errors/schema_types_error.ts | 0 .../src/errors/validation_error.ts | 0 .../kbn-config-schema/src/helpers/index.ts | 0 .../src/helpers/offering_based_schema.test.ts | 0 .../src/helpers/offering_based_schema.ts | 0 .../kbn-config-schema/src/internals/index.ts | 0 .../kbn-config-schema/src/oas_meta_fields.ts | 0 .../src/references/context_reference.ts | 0 .../kbn-config-schema/src/references/index.ts | 0 .../src/references/reference.test.ts | 0 .../src/references/reference.ts | 0 .../src/references/sibling_reference.ts | 0 .../kbn-config-schema/src/typeguards/index.ts | 0 .../src/typeguards/is_config_schema.test.ts | 0 .../src/typeguards/is_config_schema.ts | 0 .../src/types/any_type.test.ts | 0 .../kbn-config-schema/src/types/any_type.ts | 0 .../src/types/array_type.test.ts | 0 .../kbn-config-schema/src/types/array_type.ts | 0 .../src/types/boolean_type.test.ts | 0 .../src/types/boolean_type.ts | 0 .../src/types/buffer_type.test.ts | 0 .../src/types/buffer_type.ts | 0 .../src/types/byte_size_type.test.ts | 0 .../src/types/byte_size_type.ts | 0 .../src/types/conditional_type.test.ts | 0 .../src/types/conditional_type.ts | 0 .../src/types/duration_type.test.ts | 0 .../src/types/duration_type.ts | 0 .../kbn-config-schema/src/types/index.ts | 0 .../src/types/intersection_type.test.ts | 0 .../src/types/intersection_type.ts | 0 .../src/types/ip_type.test.ts | 0 .../kbn-config-schema/src/types/ip_type.ts | 0 .../kbn-config-schema/src/types/lazy.test.ts | 0 .../kbn-config-schema/src/types/lazy.ts | 0 .../src/types/literal_type.test.ts | 0 .../src/types/literal_type.ts | 0 .../src/types/map_type.test.ts | 0 .../kbn-config-schema/src/types/map_type.ts | 0 .../src/types/maybe_type.test.ts | 0 .../kbn-config-schema/src/types/maybe_type.ts | 0 .../src/types/never_type.test.ts | 0 .../kbn-config-schema/src/types/never_type.ts | 0 .../src/types/nullable_type.test.ts | 0 .../src/types/number_type.test.ts | 0 .../src/types/number_type.ts | 0 .../src/types/object_type.test.ts | 0 .../src/types/object_type.ts | 0 .../src/types/record_type.test.ts | 0 .../src/types/record_type.ts | 0 .../src/types/stream_type.test.ts | 0 .../src/types/stream_type.ts | 0 .../src/types/string_type.test.ts | 0 .../src/types/string_type.ts | 0 .../kbn-config-schema/src/types/type.test.ts | 0 .../kbn-config-schema/src/types/type.ts | 0 .../src/types/union_type.test.ts | 0 .../kbn-config-schema/src/types/union_type.ts | 0 .../src/types/uri_type.test.ts | 0 .../kbn-config-schema/src/types/uri_type.ts | 0 .../shared}/kbn-config-schema/tsconfig.json | 2 +- .../shared}/kbn-config-schema/types/joi.d.ts | 0 .../packages/shared}/kbn-config/README.md | 0 .../packages/shared}/kbn-config/index.ts | 0 .../packages/shared/kbn-config/jest.config.js | 14 + .../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 | 0 .../src/__fixtures__/unsplittable_3.yml | 0 .../__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 +- .../shared}/kbn-crypto-browser/BUILD.bazel | 0 .../shared}/kbn-crypto-browser/README.md | 0 .../shared}/kbn-crypto-browser/index.ts | 0 .../shared/kbn-crypto-browser/jest.config.js | 14 + .../shared}/kbn-crypto-browser/kibana.jsonc | 0 .../shared}/kbn-crypto-browser/package.json | 0 .../shared}/kbn-crypto-browser/src/sha256.ts | 0 .../shared/kbn-crypto-browser/tsconfig.json | 16 + .../shared}/kbn-ebt-tools/BUILD.bazel | 0 .../packages/shared}/kbn-ebt-tools/README.md | 0 .../packages/shared}/kbn-ebt-tools/index.ts | 0 .../shared/kbn-ebt-tools/jest.config.js | 14 + .../shared}/kbn-ebt-tools/kibana.jsonc | 0 .../shared}/kbn-ebt-tools/package.json | 0 .../performance_metric_events/helpers.test.ts | 0 .../src/performance_metric_events/helpers.ts | 0 .../src/performance_metric_events/index.ts | 0 .../src/performance_metric_events/schema.ts | 0 .../context/measure_interaction/index.ts | 0 .../measure_interaction.test.tsx | 0 .../context/performance_context.tsx | 0 .../context/use_page_ready.ts | 0 .../context/use_performance_context.tsx | 0 .../src/performance_metrics/index.tsx | 0 .../performance_markers.ts | 0 .../kbn-ebt-tools/src/types/apm_rum_core.d.ts | 0 .../shared}/kbn-ebt-tools/tsconfig.json | 2 +- .../packages/shared}/kbn-es-errors/README.md | 0 .../packages/shared}/kbn-es-errors/index.ts | 0 .../shared/kbn-es-errors/jest.config.js | 14 + .../shared}/kbn-es-errors/kibana.jsonc | 0 .../shared}/kbn-es-errors/package.json | 0 .../shared}/kbn-es-errors/src/errors.test.ts | 0 .../shared}/kbn-es-errors/src/errors.ts | 0 .../shared}/kbn-es-errors/src/types.ts | 0 .../shared/kbn-es-errors/tsconfig.json | 16 + .../packages/shared/kbn-es-query/BUILD.bazel | 2 +- .../packages/shared}/kbn-es-types/README.md | 0 .../packages/shared}/kbn-es-types/index.ts | 0 .../shared/kbn-es-types/jest.config.js | 14 + .../shared}/kbn-es-types/kibana.jsonc | 0 .../shared}/kbn-es-types/package.json | 0 .../shared}/kbn-es-types/src/index.ts | 0 .../shared}/kbn-es-types/src/search.test.ts | 0 .../shared}/kbn-es-types/src/search.ts | 0 .../shared}/kbn-es-types/tsconfig.json | 2 +- .../BUILD.bazel | 2 +- .../shared/kbn-flot-charts/BUILD.bazel | 2 +- .../shared}/kbn-i18n-react/BUILD.bazel | 2 +- .../packages/shared}/kbn-i18n-react/README.md | 0 .../packages/shared}/kbn-i18n-react/index.tsx | 0 .../shared/kbn-i18n-react/jest.config.js | 14 + .../shared}/kbn-i18n-react/kibana.jsonc | 0 .../shared}/kbn-i18n-react/package.json | 0 .../src/__snapshots__/provider.test.tsx.snap | 0 .../kbn-i18n-react/src/compatiblity_layer.tsx | 0 .../shared}/kbn-i18n-react/src/inject.tsx | 0 .../kbn-i18n-react/src/provider.test.tsx | 0 .../shared}/kbn-i18n-react/src/provider.tsx | 0 .../shared}/kbn-i18n-react/tsconfig.json | 2 +- .../packages/shared}/kbn-i18n/BUILD.bazel | 0 .../packages/shared}/kbn-i18n/GUIDELINE.md | 0 .../packages/shared}/kbn-i18n/README.md | 2 +- .../packages/shared}/kbn-i18n/index.ts | 0 .../packages/shared/kbn-i18n/jest.config.js | 14 + .../packages/shared}/kbn-i18n/kibana.jsonc | 0 .../packages/shared}/kbn-i18n/package.json | 0 .../test_plugin_1/translations/en-US.json | 0 .../test_plugin_1/translations/en.json | 0 .../test_plugin_2/translations/en.json | 0 .../test_plugin_2/translations/fr.json | 0 .../test_plugin_2/translations/ru.json | 0 .../src/__snapshots__/loader.test.ts.snap | 0 .../packages/shared}/kbn-i18n/src/browser.ts | 0 .../src/core/__snapshots__/i18n.test.ts.snap | 12 +- .../kbn-i18n/src/core/error_handler.ts | 0 .../shared}/kbn-i18n/src/core/formats.ts | 0 .../shared}/kbn-i18n/src/core/i18n.test.ts | 0 .../shared}/kbn-i18n/src/core/i18n.ts | 0 .../shared}/kbn-i18n/src/core/index.ts | 0 .../shared}/kbn-i18n/src/core/types.ts | 0 .../shared}/kbn-i18n/src/loader.test.ts | 0 .../packages/shared}/kbn-i18n/src/loader.ts | 0 .../shared}/kbn-i18n/src/translation.ts | 0 .../packages/shared}/kbn-i18n/tsconfig.json | 2 +- .../shared}/kbn-logging-mocks/index.ts | 0 .../shared}/kbn-logging-mocks/kibana.jsonc | 0 .../shared}/kbn-logging-mocks/package.json | 0 .../kbn-logging-mocks/src/logger.mock.ts | 0 .../shared}/kbn-logging-mocks/tsconfig.json | 2 +- .../packages/shared}/kbn-logging/README.md | 0 .../packages/shared}/kbn-logging/index.ts | 0 .../shared/kbn-logging/jest.config.js | 14 + .../packages/shared}/kbn-logging/kibana.jsonc | 0 .../packages/shared}/kbn-logging/package.json | 0 .../shared}/kbn-logging/src/appenders.ts | 0 .../shared}/kbn-logging/src/layout.ts | 0 .../shared}/kbn-logging/src/log_level.test.ts | 0 .../shared}/kbn-logging/src/log_level.ts | 0 .../shared}/kbn-logging/src/log_meta.ts | 0 .../shared}/kbn-logging/src/log_record.ts | 0 .../shared}/kbn-logging/src/logger.ts | 0 .../shared}/kbn-logging/src/logger_factory.ts | 0 .../shared}/kbn-logging/tsconfig.json | 2 +- .../kbn-router-to-openapispec/README.md | 0 .../kbn-router-to-openapispec/index.ts | 0 .../kbn-router-to-openapispec/jest.config.js | 14 + .../kbn-router-to-openapispec/kibana.jsonc | 0 .../openapi-types.d.ts | 0 .../kbn-router-to-openapispec/package.json | 0 .../__snapshots__/generate_oas.test.ts.snap | 0 .../src/extract_authz_description.test.ts | 0 .../src/extract_authz_description.ts | 0 .../src/generate_oas.test.fixture.ts | 0 .../src/generate_oas.test.ts | 0 .../src/generate_oas.test.util.ts | 0 .../src/generate_oas.ts | 0 .../src/oas_converter/catch_all.ts | 0 .../src/oas_converter/common.test.ts | 0 .../src/oas_converter/common.ts | 0 .../src/oas_converter/index.test.ts | 0 .../src/oas_converter/index.ts | 0 .../oas_converter/kbn_config_schema/index.ts | 0 .../kbn_config_schema/lib.test.ts | 0 .../kbn_config_schema/lib.test.util.ts | 0 .../oas_converter/kbn_config_schema/lib.ts | 0 .../kbn_config_schema/parse.test.ts | 0 .../oas_converter/kbn_config_schema/parse.ts | 0 .../post_process_mutations/context.test.ts | 0 .../post_process_mutations/context.ts | 0 .../post_process_mutations/index.test.ts | 0 .../post_process_mutations/index.ts | 0 .../mutations/enum.test.ts | 0 .../post_process_mutations/mutations/enum.ts | 0 .../mutations/index.test.ts | 0 .../post_process_mutations/mutations/index.ts | 0 .../mutations/object.test.ts | 0 .../mutations/object.ts | 0 .../mutations/utils.test.ts | 0 .../post_process_mutations/mutations/utils.ts | 0 .../src/oas_converter/zod/index.ts | 0 .../src/oas_converter/zod/lib.test.ts | 0 .../src/oas_converter/zod/lib.test.util.ts | 0 .../src/oas_converter/zod/lib.ts | 0 .../src/process_router.test.ts | 0 .../src/process_router.ts | 0 .../src/process_versioned_router.test.ts | 0 .../src/process_versioned_router.ts | 0 .../kbn-router-to-openapispec/src/type.ts | 0 .../src/util.test.ts | 0 .../kbn-router-to-openapispec/src/util.ts | 0 .../kbn-router-to-openapispec/tsconfig.json | 2 +- .../shared/kbn-search-errors/BUILD.bazel | 2 +- .../shared}/kbn-server-http-tools/README.md | 0 .../shared}/kbn-server-http-tools/index.ts | 0 .../kbn-server-http-tools/jest.config.js | 14 + .../kbn-server-http-tools/kibana.jsonc | 0 .../kbn-server-http-tools/package.json | 0 .../src/create_server.ts | 0 .../default_validation_error_handler.test.ts | 0 .../src/default_validation_error_handler.ts | 0 .../src/get_listener.test.mocks.ts | 0 .../src/get_listener.test.ts | 0 .../kbn-server-http-tools/src/get_listener.ts | 0 .../src/get_request_id.test.ts | 0 .../src/get_request_id.ts | 0 .../src/get_server_options.test.mocks.ts | 0 .../src/get_server_options.test.ts | 0 .../src/get_server_options.ts | 0 .../src/get_tls_options.test.ts | 0 .../src/get_tls_options.ts | 0 .../src/set_tls_config.test.mocks.ts | 0 .../src/set_tls_config.test.ts | 0 .../src/set_tls_config.ts | 0 .../src/ssl/constants.ts | 0 .../kbn-server-http-tools/src/ssl/index.ts | 0 .../src/ssl/ssl_config.test.mocks.ts | 0 .../src/ssl/ssl_config.test.ts | 0 .../src/ssl/ssl_config.ts | 0 .../kbn-server-http-tools/src/types.ts | 0 .../kbn-server-http-tools/tsconfig.json | 2 +- .../packages/shared}/kbn-std/BUILD.bazel | 0 .../packages/shared}/kbn-std/README.md | 0 .../packages/shared}/kbn-std/index.ts | 0 .../packages/shared/kbn-std/jest.config.js | 14 + .../packages/shared}/kbn-std/kibana.jsonc | 0 .../packages/shared}/kbn-std/package.json | 0 .../ensure_no_unsafe_properties.test.ts.snap | 0 .../src/__snapshots__/get.test.ts.snap | 0 .../shared}/kbn-std/src/assert_never.ts | 0 .../shared}/kbn-std/src/deep_freeze.test.ts | 0 .../shared}/kbn-std/src/deep_freeze.ts | 0 .../kbn-std/src/ensure_deep_object.test.ts | 0 .../shared}/kbn-std/src/ensure_deep_object.ts | 0 .../src/ensure_no_unsafe_properties.test.ts | 0 .../src/ensure_no_unsafe_properties.ts | 0 .../packages/shared}/kbn-std/src/get.test.ts | 0 .../packages/shared}/kbn-std/src/get.ts | 0 .../kbn-std/src/get_flattened_object.test.ts | 0 .../kbn-std/src/get_flattened_object.ts | 0 .../kbn-std/src/is_internal_url.test.ts | 0 .../shared}/kbn-std/src/is_internal_url.ts | 0 .../kbn-std/src/iteration/for_each.test.ts | 0 .../shared}/kbn-std/src/iteration/for_each.ts | 0 .../shared}/kbn-std/src/iteration/index.ts | 0 .../shared}/kbn-std/src/iteration/map.test.ts | 0 .../shared}/kbn-std/src/iteration/map.ts | 0 .../kbn-std/src/iteration/observable.test.ts | 0 .../kbn-std/src/iteration/observable.ts | 0 .../kbn-std/src/iteration/test_helpers.ts | 0 .../shared}/kbn-std/src/iteration/types.ts | 0 .../shared}/kbn-std/src/map_to_object.ts | 0 .../shared}/kbn-std/src/map_utils.test.ts | 0 .../packages/shared}/kbn-std/src/map_utils.ts | 0 .../shared}/kbn-std/src/merge.test.ts | 0 .../packages/shared}/kbn-std/src/merge.ts | 0 .../kbn-std/src/parse_next_url.test.ts | 0 .../shared}/kbn-std/src/parse_next_url.ts | 0 .../packages/shared}/kbn-std/src/pick.test.ts | 0 .../packages/shared}/kbn-std/src/pick.ts | 0 .../shared}/kbn-std/src/promise.test.ts | 0 .../packages/shared}/kbn-std/src/promise.ts | 0 .../shared}/kbn-std/src/semaphore.test.ts | 0 .../packages/shared}/kbn-std/src/semaphore.ts | 0 .../kbn-std/src/strip_version_qualifier.ts | 0 .../packages/shared}/kbn-std/src/url.test.ts | 0 .../packages/shared}/kbn-std/src/url.ts | 0 .../packages/shared}/kbn-std/tsconfig.json | 2 +- .../shared}/kbn-utility-types/README.md | 0 .../shared}/kbn-utility-types/index.ts | 0 .../shared}/kbn-utility-types/kibana.jsonc | 0 .../shared}/kbn-utility-types/package.json | 2 +- .../shared}/kbn-utility-types/src/dot.ts | 0 .../src/serializable/index.ts | 0 .../src/tsd_tests/empty.d.ts | 0 .../src/tsd_tests/package.json | 0 .../src/tsd_tests/test_d/dot.ts | 0 .../src/tsd_tests/test_d/method_keys_of.ts | 0 .../src/tsd_tests/test_d/public_contract.ts | 0 .../src/tsd_tests/test_d/public_keys.ts | 0 .../src/tsd_tests/test_d/public_methods_of.ts | 0 .../src/tsd_tests/test_d/shallow_promise.ts | 0 .../tsd_tests/test_d/union_to_intersection.ts | 0 .../src/tsd_tests/test_d/unwrap_observable.ts | 0 .../src/tsd_tests/test_d/values.ts | 0 .../src/tsd_tests/test_d/writable.ts | 0 .../shared}/kbn-utility-types/tsconfig.json | 2 +- .../packages/shared}/kbn-zod/README.md | 0 .../packages/shared}/kbn-zod/index.ts | 0 .../packages/shared/kbn-zod/jest.config.js | 14 + .../packages/shared}/kbn-zod/kibana.jsonc | 0 .../packages/shared}/kbn-zod/package.json | 0 .../packages/shared}/kbn-zod/tsconfig.json | 2 +- .../packages/shared}/kbn-zod/types.test.ts | 0 .../packages/shared}/kbn-zod/types.ts | 0 .../packages/shared}/kbn-zod/util.test.ts | 0 .../platform/packages/shared}/kbn-zod/util.ts | 0 .../plugins/private}/ftr_apis/README.md | 0 .../plugins/private/ftr_apis}/jest.config.js | 8 +- .../plugins/private}/ftr_apis/kibana.jsonc | 0 .../private}/ftr_apis/server/config.ts | 0 .../plugins/private}/ftr_apis/server/index.ts | 0 .../private}/ftr_apis/server/plugin.ts | 0 .../private}/ftr_apis/server/routes/index.ts | 0 .../routes/kbn_client_so/bulk_delete.ts | 0 .../server/routes/kbn_client_so/clean.ts | 0 .../server/routes/kbn_client_so/create.ts | 0 .../server/routes/kbn_client_so/delete.ts | 0 .../server/routes/kbn_client_so/find.ts | 0 .../server/routes/kbn_client_so/get.ts | 0 .../server/routes/kbn_client_so/index.ts | 0 .../server/routes/kbn_client_so/update.ts | 0 .../server/routes/kbn_client_so/utils.ts | 0 .../plugins/private}/ftr_apis/tsconfig.json | 2 +- .../kibana_usage_collection/README.md | 0 .../common/constants.ts | 0 .../kibana_usage_collection/jest.config.js | 20 + .../jest.integration.config.js | 4 +- .../kibana_usage_collection/kibana.jsonc | 0 .../public/ebt_counters/README.md | 0 .../public/ebt_counters/index.ts | 0 .../register_ebt_counters.test.ts | 0 .../ebt_counters/register_ebt_counters.ts | 0 .../kibana_usage_collection/public/index.ts | 0 .../public/plugin.test.mocks.ts | 0 .../public/plugin.test.ts | 0 .../kibana_usage_collection/public/plugin.ts | 0 .../collectors/application_usage/README.md | 2 +- .../collectors/application_usage/constants.ts | 0 .../collectors/application_usage/index.ts | 0 .../application_usage/rollups/index.ts | 0 .../application_usage/rollups/total.test.ts | 0 .../application_usage/rollups/total.ts | 0 .../application_usage/rollups/utils.ts | 0 .../application_usage/saved_objects_types.ts | 0 .../collectors/application_usage/schema.ts | 0 ...emetry_application_usage_collector.test.ts | 0 .../telemetry_application_usage_collector.ts | 0 .../collectors/application_usage/types.ts | 0 .../cloud_provider_collector.test.mocks.ts | 0 .../cloud/cloud_provider_collector.test.ts | 0 .../cloud/cloud_provider_collector.ts | 0 .../collectors/cloud/detector/aws.test.ts | 0 .../server/collectors/cloud/detector/aws.ts | 0 .../collectors/cloud/detector/azure.test.ts | 0 .../server/collectors/cloud/detector/azure.ts | 0 .../cloud/detector/cloud_detector.mock.ts | 0 .../cloud/detector/cloud_detector.test.ts | 0 .../cloud/detector/cloud_detector.ts | 0 .../cloud/detector/cloud_response.test.ts | 0 .../cloud/detector/cloud_response.ts | 0 .../cloud/detector/cloud_service.test.ts | 0 .../cloud/detector/cloud_service.ts | 0 .../collectors/cloud/detector/gcp.test.ts | 0 .../server/collectors/cloud/detector/gcp.ts | 0 .../server/collectors/cloud/detector/index.ts | 0 .../server/collectors/cloud/index.ts | 0 .../__fixtures__/counters_saved_objects.ts | 0 .../server/collectors/common/counters.test.ts | 0 .../server/collectors/common/counters.ts | 0 .../server/collectors/config_usage/README.md | 0 .../server/collectors/config_usage/index.ts | 0 .../register_config_usage_collector.test.ts | 0 .../register_config_usage_collector.ts | 0 .../core/core_usage_collector.test.ts | 0 .../collectors/core/core_usage_collector.ts | 0 .../core/fetch_deprecated_api_counters.ts | 0 .../server/collectors/core/index.ts | 0 .../collectors/csp/csp_collector.test.ts | 0 .../server/collectors/csp/csp_collector.ts | 0 .../server/collectors/csp/index.ts | 0 .../collectors/event_loop_delays/constants.ts | 0 .../event_loop_delays_usage_collector.test.ts | 0 .../event_loop_delays_usage_collector.ts | 0 .../collectors/event_loop_delays/index.ts | 0 .../event_loop_delays/rollups/daily.test.ts | 0 .../event_loop_delays/rollups/daily.ts | 0 .../event_loop_delays/rollups/index.ts | 0 .../integration_tests/daily_rollups.test.ts | 0 .../event_loop_delays/saved_objects.test.ts | 0 .../event_loop_delays/saved_objects.ts | 0 .../collectors/event_loop_delays/schema.ts | 0 .../event_loop_delays/track_delays.test.ts | 0 .../event_loop_delays/track_delays.ts | 0 .../event_loop_delays/track_threshold.test.ts | 0 .../event_loop_delays/track_threshold.ts | 0 .../server/collectors/index.ts | 0 .../localization/file_integrity.test.mocks.ts | 0 .../localization/file_integrity.test.ts | 0 .../collectors/localization/file_integrity.ts | 0 .../server/collectors/localization/index.ts | 0 .../telemetry_localization_collector.test.ts | 0 .../telemetry_localization_collector.ts | 0 .../server/collectors/management/README.md | 0 .../server/collectors/management/index.ts | 0 .../server/collectors/management/schema.ts | 0 .../telemetry_management_collector.test.ts | 0 .../telemetry_management_collector.ts | 0 .../server/collectors/management/types.ts | 0 .../ops_stats_collector.test.ts.snap | 0 .../server/collectors/ops_stats/index.ts | 0 .../ops_stats/ops_stats_collector.test.ts | 0 .../ops_stats/ops_stats_collector.ts | 0 .../get_saved_object_counts.test.ts | 0 .../get_saved_object_counts.ts | 0 .../get_saved_object_counts/index.ts | 0 .../collectors/saved_objects_counts/index.ts | 0 .../kibana_usage_collector.test.ts | 0 .../kibana_usage_collector.ts | 0 .../saved_objects_count.test.mocks.ts | 0 .../saved_objects_count_collector.test.ts | 0 .../saved_objects_count_collector.ts | 0 .../server/collectors/ui_counters/index.ts | 0 .../register_ui_counters_collector.test.ts | 0 .../register_ui_counters_collector.ts | 0 .../server/collectors/ui_metric/index.test.ts | 0 .../server/collectors/ui_metric/index.ts | 0 .../server/collectors/ui_metric/schema.ts | 0 .../telemetry_ui_metric_collector.ts | 0 .../server/collectors/usage_counters/index.ts | 0 .../register_usage_counters_collector.test.ts | 0 .../register_usage_counters_collector.ts | 0 .../server/ebt_counters/README.md | 0 .../server/ebt_counters/index.ts | 0 .../register_ebt_counters.test.ts | 0 .../ebt_counters/register_ebt_counters.ts | 0 .../kibana_usage_collection/server/index.ts | 0 .../server/plugin.test.mocks.ts | 0 .../server/plugin.test.ts | 0 .../kibana_usage_collection/server/plugin.ts | 0 .../kibana_usage_collection/tsconfig.json | 4 +- .../plugins/shared}/newsfeed/README.md | 0 .../shared}/newsfeed/common/constants.ts | 0 .../plugins/shared/newsfeed}/jest.config.js | 8 +- .../plugins/shared}/newsfeed/kibana.jsonc | 0 .../__snapshots__/empty_news.test.tsx.snap | 0 .../__snapshots__/loading_news.test.tsx.snap | 0 .../public/components/empty_news.test.tsx | 0 .../newsfeed/public/components/empty_news.tsx | 0 .../public/components/flyout_list.tsx | 0 .../public/components/loading_news.test.tsx | 0 .../public/components/loading_news.tsx | 0 .../components/newsfeed_header_nav_button.tsx | 0 .../plugins/shared}/newsfeed/public/index.ts | 0 .../newsfeed/public/lib/api.test.mocks.ts | 0 .../shared}/newsfeed/public/lib/api.test.ts | 0 .../shared}/newsfeed/public/lib/api.ts | 0 .../newsfeed/public/lib/convert_items.test.ts | 0 .../newsfeed/public/lib/convert_items.ts | 0 .../newsfeed/public/lib/driver.mock.ts | 0 .../newsfeed/public/lib/driver.test.mocks.ts | 0 .../newsfeed/public/lib/driver.test.ts | 0 .../shared}/newsfeed/public/lib/driver.ts | 0 .../newsfeed/public/lib/never_fetch_driver.ts | 0 .../newsfeed/public/lib/storage.mock.ts | 0 .../newsfeed/public/lib/storage.test.ts | 0 .../shared}/newsfeed/public/lib/storage.ts | 0 .../shared}/newsfeed/public/lib/types.ts | 0 .../shared}/newsfeed/public/plugin.test.ts | 0 .../shared}/newsfeed/public/plugin.tsx | 0 .../plugins/shared}/newsfeed/public/types.ts | 0 .../plugins/shared}/newsfeed/server/config.ts | 0 .../plugins/shared}/newsfeed/server/index.ts | 0 .../plugins/shared}/newsfeed/server/plugin.ts | 0 .../plugins/shared}/newsfeed/tsconfig.json | 4 +- .../saved_objects_management/README.md | 0 .../saved_objects_management/common/index.ts | 0 .../common/types/README.md | 0 .../common/types/index.ts | 0 .../common/types/latest.ts | 0 .../common/types/v1.ts | 0 .../saved_objects_management/jest.config.js | 20 + .../saved_objects_management/kibana.jsonc | 0 .../saved_objects_management/public/index.ts | 0 .../public/lib/bulk_delete_objects.ts | 0 .../public/lib/bulk_get_objects.ts | 0 .../public/lib/extract_export_details.test.ts | 0 .../public/lib/extract_export_details.ts | 0 .../lib/fetch_export_by_type_and_search.ts | 0 .../public/lib/fetch_export_objects.ts | 0 .../public/lib/find_objects.ts | 0 .../public/lib/get_allowed_types.ts | 0 .../public/lib/get_default_title.ts | 0 .../public/lib/get_relationships.test.ts | 0 .../public/lib/get_relationships.ts | 0 .../public/lib/get_saved_object_counts.ts | 0 .../public/lib/get_saved_object_label.test.ts | 0 .../public/lib/get_saved_object_label.ts | 0 .../public/lib/get_tag_references.test.ts | 0 .../public/lib/get_tag_references.ts | 0 .../public/lib/import_file.ts | 0 .../public/lib/index.ts | 0 .../public/lib/numeric.ts | 0 .../public/lib/parse_query.test.ts | 0 .../public/lib/parse_query.ts | 0 .../lib/process_import_response.test.ts | 0 .../public/lib/process_import_response.ts | 0 .../public/lib/resolve_import_errors.test.ts | 0 .../public/lib/resolve_import_errors.ts | 0 .../public/management_section/index.ts | 0 .../management_section/mount_section.tsx | 0 .../saved_object_view.test.tsx.snap | 0 .../__snapshots__/header.test.tsx.snap | 0 .../__snapshots__/inspect.test.tsx.snap | 0 .../not_found_errors.test.tsx.snap | 0 .../object_view/components/header.test.tsx | 0 .../object_view/components/header.tsx | 0 .../object_view/components/index.ts | 0 .../object_view/components/inspect.test.tsx | 0 .../object_view/components/inspect.tsx | 0 .../components/not_found_errors.test.tsx | 0 .../components/not_found_errors.tsx | 0 .../management_section/object_view/index.ts | 0 .../object_view/saved_object_view.scss | 0 .../saved_object_view.test.mocks.ts | 0 .../object_view/saved_object_view.test.tsx | 0 .../object_view/saved_object_view.tsx | 0 .../saved_objects_table.test.tsx.snap | 0 .../__snapshots__/flyout.test.tsx.snap | 0 .../__snapshots__/header.test.tsx.snap | 0 .../__snapshots__/relationships.test.tsx.snap | 0 .../__snapshots__/table.test.tsx.snap | 0 .../components/delete_confirm_modal.test.tsx | 0 .../components/delete_confirm_modal.tsx | 0 .../components/export_modal.test.tsx | 0 .../objects_table/components/export_modal.tsx | 0 .../components/flyout.test.mocks.ts | 0 .../objects_table/components/flyout.test.tsx | 0 .../objects_table/components/flyout.tsx | 0 .../objects_table/components/header.test.tsx | 0 .../objects_table/components/header.tsx | 0 .../components/import_mode_control.test.tsx | 0 .../components/import_mode_control.tsx | 0 .../components/import_summary.scss | 0 .../components/import_summary.test.tsx | 0 .../components/import_summary.tsx | 0 .../objects_table/components/index.ts | 0 .../components/overwrite_modal.test.tsx | 0 .../components/overwrite_modal.tsx | 0 .../components/relationships.test.tsx | 0 .../components/relationships.tsx | 0 .../objects_table/components/table.test.tsx | 0 .../objects_table/components/table.tsx | 0 .../management_section/objects_table/index.ts | 0 .../saved_objects_table.test.mocks.ts | 0 .../saved_objects_table.test.tsx | 0 .../objects_table/saved_objects_table.tsx | 0 .../saved_objects_edition_page.scss | 0 .../saved_objects_edition_page.tsx | 0 .../saved_objects_table_page.tsx | 0 .../saved_objects_management/public/mocks.ts | 0 .../public/plugin.test.ts | 0 .../saved_objects_management/public/plugin.ts | 0 .../public/services/action_service.mock.ts | 0 .../public/services/action_service.test.ts | 0 .../public/services/action_service.ts | 0 .../copy_saved_objects_to_space_action.tsx | 0 .../public/services/actions/index.ts | 0 ...are_saved_objects_to_space_action.test.tsx | 0 .../share_saved_objects_to_space_action.tsx | 0 .../public/services/column_service.mock.ts | 0 .../public/services/column_service.test.ts | 0 .../public/services/column_service.ts | 0 .../public/services/columns/constants.ts | 0 .../public/services/columns/index.ts | 0 .../share_saved_objects_to_space_column.tsx | 0 .../public/services/index.ts | 0 .../public/services/types/action.ts | 0 .../public/services/types/column.ts | 0 .../public/services/types/index.ts | 0 .../public/services/types/record.ts | 0 .../saved_objects_management/public/types.ts | 0 .../server/capabilities_provider.ts | 0 .../saved_objects_management/server/index.ts | 0 .../server/lib/find_relationships.test.ts | 0 .../server/lib/find_relationships.ts | 0 .../server/lib/get_saved_objects_counts.ts | 0 .../server/lib/index.ts | 0 .../server/lib/inject_meta_attributes.test.ts | 0 .../server/lib/inject_meta_attributes.ts | 0 .../server/lib/to_saved_object_with_meta.ts | 0 .../server/plugin.test.mocks.ts | 0 .../server/plugin.test.ts | 0 .../saved_objects_management/server/plugin.ts | 0 .../server/routes/bulk_delete.ts | 0 .../server/routes/bulk_get.ts | 0 .../server/routes/find.ts | 0 .../server/routes/get_allowed_types.ts | 0 .../server/routes/index.test.ts | 0 .../server/routes/index.ts | 0 .../server/routes/relationships.ts | 0 .../server/routes/scroll_count.ts | 0 .../server/services/index.ts | 0 .../server/services/management.mock.ts | 0 .../server/services/management.test.ts | 0 .../server/services/management.ts | 0 .../saved_objects_management/server/types.ts | 0 .../saved_objects_management/tsconfig.json | 2 +- .../plugins/shared}/telemetry/README.md | 0 .../shared}/telemetry/common/constants.ts | 0 .../ebt_v3_endpoint/build_headers.test.ts | 0 .../common/ebt_v3_endpoint/build_headers.ts | 0 .../common/ebt_v3_endpoint/build_url.test.ts | 0 .../common/ebt_v3_endpoint/build_url.ts | 0 .../telemetry/common/ebt_v3_endpoint/index.ts | 0 .../common/is_report_interval_expired.test.ts | 0 .../common/is_report_interval_expired.ts | 0 .../shared}/telemetry/common/routes.ts | 0 .../get_telemetry_channel_endpoint.test.ts | 0 .../get_telemetry_channel_endpoint.ts | 0 .../common/telemetry_config/index.ts | 0 .../shared}/telemetry/common/types/index.ts | 0 .../shared}/telemetry/common/types/latest.ts | 0 .../shared}/telemetry/common/types/v2.ts | 0 .../plugins/shared/telemetry}/jest.config.js | 8 +- .../plugins/shared}/telemetry/kibana.jsonc | 0 .../public/components/opt_in_message.test.tsx | 0 .../public/components/opt_in_message.tsx | 0 .../opt_in_status_notice_banner.test.tsx | 0 .../opt_in_status_notice_banner.tsx | 0 .../welcome_telemetry_notice.test.tsx | 0 .../components/welcome_telemetry_notice.tsx | 0 .../plugins/shared}/telemetry/public/index.ts | 0 .../plugins/shared}/telemetry/public/mocks.ts | 0 .../telemetry/public/plugin.test.mock.ts | 0 .../shared}/telemetry/public/plugin.test.ts | 0 .../shared}/telemetry/public/plugin.ts | 0 .../render_welcome_telemetry_notice.test.ts | 0 .../render_welcome_telemetry_notice.tsx | 0 .../telemetry/public/services/index.ts | 0 .../services/telemetry_notifications/index.ts | 0 ...render_opt_in_status_notice_banner.test.ts | 0 .../render_opt_in_status_notice_banner.tsx | 0 .../telemetry_notifications.test.ts | 0 .../telemetry_notifications.ts | 0 .../public/services/telemetry_sender.test.ts | 0 .../public/services/telemetry_sender.ts | 0 .../public/services/telemetry_service.test.ts | 0 .../public/services/telemetry_service.ts | 0 .../shared}/telemetry/schema/README.md | 4 +- .../telemetry/schema/kbn_packages.json | 0 .../telemetry/schema/oss_platform.json} | 333 +++++++-- .../shared/telemetry/schema/oss_plugins.json | 43 ++ .../shared}/telemetry/schema/oss_root.json | 0 .../telemetry/server/collectors/index.ts | 0 .../collectors/telemetry_plugin/index.ts | 0 .../telemetry_plugin_collector.ts | 0 .../server/collectors/usage/index.ts | 0 .../server/collectors/usage/schema.ts | 0 .../usage/telemetry_usage_collector.test.ts | 0 .../usage/telemetry_usage_collector.ts | 0 .../telemetry/server/config/config.test.ts | 0 .../shared}/telemetry/server/config/config.ts | 0 .../shared}/telemetry/server/config/index.ts | 0 .../server/config/telemetry_labels.test.ts | 0 .../server/config/telemetry_labels.ts | 0 .../telemetry/server/fetcher.test.mock.ts | 0 .../shared}/telemetry/server/fetcher.test.ts | 0 .../shared}/telemetry/server/fetcher.ts | 0 .../server/get_next_attempt_date.test.ts | 0 .../telemetry/server/get_next_attempt_date.ts | 0 .../plugins/shared}/telemetry/server/index.ts | 0 .../plugins/shared}/telemetry/server/mocks.ts | 0 .../shared}/telemetry/server/plugin.test.ts | 0 .../shared}/telemetry/server/plugin.ts | 0 .../shared}/telemetry/server/routes/index.ts | 0 .../server/routes/telemetry_config.ts | 0 .../server/routes/telemetry_last_reported.ts | 0 .../server/routes/telemetry_opt_in.ts | 0 .../routes/telemetry_opt_in_stats.test.ts | 0 .../server/routes/telemetry_opt_in_stats.ts | 0 .../routes/telemetry_usage_stats.test.ts | 0 .../server/routes/telemetry_usage_stats.ts | 0 .../routes/telemetry_user_has_seen_notice.ts | 0 .../server/saved_objects/constants.ts | 0 .../get_telemetry_saved_object.test.ts | 0 .../get_telemetry_saved_object.ts | 0 .../telemetry/server/saved_objects/index.ts | 0 .../register_telemetry_saved_object.ts | 0 .../telemetry/server/saved_objects/types.ts | 0 .../update_telemetry_saved_object.ts | 0 .../server/telemetry_collection/constants.ts | 0 .../get_cluster_info.test.ts | 0 .../telemetry_collection/get_cluster_info.ts | 0 .../get_cluster_stats.test.ts | 0 .../telemetry_collection/get_cluster_stats.ts | 0 .../get_data_telemetry/constants.ts | 0 .../get_data_telemetry.test.ts | 0 .../get_data_telemetry/get_data_telemetry.ts | 0 .../get_data_telemetry/index.ts | 0 .../server/telemetry_collection/get_kibana.ts | 0 .../get_local_stats.test.ts | 0 .../telemetry_collection/get_local_stats.ts | 0 .../get_nodes_usage.test.ts | 0 .../telemetry_collection/get_nodes_usage.ts | 0 .../server/telemetry_collection/index.ts | 0 .../register_collection.ts | 0 ..._telemetry_allow_changing_opt_in_status.ts | 0 .../get_telemetry_failure_details.test.ts | 0 .../get_telemetry_failure_details.ts | 0 ...ry_notify_user_about_optin_default.test.ts | 0 ...lemetry_notify_user_about_optin_default.ts | 0 .../get_telemetry_opt_in.test.ts | 0 .../telemetry_config/get_telemetry_opt_in.ts | 0 .../get_telemetry_send_usage_from.test.ts | 0 .../get_telemetry_send_usage_from.ts | 0 .../server/telemetry_config/index.ts | 0 .../plugins/shared}/telemetry/tsconfig.json | 4 +- .../telemetry_collection_manager/README.md | 0 .../common/index.ts | 0 .../jest.config.js | 20 + .../telemetry_collection_manager/kibana.jsonc | 0 .../server/cache/cache_manager.test.ts | 0 .../server/cache/cache_manager.ts | 0 .../server/cache/index.ts | 0 .../server/encryption/encrypt.test.mocks.ts | 0 .../server/encryption/encrypt.test.ts | 0 .../server/encryption/encrypt.ts | 0 .../server/encryption/index.ts | 0 .../server/encryption/telemetry_jwks.ts | 0 .../server/index.ts | 0 .../server/mocks.ts | 0 .../server/plugin.test.ts | 0 .../server/plugin.ts | 0 .../telemetry_saved_objects_client.test.ts | 0 .../server/telemetry_saved_objects_client.ts | 0 .../server/types.ts | 0 .../tsconfig.json | 2 +- .../telemetry_management_section/README.md | 0 .../common/constants.ts | 0 .../common/index.ts | 0 .../jest.config.js | 20 + .../telemetry_management_section/kibana.jsonc | 0 .../opt_in_example_flyout.test.tsx.snap | 0 ...telemetry_management_section.test.tsx.snap | 0 .../public/components/index.ts | 0 .../components/lazy_opt_in_example_flyout.tsx | 0 .../public/components/loading_spinner.tsx | 0 .../components/opt_in_example_flyout.test.tsx | 0 .../components/opt_in_example_flyout.tsx | 0 .../telemetry_management_section.test.tsx | 0 .../telemetry_management_section.tsx | 0 .../telemetry_management_section_wrapper.tsx | 0 .../public/index.ts | 0 .../public/plugin.tsx | 0 .../tsconfig.json | 4 +- .../shared}/usage_collection/README.mdx | 8 +- .../common/application_usage.ts | 0 .../usage_collection/common/constants.ts | 0 .../shared}/usage_collection/common/index.ts | 0 .../usage_collection/common/types/index.ts | 0 .../common/types/stats/core_metrics.ts | 2 +- .../common/types/stats/index.ts | 0 .../common/types/stats/latest.ts | 0 .../usage_collection/common/types/stats/v1.ts | 0 .../common/types/ui_counters/index.ts | 0 .../common/types/ui_counters/latest.ts | 0 .../common/types/ui_counters/v1.ts | 0 .../common/types/usage_counters/index.ts | 0 .../common/types/usage_counters/latest.ts | 0 .../common/types/usage_counters/v1.ts | 0 .../shared/usage_collection}/jest.config.js | 8 +- .../jest.integration.config.js | 4 +- .../shared}/usage_collection/kibana.jsonc | 0 .../public/components/index.ts | 0 .../track_application_view/index.ts | 0 .../track_application_view.test.tsx | 0 .../track_application_view.tsx | 0 .../track_application_view_component.test.tsx | 0 .../track_application_view_component.tsx | 0 .../track_application_view/types.ts | 0 .../shared}/usage_collection/public/index.ts | 0 .../shared}/usage_collection/public/mocks.tsx | 0 .../usage_collection/public/plugin.tsx | 0 .../public/services/application_usage.test.ts | 0 .../public/services/application_usage.ts | 0 .../public/services/create_reporter.ts | 0 .../usage_collection/public/services/index.ts | 0 .../__snapshots__/collector_set.test.ts.snap | 0 .../server/collector/collector.test.ts | 0 .../server/collector/collector.ts | 0 .../server/collector/collector_set.test.ts | 0 .../server/collector/collector_set.ts | 0 .../collector/collector_stats/README.md | 0 .../server/collector/collector_stats/index.ts | 0 .../collector/collector_stats/schema.ts | 0 .../usage_collector_stats_collector.test.ts | 0 .../usage_collector_stats_collector.ts | 0 .../server/collector/index.ts | 0 .../server/collector/measure_duration.ts | 0 .../server/collector/types.ts | 0 .../server/collector/usage_collector.ts | 0 .../shared}/usage_collection/server/config.ts | 0 .../shared}/usage_collection/server/index.ts | 0 .../shared}/usage_collection/server/mocks.ts | 0 .../shared}/usage_collection/server/plugin.ts | 0 .../usage_collection/server/report/index.ts | 0 .../usage_collection/server/report/schema.ts | 0 .../report/store_application_usage.test.ts | 0 .../server/report/store_application_usage.ts | 0 .../report/store_ui_report.test.mocks.ts | 0 .../server/report/store_ui_report.test.ts | 0 .../server/report/store_ui_report.ts | 0 .../usage_collection/server/routes/index.ts | 0 .../routes/integration_tests/stats.test.ts | 0 .../server/routes/stats/README.md | 0 .../server/routes/stats/index.ts | 0 .../server/routes/stats/stats.ts | 0 .../server/routes/ui_counters.ts | 0 .../usage_counters/common/kuery_utils.test.ts | 0 .../usage_counters/common/kuery_utils.ts | 0 .../server/usage_counters/index.ts | 0 .../integration_tests/counter_utils.ts | 0 .../integration_tests/rollups.test.ts | 0 .../integration_tests/search.test.ts | 0 .../usage_counters/rollups/constants.ts | 0 .../server/usage_counters/rollups/index.ts | 0 .../rollups/register_rollups.ts | 0 .../usage_counters/rollups/rollups.test.ts | 0 .../server/usage_counters/rollups/rollups.ts | 0 .../usage_counters/saved_objects.test.ts | 0 .../server/usage_counters/saved_objects.ts | 0 .../server/usage_counters/search/index.ts | 0 .../usage_counters/search/search.fixtures.ts | 0 .../usage_counters/search/search.test.ts | 0 .../server/usage_counters/search/search.ts | 0 .../server/usage_counters/types.ts | 0 .../usage_counters/usage_counter.test.ts | 0 .../server/usage_counters/usage_counter.ts | 0 .../usage_counters_service.mock.ts | 0 .../usage_counters_service.test.ts | 0 .../usage_counters/usage_counters_service.ts | 0 .../shared}/usage_collection/tsconfig.json | 4 +- src/plugins/ftr_apis/jest.config.js | 17 - src/plugins/newsfeed/jest.config.js | 17 - src/plugins/telemetry/jest.config.js | 17 - .../telemetry/schema/oss_platform.json | 298 -------- .../jest.config.js | 18 - test/common/plugins/newsfeed/server/plugin.ts | 4 +- .../plugins/telemetry/package.json | 2 +- .../plugins/usage_collection/package.json | 2 +- tsconfig.base.json | 648 +++++++++--------- x-pack/.i18nrc.json | 10 +- x-pack/.telemetryrc.json | 12 +- .../feature_privilege_builder/cases.ts | 2 +- .../plugins/private/canvas/i18n/README.md | 2 +- .../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 | 18 + .../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 | 18 + .../cloud_links/kibana.jsonc | 0 .../cloud_links/public/index.ts | 0 .../maybe_add_cloud_links.test.ts.snap | 0 .../appearance_selector/appearance_modal.tsx | 0 .../appearance_selector.test.tsx | 0 .../appearance_selector.tsx | 0 .../appearance_selector/index.ts | 0 .../use_appearance_hook.ts | 0 .../appearance_selector/values_group.tsx | 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 .../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 +- .../telemetry_collection_xpack/README.md | 0 .../telemetry_collection_xpack/jest.config.js | 18 + .../telemetry_collection_xpack/kibana.jsonc | 0 .../schema/README.md | 6 +- .../schema/xpack_monitoring.json | 0 .../schema/xpack_observability.json | 0 .../schema/xpack_platform.json | 101 +++ .../schema/xpack_plugins.json | 101 --- .../schema/xpack_root.json | 0 .../schema/xpack_search.json | 0 .../schema/xpack_security.json | 0 .../server/index.ts | 0 .../server/plugin.ts | 0 .../get_stats_with_xpack.test.ts.snap | 0 .../server/telemetry_collection/constants.ts | 0 .../telemetry_collection/get_license.test.ts | 0 .../telemetry_collection/get_license.ts | 0 .../get_stats_with_xpack.test.ts | 0 .../get_stats_with_xpack.ts | 0 .../telemetry_collection/get_xpack.test.ts | 0 .../server/telemetry_collection/get_xpack.ts | 0 .../server/telemetry_collection/index.ts | 0 .../is_cluster_opted_in.test.ts | 0 .../is_cluster_opted_in.ts | 0 .../telemetry_collection_xpack/tsconfig.json | 4 +- .../private/translations/README.asciidoc | 2 +- .../private}/upgrade_assistant/README.md | 16 +- .../client_integration/app/app.helpers.tsx | 0 .../app/cluster_upgrade.test.tsx | 0 .../app/privileges.test.tsx | 0 .../es_deprecation_logs.helpers.ts | 0 .../es_deprecation_logs.test.tsx | 0 ...luster_settings_deprecation_flyout.test.ts | 0 .../default_deprecation_flyout.test.ts | 0 .../es_deprecations/deprecations_list.test.ts | 0 .../es_deprecations/error_handling.test.ts | 0 .../es_deprecations.helpers.ts | 0 .../index_settings_deprecation_flyout.test.ts | 0 .../ml_snapshots_deprecation_flyout.test.ts | 0 .../es_deprecations/mocked_responses.ts | 0 .../reindex_deprecation_flyout.test.ts | 0 .../helpers/app_context.mock.ts | 0 .../helpers/http_requests.ts | 0 .../client_integration/helpers/index.ts | 0 .../helpers/setup_environment.tsx | 0 .../helpers/time_manipulation.ts | 0 .../deprecation_details_flyout.test.ts | 0 .../deprecations_table.test.ts | 0 .../deprecations_table/error_handling.test.ts | 0 .../kibana_deprecations.helpers.ts | 0 .../kibana_deprecations/service.mock.ts | 0 .../overview/backup_step/backup_step.test.tsx | 0 .../elasticsearch_deprecation_issues.test.tsx | 0 .../fix_issues_step/fix_issues_step.test.tsx | 0 .../kibana_deprecation_issues.test.tsx | 0 .../fix_issues_step/mock_es_issues.ts | 0 .../overview/logs_step/logs_step.test.tsx | 0 .../__snapshots__/flyout.test.ts.snap | 0 .../migrate_system_indices/flyout.test.ts | 0 .../migrate_system_indices.test.tsx | 0 .../overview/migrate_system_indices/mocks.ts | 0 .../step_completion.test.ts | 0 .../overview/overview.helpers.ts | 0 .../overview/overview.test.tsx | 0 .../upgrade_step/upgrade_step.test.tsx | 0 .../upgrade_assistant/common/constants.ts | 0 .../common/get_index_state.test.ts | 0 .../common/get_index_state.ts | 0 .../upgrade_assistant/common/types.ts | 0 .../private/upgrade_assistant}/jest.config.js | 8 +- .../private}/upgrade_assistant/kibana.jsonc | 0 .../public/application/app.tsx | 0 .../public/application/app_context.tsx | 0 .../application/components/constants.tsx | 0 .../es_deprecation_logs.tsx | 0 .../_deprecation_logging_toggle.scss | 0 .../deprecation_logging_toggle.tsx | 0 .../deprecation_logging_toggle/index.ts | 0 .../deprecations_count_checkpoint.tsx | 0 .../deprecations_count_checkpoint/index.ts | 0 .../external_links.test.ts | 0 .../fix_deprecation_logs/external_links.tsx | 0 .../fix_deprecation_logs.tsx | 0 .../fix_deprecation_logs/index.ts | 0 .../use_deprecation_logging.ts | 0 .../components/es_deprecation_logs/index.ts | 0 .../cluster_settings/flyout.tsx | 0 .../cluster_settings/index.ts | 0 .../resolution_table_cell.tsx | 0 .../cluster_settings/table_row.tsx | 0 .../deprecation_types/default/flyout.tsx | 0 .../deprecation_types/default/index.ts | 0 .../deprecation_types/default/table_row.tsx | 0 .../health_indicator/flyout.tsx | 0 .../health_indicator/index.ts | 0 .../health_indicator/table_row.tsx | 0 .../deprecation_types/index.tsx | 0 .../index_settings/flyout.tsx | 0 .../deprecation_types/index_settings/index.ts | 0 .../index_settings/resolution_table_cell.tsx | 0 .../index_settings/table_row.tsx | 0 .../ml_snapshots/context.tsx | 0 .../deprecation_types/ml_snapshots/flyout.tsx | 0 .../deprecation_types/ml_snapshots/index.ts | 0 .../ml_snapshots/resolution_table_cell.tsx | 0 .../ml_snapshots/table_row.tsx | 0 .../ml_snapshots/use_snapshot_state.tsx | 0 .../deprecation_types/reindex/context.tsx | 0 .../checklist_step.test.tsx.snap | 0 .../__snapshots__/warning_step.test.tsx.snap | 0 .../reindex/flyout/_step_progress.scss | 0 .../reindex/flyout/checklist_step.test.tsx | 0 .../reindex/flyout/checklist_step.tsx | 0 .../reindex/flyout/container.tsx | 0 .../reindex/flyout/index.tsx | 0 .../reindex/flyout/progress.test.tsx | 0 .../reindex/flyout/progress.tsx | 0 .../reindex/flyout/step_progress.tsx | 0 .../reindex/flyout/warning_step.test.tsx | 0 .../reindex/flyout/warning_step_checkbox.tsx | 0 .../reindex/flyout/warnings_step.tsx | 0 .../deprecation_types/reindex/index.tsx | 0 .../reindex/resolution_table_cell.tsx | 0 .../deprecation_types/reindex/table_row.tsx | 0 .../reindex/use_reindex_state.tsx | 0 .../es_deprecations/es_deprecations.tsx | 0 .../es_deprecations/es_deprecations_table.tsx | 0 .../es_deprecations_table_cells.tsx | 0 .../components/es_deprecations/index.ts | 0 .../public/application/components/index.ts | 0 .../_deprecation_details_flyout.scss | 0 .../deprecation_details_flyout.tsx | 0 .../components/kibana_deprecations/index.ts | 0 .../kibana_deprecations.tsx | 0 .../kibana_deprecations_table.tsx | 0 .../resolution_table_cell.tsx | 0 .../overview/backup_step/backup_step.tsx | 0 .../overview/backup_step/cloud_backup.tsx | 0 .../components/overview/backup_step/index.ts | 0 .../overview/backup_step/on_prem_backup.tsx | 0 .../components/_deprecation_issues_panel.scss | 0 .../components/deprecation_issues_panel.tsx | 0 .../es_deprecation_issues_panel.tsx | 0 .../fix_issues_step/components/index.ts | 0 .../kibana_deprecation_issues_panel.tsx | 0 .../components/loading_issues_error.tsx | 0 .../components/no_deprecation_issues.tsx | 0 .../fix_issues_step/fix_issues_step.tsx | 0 .../overview/fix_issues_step/index.ts | 0 .../application/components/overview/index.ts | 0 .../components/overview/logs_step/index.ts | 0 .../overview/logs_step/logs_step.tsx | 0 .../migrate_system_indices/flyout.tsx | 0 .../overview/migrate_system_indices/index.ts | 0 .../migrate_system_indices.tsx | 0 .../use_migrate_system_indices.ts | 0 .../components/overview/overview.tsx | 0 .../components/overview/upgrade_step/index.ts | 0 .../overview/upgrade_step/upgrade_step.tsx | 0 .../components/shared/deprecation_badge.tsx | 0 .../components/shared/deprecation_count.tsx | 0 .../deprecation_flyout_learn_more_link.tsx | 0 .../deprecations_page_loading_error.tsx | 0 .../application/components/shared/index.ts | 0 .../components/shared/level_info_tip.tsx | 0 .../components/shared/no_deprecations.tsx | 0 .../public/application/components/types.ts | 0 .../public/application/lib/api.ts | 0 .../public/application/lib/breadcrumbs.ts | 0 .../lib/get_es_deprecation_error.ts | 0 .../public/application/lib/logs_checkpoint.ts | 0 .../public/application/lib/ui_metric.ts | 0 .../public/application/lib/utils.test.ts | 0 .../public/application/lib/utils.ts | 0 .../application/mount_management_section.tsx | 0 .../upgrade_assistant/public/index.ts | 0 .../upgrade_assistant/public/plugin.ts | 0 .../public/shared_imports.ts | 0 .../upgrade_assistant/public/types.ts | 0 .../upgrade_assistant/server/config.ts | 0 .../upgrade_assistant/server/index.ts | 0 .../lib/__fixtures__/es_deprecations.ts | 0 .../lib/__fixtures__/fake_deprecations.json | 0 .../lib/__fixtures__/health_indicators.ts | 0 .../server/lib/__fixtures__/version.ts | 0 .../lib/__mocks__/es_version_precheck.ts | 0 .../__snapshots__/kibana_status.test.ts.snap | 0 .../lib/es_deprecation_logging_apis.test.ts | 0 .../server/lib/es_deprecation_logging_apis.ts | 0 .../__snapshots__/index.test.ts.snap | 0 .../get_corrective_actions.ts | 0 .../health_indicators.test.ts | 0 .../health_indicators.ts | 0 .../lib/es_deprecations_status/index.test.ts | 0 .../lib/es_deprecations_status/index.ts | 0 .../lib/es_deprecations_status/migrations.ts | 0 .../server/lib/es_indices_state_check.ts | 0 .../lib/es_system_indices_migration.test.ts | 0 .../server/lib/es_system_indices_migration.ts | 0 .../server/lib/es_version_precheck.test.ts | 0 .../server/lib/es_version_precheck.ts | 0 .../server/lib/kibana_status.test.ts | 0 .../server/lib/kibana_status.ts | 0 .../lib/reindexing/credential_store.test.ts | 0 .../server/lib/reindexing/credential_store.ts | 0 .../server/lib/reindexing/error.ts | 0 .../server/lib/reindexing/error_symbols.ts | 0 .../server/lib/reindexing/index.ts | 0 .../lib/reindexing/index_settings.test.ts | 0 .../server/lib/reindexing/index_settings.ts | 0 .../server/lib/reindexing/op_utils.ts | 0 .../lib/reindexing/reindex_actions.test.ts | 0 .../server/lib/reindexing/reindex_actions.ts | 0 .../lib/reindexing/reindex_service.test.ts | 0 .../server/lib/reindexing/reindex_service.ts | 0 .../server/lib/reindexing/types.ts | 0 .../server/lib/reindexing/worker.ts | 0 .../server/lib/telemetry/index.ts | 0 .../lib/telemetry/usage_collector.test.ts | 0 .../server/lib/telemetry/usage_collector.ts | 0 .../upgrade_assistant/server/lib/version.ts | 0 .../upgrade_assistant/server/plugin.ts | 0 .../server/routes/__mocks__/request.mock.ts | 0 .../server/routes/__mocks__/routes.mock.ts | 0 .../upgrade_assistant/server/routes/app.ts | 0 .../server/routes/cloud_backup_status.ts | 0 .../server/routes/cluster_settings.ts | 0 .../server/routes/cluster_upgrade_status.ts | 0 .../server/routes/deprecation_logging.test.ts | 0 .../server/routes/deprecation_logging.ts | 0 .../server/routes/es_deprecations.test.ts | 0 .../server/routes/es_deprecations.ts | 0 .../server/routes/ml_snapshots.test.ts | 0 .../server/routes/ml_snapshots.ts | 0 .../server/routes/node_disk_space.test.ts | 0 .../server/routes/node_disk_space.ts | 0 .../server/routes/register_routes.ts | 0 .../batch_reindex_indices.test.ts | 0 .../reindex_indices/batch_reindex_indices.ts | 0 .../reindex_indices/create_reindex_worker.ts | 0 .../server/routes/reindex_indices/index.ts | 0 .../map_any_error_to_kibana_http_response.ts | 0 .../routes/reindex_indices/reindex_handler.ts | 0 .../reindex_indices/reindex_indices.test.ts | 0 .../routes/reindex_indices/reindex_indices.ts | 0 .../server/routes/reindex_indices/types.ts | 0 .../server/routes/remote_clusters.ts | 0 .../server/routes/status.test.ts | 0 .../upgrade_assistant/server/routes/status.ts | 0 .../routes/system_indices_migration.test.ts | 0 .../server/routes/system_indices_migration.ts | 0 .../server/routes/update_index_settings.ts | 0 .../server/saved_object_types/index.ts | 0 .../ml_upgrade_operation_saved_object_type.ts | 0 .../reindex_operation_saved_object_type.ts | 0 .../server/shared_imports.ts | 0 .../upgrade_assistant/server/types.ts | 0 .../private}/upgrade_assistant/tsconfig.json | 4 +- .../server/connectors/cases/retry_service.ts | 2 +- .../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 | 0 .../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 | 18 + .../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 +- .../plugins/shared}/features/README.md | 0 .../common/alerting_kibana_privilege.ts | 0 .../features/common/elasticsearch_feature.ts | 0 .../feature_elasticsearch_privileges.ts | 0 .../common/feature_kibana_privileges.ts | 2 +- .../feature_kibana_privileges_reference.ts | 0 .../plugins/shared}/features/common/index.ts | 0 .../shared}/features/common/kibana_feature.ts | 0 .../common/reserved_kibana_privilege.ts | 0 .../shared}/features/common/sub_feature.ts | 0 .../plugins/shared/features}/jest.config.js | 8 +- .../plugins/shared}/features/kibana.jsonc | 0 .../public/features_api_client.test.ts | 0 .../features/public/features_api_client.ts | 0 .../plugins/shared}/features/public/index.ts | 0 .../plugins/shared}/features/public/mocks.ts | 0 .../shared}/features/public/plugin.test.ts | 0 .../plugins/shared}/features/public/plugin.ts | 0 .../feature_registry.test.ts.snap | 0 .../__snapshots__/oss_features.test.ts.snap | 0 .../shared}/features/server/config.test.ts | 0 .../plugins/shared}/features/server/config.ts | 0 .../feature_privilege_iterator.test.ts | 0 .../feature_privilege_iterator.ts | 0 .../feature_privilege_iterator/index.ts | 0 .../sub_feature_privilege_iterator.ts | 0 .../features/server/feature_registry.test.ts | 0 .../features/server/feature_registry.ts | 0 .../shared}/features/server/feature_schema.ts | 0 .../plugins/shared}/features/server/index.ts | 0 .../plugins/shared}/features/server/mocks.ts | 0 .../features/server/oss_features.test.ts | 0 .../shared}/features/server/oss_features.ts | 0 .../shared}/features/server/plugin.test.ts | 0 .../plugins/shared}/features/server/plugin.ts | 0 .../features/server/routes/index.test.ts | 0 .../shared}/features/server/routes/index.ts | 0 .../plugins/shared}/features/server/types.ts | 0 .../ui_capabilities_for_features.test.ts | 0 .../server/ui_capabilities_for_features.ts | 0 .../plugins/shared}/features/tsconfig.json | 2 +- .../fleet/server/services/debug/index.ts | 2 +- .../plugins/shared}/licensing/README.md | 0 .../common/has_license_info_changed.test.ts | 0 .../common/has_license_info_changed.ts | 0 .../shared}/licensing/common/license.test.ts | 0 .../shared}/licensing/common/license.ts | 0 .../licensing/common/license_update.test.ts | 0 .../licensing/common/license_update.ts | 0 .../licensing/common/licensing.mock.ts | 0 ...egister_analytics_context_provider.test.ts | 0 .../register_analytics_context_provider.ts | 0 .../plugins/shared}/licensing/common/types.ts | 0 .../plugins/shared/licensing}/jest.config.js | 8 +- .../plugins/shared}/licensing/kibana.jsonc | 0 .../licensing/public/expired_banner.tsx | 0 .../plugins/shared}/licensing/public/index.ts | 0 .../plugins/shared}/licensing/public/mocks.ts | 0 .../licensing/public/plugin.test.mocks.ts | 0 .../shared}/licensing/public/plugin.test.ts | 0 .../shared}/licensing/public/plugin.ts | 0 .../services/feature_usage_service.mock.ts | 0 .../services/feature_usage_service.test.ts | 0 .../public/services/feature_usage_service.ts | 0 .../licensing/public/services/index.ts | 0 .../plugins/shared}/licensing/public/types.ts | 0 .../plugins/shared}/licensing/server/index.ts | 0 .../licensing/server/license_fetcher.test.ts | 0 .../licensing/server/license_fetcher.ts | 0 .../licensing/server/licensing_config.ts | 0 .../licensing_route_handler_context.test.ts | 0 .../server/licensing_route_handler_context.ts | 0 .../plugins/shared}/licensing/server/mocks.ts | 0 .../server/on_pre_response_handler.test.ts | 0 .../server/on_pre_response_handler.ts | 0 .../shared}/licensing/server/plugin.test.ts | 0 .../shared}/licensing/server/plugin.ts | 0 .../licensing/server/plugin_status.test.ts | 0 .../shared}/licensing/server/plugin_status.ts | 0 .../licensing/server/routes/feature_usage.ts | 0 .../shared}/licensing/server/routes/index.ts | 0 .../shared}/licensing/server/routes/info.ts | 0 .../licensing/server/routes/internal/index.ts | 0 .../routes/internal/notify_feature_usage.ts | 0 .../routes/internal/register_feature.ts | 0 .../services/feature_usage_service.mock.ts | 0 .../services/feature_usage_service.test.ts | 0 .../server/services/feature_usage_service.ts | 0 .../licensing/server/services/index.ts | 0 .../plugins/shared}/licensing/server/types.ts | 0 .../wrap_route_with_license_check.test.ts | 0 .../server/wrap_route_with_license_check.ts | 0 .../plugins/shared}/licensing/tsconfig.json | 2 +- .../server/plugin.ts | 2 +- x-pack/plugins/cloud/jest.config.js | 15 - .../server/create_model_version.ts | 2 +- x-pack/plugins/features/jest.config.js | 15 - x-pack/plugins/licensing/jest.config.js | 15 - .../telemetry_collection_xpack/jest.config.js | 16 - .../plugins/apm/dev_docs/telemetry.md | 2 +- .../plugins/apm/server/feature.ts | 2 +- .../plugins/inventory/server/feature.ts | 2 +- .../observability/dev_docs/feature_flags.md | 2 +- .../plugins/profiling/server/feature.ts | 2 +- .../plugins/enterprise_search/SERVER.md | 2 +- .../server/lib/route_config_helpers.ts | 2 +- .../prebuilt_rules_customization.md | 2 +- .../public/entity_analytics/common/utils.ts | 2 +- .../test_suites/application_usage/index.ts | 2 +- .../stack_management_usage/index.ts | 4 +- yarn.lock | 324 ++++----- 4062 files changed, 3376 insertions(+), 3352 deletions(-) delete mode 100644 packages/core/deprecations/core-deprecations-browser-internal/jest.config.js delete mode 100644 packages/core/deprecations/core-deprecations-browser/jest.config.js delete mode 100644 packages/core/deprecations/core-deprecations-common/jest.config.js delete mode 100644 packages/core/deprecations/core-deprecations-server-internal/jest.config.js delete mode 100644 packages/core/doc-links/core-doc-links-browser-internal/jest.config.js delete mode 100644 packages/core/elasticsearch/core-elasticsearch-client-server-internal/jest.config.js delete mode 100644 packages/core/elasticsearch/core-elasticsearch-server-internal/jest.config.js delete mode 100644 packages/core/elasticsearch/core-elasticsearch-server/jest.config.js delete mode 100644 packages/core/environment/core-environment-server-internal/jest.config.js delete mode 100644 packages/core/execution-context/core-execution-context-browser-internal/jest.config.js delete mode 100644 packages/core/execution-context/core-execution-context-browser/jest.config.js delete mode 100644 packages/core/execution-context/core-execution-context-common/jest.config.js delete mode 100644 packages/core/execution-context/core-execution-context-server-internal/jest.config.js delete mode 100644 packages/core/execution-context/core-execution-context-server/jest.config.js delete mode 100644 packages/core/fatal-errors/core-fatal-errors-browser-internal/jest.config.js delete mode 100644 packages/core/fatal-errors/core-fatal-errors-browser/jest.config.js delete mode 100644 packages/core/feature-flags/core-feature-flags-browser-internal/jest.config.js delete mode 100644 packages/core/feature-flags/core-feature-flags-browser-mocks/jest.config.js delete mode 100644 packages/core/feature-flags/core-feature-flags-server-internal/jest.config.js delete mode 100644 packages/core/feature-flags/core-feature-flags-server-mocks/jest.config.js delete mode 100644 packages/core/http/core-http-request-handler-context-server-internal/jest.config.js delete mode 100644 packages/core/http/core-http-request-handler-context-server/jest.config.js delete mode 100644 packages/core/http/core-http-resources-server-internal/jest.config.js delete mode 100644 packages/core/i18n/core-i18n-browser-internal/jest.config.js delete mode 100644 packages/core/i18n/core-i18n-server/jest.config.js delete mode 100644 packages/core/i18n/core-i18n-server/tsconfig.json delete mode 100644 packages/core/injected-metadata/core-injected-metadata-browser-internal/jest.config.js delete mode 100644 packages/core/injected-metadata/core-injected-metadata-common-internal/jest.config.js delete mode 100644 packages/core/integrations/core-integrations-browser-internal/jest.config.js delete mode 100644 packages/core/lifecycle/core-lifecycle-browser-internal/jest.config.js delete mode 100644 packages/core/lifecycle/core-lifecycle-browser/jest.config.js delete mode 100644 packages/core/lifecycle/core-lifecycle-server-internal/jest.config.js delete mode 100644 packages/core/lifecycle/core-lifecycle-server/jest.config.js delete mode 100644 packages/core/logging/core-logging-common-internal/jest.config.js delete mode 100644 packages/core/logging/core-logging-server-internal/jest.config.js delete mode 100644 packages/core/metrics/core-metrics-collectors-server-internal/jest.config.js delete mode 100644 packages/core/metrics/core-metrics-server-internal/jest.config.js delete mode 100644 packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js delete mode 100644 packages/core/mount-utils/core-mount-utils-browser/jest.config.js delete mode 100644 packages/core/node/core-node-server-internal/jest.config.js delete mode 100644 packages/core/node/core-node-server/tsconfig.json delete mode 100644 packages/core/notifications/core-notifications-browser-internal/jest.config.js delete mode 100644 packages/core/notifications/core-notifications-browser/jest.config.js delete mode 100644 packages/core/overlays/core-overlays-browser-internal/jest.config.js delete mode 100644 packages/core/overlays/core-overlays-browser/jest.config.js delete mode 100644 packages/core/plugins/core-plugins-base-server-internal/jest.config.js delete mode 100644 packages/core/plugins/core-plugins-browser-internal/jest.config.js delete mode 100644 packages/core/plugins/core-plugins-contracts-browser/jest.config.js delete mode 100644 packages/core/plugins/core-plugins-contracts-server/jest.config.js delete mode 100644 packages/core/plugins/core-plugins-server-internal/jest.config.js delete mode 100644 packages/core/preboot/core-preboot-server-internal/jest.config.js delete mode 100644 packages/core/preboot/core-preboot-server/jest.config.js delete mode 100644 packages/core/preboot/core-preboot-server/tsconfig.json delete mode 100644 packages/core/rendering/core-rendering-browser-internal/jest.config.js delete mode 100644 packages/core/rendering/core-rendering-browser/jest.config.js delete mode 100644 packages/core/rendering/core-rendering-server-internal/jest.config.js delete mode 100644 packages/core/root/core-root-browser-internal/jest.config.js delete mode 100644 packages/core/root/core-root-server-internal/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-api-browser/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-api-server-internal/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-api-server/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-base-server-internal/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-browser-internal/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-browser/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-common/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-common/tsconfig.json delete mode 100644 packages/core/saved-objects/core-saved-objects-import-export-server-internal/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-migration-server-internal/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-server-internal/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-server/jest.config.js delete mode 100644 packages/core/saved-objects/core-saved-objects-utils-server/jest.config.js delete mode 100644 packages/core/security/core-security-browser-internal/jest.config.js delete mode 100644 packages/core/security/core-security-browser-mocks/jest.config.js delete mode 100644 packages/core/security/core-security-browser/jest.config.js delete mode 100644 packages/core/security/core-security-server-mocks/jest.config.js delete mode 100644 packages/core/status/core-status-common/jest.config.js delete mode 100644 packages/core/test-helpers/core-test-helpers-deprecations-getters/jest.config.js delete mode 100644 packages/core/test-helpers/core-test-helpers-http-setup-browser/jest.config.js delete mode 100644 packages/core/test-helpers/core-test-helpers-so-type-serializer/jest.config.js delete mode 100644 packages/core/test-helpers/core-test-helpers-test-utils/jest.config.js delete mode 100644 packages/core/theme/core-theme-browser/jest.config.js delete mode 100644 packages/core/theme/core-theme-browser/tsconfig.json delete mode 100644 packages/core/usage-data/core-usage-data-base-server-internal/jest.config.js delete mode 100644 packages/core/usage-data/core-usage-data-server-internal/jest.config.js delete mode 100644 packages/core/usage-data/core-usage-data-server/jest.config.js delete mode 100644 packages/core/user-profile/core-user-profile-browser-internal/jest.config.js delete mode 100644 packages/core/user-profile/core-user-profile-browser-mocks/jest.config.js delete mode 100644 packages/core/user-profile/core-user-profile-browser/jest.config.js delete mode 100644 packages/core/user-profile/core-user-profile-common/jest.config.js delete mode 100644 packages/core/user-profile/core-user-profile-server-internal/jest.config.js delete mode 100644 packages/core/user-profile/core-user-profile-server-mocks/jest.config.js delete mode 100644 packages/core/user-profile/core-user-profile-server/jest.config.js delete mode 100644 packages/kbn-crypto-browser/jest.config.js delete mode 100644 packages/kbn-crypto-browser/tsconfig.json delete mode 100644 packages/kbn-ebt-tools/jest.config.js delete mode 100644 packages/kbn-es-errors/tsconfig.json delete mode 100644 packages/kbn-health-gateway-server/jest.config.js delete mode 100644 packages/kbn-i18n-react/jest.config.js delete mode 100644 packages/kbn-i18n/jest.config.js delete mode 100644 packages/kbn-logging/jest.config.js delete mode 100644 packages/kbn-router-to-openapispec/jest.config.js delete mode 100644 packages/kbn-server-http-tools/jest.config.js delete mode 100644 packages/kbn-std/jest.config.js delete mode 100644 packages/kbn-zod/jest.config.js rename {packages/core/base/core-base-common-internal => src/core/packages/base/common-internal}/README.md (100%) rename {packages/core/base/core-base-common-internal => src/core/packages/base/common-internal}/index.ts (100%) create mode 100644 src/core/packages/base/common-internal/jest.config.js rename {packages/core/base/core-base-common-internal => src/core/packages/base/common-internal}/kibana.jsonc (100%) rename {packages/core/base/core-base-common-internal => src/core/packages/base/common-internal}/package.json (100%) rename {packages/core/base/core-base-common-internal => src/core/packages/base/common-internal}/src/core.ts (100%) rename {packages/core/base/core-base-common-internal => src/core/packages/base/common-internal}/tsconfig.json (79%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/README.md (100%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/index.ts (100%) rename {packages/core/http/core-http-server-utils => src/core/packages/base/server-internal}/jest.config.js (85%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/kibana.jsonc (100%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/package.json (100%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/src/config.ts (100%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/src/core_context.ts (100%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/src/errors.ts (100%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/src/regexp.ts (100%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/src/services.ts (100%) rename {packages/core/base/core-base-server-internal => src/core/packages/base/server-internal}/tsconfig.json (87%) rename {packages/core/capabilities/core-capabilities-browser-internal => src/core/packages/capabilities/browser-internal}/README.md (100%) rename {packages/core/capabilities/core-capabilities-browser-internal => src/core/packages/capabilities/browser-internal}/index.ts (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/capabilities/browser-internal}/jest.config.js (84%) rename {packages/core/capabilities/core-capabilities-browser-internal => src/core/packages/capabilities/browser-internal}/kibana.jsonc (100%) rename {packages/core/capabilities/core-capabilities-browser-internal => src/core/packages/capabilities/browser-internal}/package.json (100%) rename {packages/core/capabilities/core-capabilities-browser-internal => src/core/packages/capabilities/browser-internal}/src/capabilities_service.test.ts (100%) rename {packages/core/capabilities/core-capabilities-browser-internal => src/core/packages/capabilities/browser-internal}/src/capabilities_service.tsx (100%) rename {packages/core/capabilities/core-capabilities-browser-internal => src/core/packages/capabilities/browser-internal}/tsconfig.json (88%) rename {packages/core/capabilities/core-capabilities-common => src/core/packages/capabilities/common}/README.md (100%) rename {packages/core/capabilities/core-capabilities-common => src/core/packages/capabilities/common}/index.ts (100%) create mode 100644 src/core/packages/capabilities/common/jest.config.js rename {packages/core/capabilities/core-capabilities-common => src/core/packages/capabilities/common}/kibana.jsonc (100%) rename {packages/core/capabilities/core-capabilities-common => src/core/packages/capabilities/common}/package.json (100%) rename {packages/core/capabilities/core-capabilities-common => src/core/packages/capabilities/common}/src/capabilities.ts (100%) rename {packages/core/http/core-http-common => src/core/packages/capabilities/common}/tsconfig.json (78%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/README.md (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/index.ts (100%) create mode 100644 src/core/packages/capabilities/server-internal/jest.config.js rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/kibana.jsonc (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/package.json (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/capabilities_service.test.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/capabilities_service.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/merge_capabilities.test.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/merge_capabilities.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/resolve_capabilities.test.mocks.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/resolve_capabilities.test.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/resolve_capabilities.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/resolve_helpers.test.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/resolve_helpers.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/routes/index.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/routes/resolve_capabilities.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/src/types.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/tsconfig.json (91%) rename {packages/core/capabilities/core-capabilities-server => src/core/packages/capabilities/server}/README.md (100%) rename {packages/core/capabilities/core-capabilities-server => src/core/packages/capabilities/server}/index.ts (100%) rename {packages/core/status/core-status-server => src/core/packages/capabilities/server}/jest.config.js (85%) rename {packages/core/capabilities/core-capabilities-server => src/core/packages/capabilities/server}/kibana.jsonc (100%) rename {packages/core/capabilities/core-capabilities-server => src/core/packages/capabilities/server}/package.json (100%) rename {packages/core/capabilities/core-capabilities-server => src/core/packages/capabilities/server}/src/capabilities.ts (100%) rename {packages/core/capabilities/core-capabilities-server => src/core/packages/capabilities/server}/src/contracts.ts (100%) rename {packages/core/capabilities/core-capabilities-server => src/core/packages/capabilities/server}/tsconfig.json (85%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/README.md (100%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/index.ts (100%) create mode 100644 src/core/packages/config/server-internal/jest.config.js rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/kibana.jsonc (100%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/package.json (100%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/src/deprecation/core_deprecations.test.ts (100%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/src/deprecation/core_deprecations.ts (100%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/src/deprecation/index.ts (100%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/src/ensure_valid_configuration.test.ts (100%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/src/ensure_valid_configuration.ts (100%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/tsconfig.json (87%) rename {packages/core/deprecations/core-deprecations-browser-internal => src/core/packages/deprecations/browser-internal}/README.md (100%) rename {packages/core/deprecations/core-deprecations-browser-internal => src/core/packages/deprecations/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/deprecations/browser-internal/jest.config.js rename {packages/core/deprecations/core-deprecations-browser-internal => src/core/packages/deprecations/browser-internal}/kibana.jsonc (100%) rename {packages/core/deprecations/core-deprecations-browser-internal => src/core/packages/deprecations/browser-internal}/package.json (100%) rename {packages/core/deprecations/core-deprecations-browser-internal => src/core/packages/deprecations/browser-internal}/src/deprecations_client.test.ts (100%) rename {packages/core/deprecations/core-deprecations-browser-internal => src/core/packages/deprecations/browser-internal}/src/deprecations_client.ts (100%) rename {packages/core/deprecations/core-deprecations-browser-internal => src/core/packages/deprecations/browser-internal}/src/deprecations_service.ts (100%) rename {packages/core/deprecations/core-deprecations-browser-internal => src/core/packages/deprecations/browser-internal}/tsconfig.json (89%) rename {packages/core/deprecations/core-deprecations-browser => src/core/packages/deprecations/browser}/README.md (100%) rename {packages/core/deprecations/core-deprecations-browser => src/core/packages/deprecations/browser}/index.ts (100%) create mode 100644 src/core/packages/deprecations/browser/jest.config.js rename {packages/core/deprecations/core-deprecations-browser => src/core/packages/deprecations/browser}/kibana.jsonc (100%) rename {packages/core/deprecations/core-deprecations-browser => src/core/packages/deprecations/browser}/package.json (100%) rename {packages/core/deprecations/core-deprecations-browser => src/core/packages/deprecations/browser}/src/contracts.ts (100%) rename {packages/core/deprecations/core-deprecations-browser => src/core/packages/deprecations/browser}/src/types.ts (100%) rename {packages/core/deprecations/core-deprecations-browser => src/core/packages/deprecations/browser}/tsconfig.json (83%) rename {packages/core/deprecations/core-deprecations-common => src/core/packages/deprecations/common}/README.md (100%) rename {packages/core/deprecations/core-deprecations-common => src/core/packages/deprecations/common}/index.ts (100%) create mode 100644 src/core/packages/deprecations/common/jest.config.js rename {packages/core/deprecations/core-deprecations-common => src/core/packages/deprecations/common}/kibana.jsonc (100%) rename {packages/core/deprecations/core-deprecations-common => src/core/packages/deprecations/common}/package.json (100%) rename {packages/core/deprecations/core-deprecations-common => src/core/packages/deprecations/common}/src/types.ts (100%) rename {packages/core/deprecations/core-deprecations-common => src/core/packages/deprecations/common}/tsconfig.json (78%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/README.md (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/index.ts (100%) create mode 100644 src/core/packages/deprecations/server-internal/jest.config.js rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/kibana.jsonc (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/package.json (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecation_config.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/access/access_deprecations.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/access/i18n_texts.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/access/index.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/api_deprecation_id.test.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/api_deprecation_id.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/index.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/register_api_depercation_info.test.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/register_api_depercation_info.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/route/i18n_texts.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/route/index.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/route/route_deprecations.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/api_deprecations/types.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/config_deprecations.test.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/config_deprecations.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations/index.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations_factory.test.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations_factory.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations_registry.test.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations_registry.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations_route_handler_context.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations_service.test.mocks.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations_service.test.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/deprecations_service.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/index.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/internal_types.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/mocks/deprecations_factory.mock.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/mocks/deprecations_registry.mock.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/mocks/index.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/routes/get.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/routes/index.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/routes/post_validation_handler.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/src/routes/resolve_deprecated_api.ts (100%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/tsconfig.json (95%) rename {packages/core/deprecations/core-deprecations-server => src/core/packages/deprecations/server}/README.md (100%) rename {packages/core/deprecations/core-deprecations-server => src/core/packages/deprecations/server}/index.ts (100%) create mode 100644 src/core/packages/deprecations/server/jest.config.js rename {packages/core/deprecations/core-deprecations-server => src/core/packages/deprecations/server}/kibana.jsonc (100%) rename {packages/core/deprecations/core-deprecations-server => src/core/packages/deprecations/server}/package.json (100%) rename {packages/core/deprecations/core-deprecations-server => src/core/packages/deprecations/server}/src/contracts.ts (100%) rename {packages/core/deprecations/core-deprecations-server => src/core/packages/deprecations/server}/src/index.ts (100%) rename {packages/core/deprecations/core-deprecations-server => src/core/packages/deprecations/server}/src/request_handler_context.ts (100%) rename {packages/core/deprecations/core-deprecations-server => src/core/packages/deprecations/server}/tsconfig.json (88%) rename {packages/core/doc-links/core-doc-links-browser-internal => src/core/packages/doc-links/browser-internal}/README.md (100%) rename {packages/core/doc-links/core-doc-links-browser-internal => src/core/packages/doc-links/browser-internal}/index.ts (100%) rename {packages/core/base/core-base-common-internal => src/core/packages/doc-links/browser-internal}/jest.config.js (84%) rename {packages/core/doc-links/core-doc-links-browser-internal => src/core/packages/doc-links/browser-internal}/kibana.jsonc (100%) rename {packages/core/doc-links/core-doc-links-browser-internal => src/core/packages/doc-links/browser-internal}/package.json (100%) rename {packages/core/doc-links/core-doc-links-browser-internal => src/core/packages/doc-links/browser-internal}/src/doc_links_service.test.mocks.ts (100%) rename {packages/core/doc-links/core-doc-links-browser-internal => src/core/packages/doc-links/browser-internal}/src/doc_links_service.test.ts (100%) rename {packages/core/doc-links/core-doc-links-browser-internal => src/core/packages/doc-links/browser-internal}/src/doc_links_service.ts (100%) rename {packages/core/doc-links/core-doc-links-browser-internal => src/core/packages/doc-links/browser-internal}/tsconfig.json (89%) rename {packages/core/doc-links/core-doc-links-browser => src/core/packages/doc-links/browser}/README.md (100%) rename {packages/core/doc-links/core-doc-links-browser => src/core/packages/doc-links/browser}/index.ts (100%) create mode 100644 src/core/packages/doc-links/browser/jest.config.js rename {packages/core/doc-links/core-doc-links-browser => src/core/packages/doc-links/browser}/kibana.jsonc (100%) rename {packages/core/doc-links/core-doc-links-browser => src/core/packages/doc-links/browser}/package.json (100%) rename {packages/core/doc-links/core-doc-links-browser => src/core/packages/doc-links/browser}/src/types.ts (100%) rename {packages/core/doc-links/core-doc-links-browser => src/core/packages/doc-links/browser}/tsconfig.json (82%) rename {packages/core/doc-links/core-doc-links-server-internal => src/core/packages/doc-links/server-internal}/README.md (100%) rename {packages/core/doc-links/core-doc-links-server-internal => src/core/packages/doc-links/server-internal}/index.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/doc-links/server-internal}/jest.config.js (85%) rename {packages/core/doc-links/core-doc-links-server-internal => src/core/packages/doc-links/server-internal}/kibana.jsonc (100%) rename {packages/core/doc-links/core-doc-links-server-internal => src/core/packages/doc-links/server-internal}/package.json (100%) rename {packages/core/doc-links/core-doc-links-server-internal => src/core/packages/doc-links/server-internal}/src/doc_links_service.test.mocks.ts (100%) rename {packages/core/doc-links/core-doc-links-server-internal => src/core/packages/doc-links/server-internal}/src/doc_links_service.test.ts (100%) rename {packages/core/doc-links/core-doc-links-server-internal => src/core/packages/doc-links/server-internal}/src/doc_links_service.ts (100%) rename {packages/core/doc-links/core-doc-links-server-internal => src/core/packages/doc-links/server-internal}/tsconfig.json (87%) rename {packages/core/doc-links/core-doc-links-server => src/core/packages/doc-links/server}/README.md (100%) rename {packages/core/doc-links/core-doc-links-server => src/core/packages/doc-links/server}/index.ts (100%) create mode 100644 src/core/packages/doc-links/server/jest.config.js rename {packages/core/doc-links/core-doc-links-server => src/core/packages/doc-links/server}/kibana.jsonc (100%) rename {packages/core/doc-links/core-doc-links-server => src/core/packages/doc-links/server}/package.json (100%) rename {packages/core/doc-links/core-doc-links-server => src/core/packages/doc-links/server}/src/types.ts (100%) rename {packages/core/doc-links/core-doc-links-server => src/core/packages/doc-links/server}/tsconfig.json (82%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/README.md (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/index.ts (100%) rename {packages/core/doc-links/core-doc-links-server-internal => src/core/packages/elasticsearch/client-server-internal}/jest.config.js (85%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/kibana.jsonc (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/package.json (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/agent_manager.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/agent_manager.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/client_config.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/client_config.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/cluster_client.test.mocks.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/cluster_client.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/cluster_client.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/configure_client.test.mocks.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/configure_client.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/configure_client.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/create_transport.test.mocks.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/create_transport.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/create_transport.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/get_agents_sockets_stats.test.mocks.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/get_agents_sockets_stats.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/get_agents_sockets_stats.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/get_ecs_response_log.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/get_ecs_response_log.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/headers.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/log_query_and_deprecation.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/log_query_and_deprecation.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/patch_client.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/retry_unauthorized.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/retry_unauthorized.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/scoped_cluster_client.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/src/scoped_cluster_client.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/tsconfig.json (91%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/README.md (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/index.ts (100%) create mode 100644 src/core/packages/elasticsearch/server-internal/jest.config.js rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/kibana.jsonc (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/package.json (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/default_headers.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/default_headers.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/elasticsearch_config.test.mocks.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/elasticsearch_config.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/elasticsearch_config.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/elasticsearch_route_handler_context.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/elasticsearch_service.test.mocks.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/elasticsearch_service.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/elasticsearch_service.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/get_capabilities.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/get_capabilities.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/get_cluster_info.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/get_cluster_info.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/is_scripting_enabled.test.mocks.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/is_scripting_enabled.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/is_scripting_enabled.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/is_valid_connection.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/is_valid_connection.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/merge_config.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/merge_config.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/register_analytics_context_provider.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/register_analytics_context_provider.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/retry_call_cluster.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/retry_call_cluster.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/retryable_es_client_errors.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/retryable_es_client_errors.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/status.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/status.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/supported_server_response_check.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/supported_server_response_check.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/types.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/version_check/ensure_es_version.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/version_check/ensure_es_version.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/version_check/es_kibana_version_compatability.test.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/src/version_check/es_kibana_version_compatability.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/tsconfig.json (95%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/README.md (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/index.ts (100%) rename {packages/core/logging/core-logging-server => src/core/packages/elasticsearch/server}/jest.config.js (85%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/kibana.jsonc (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/package.json (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/client/client.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/client/client_config.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/client/cluster_client.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/client/index.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/client/scopeable_request.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/client/scoped_cluster_client.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/client/unauthorized_error_handler.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/contracts.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/elasticsearch_config.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/src/request_handler_context.ts (100%) rename {packages/core/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/tsconfig.json (86%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/README.md (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/index.ts (100%) rename {packages/core/config/core-config-server-internal => src/core/packages/environment/server-internal}/jest.config.js (84%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/kibana.jsonc (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/package.json (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/create_data_folder.test.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/create_data_folder.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/environment_service.test.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/environment_service.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/fs.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/pid_config.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/resolve_uuid.test.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/resolve_uuid.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/types.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/write_pid_file.test.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/src/write_pid_file.ts (100%) rename {packages/core/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/tsconfig.json (90%) rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/README.md (100%) rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/execution-context/browser-internal/jest.config.js rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/kibana.jsonc (100%) rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/package.json (100%) rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/src/execution_context_container.test.ts (100%) rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/src/execution_context_container.ts (100%) rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/src/execution_context_service.test.ts (100%) rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/src/execution_context_service.ts (100%) rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/tsconfig.json (89%) rename {packages/core/execution-context/core-execution-context-browser => src/core/packages/execution-context/browser}/README.md (100%) rename {packages/core/execution-context/core-execution-context-browser => src/core/packages/execution-context/browser}/index.ts (100%) rename {packages/core/security/core-security-common => src/core/packages/execution-context/browser}/jest.config.js (84%) rename {packages/core/execution-context/core-execution-context-browser => src/core/packages/execution-context/browser}/kibana.jsonc (100%) rename {packages/core/execution-context/core-execution-context-browser => src/core/packages/execution-context/browser}/package.json (100%) rename {packages/core/execution-context/core-execution-context-browser => src/core/packages/execution-context/browser}/src/types.ts (100%) rename {packages/core/execution-context/core-execution-context-server => src/core/packages/execution-context/browser}/tsconfig.json (83%) rename {packages/core/execution-context/core-execution-context-common => src/core/packages/execution-context/common}/README.md (100%) rename {packages/core/execution-context/core-execution-context-common => src/core/packages/execution-context/common}/index.ts (100%) rename {packages/core/plugins/core-plugins-browser => src/core/packages/execution-context/common}/jest.config.js (84%) rename {packages/core/execution-context/core-execution-context-common => src/core/packages/execution-context/common}/kibana.jsonc (100%) rename {packages/core/execution-context/core-execution-context-common => src/core/packages/execution-context/common}/package.json (100%) rename {packages/core/execution-context/core-execution-context-common => src/core/packages/execution-context/common}/src/types.ts (100%) rename {packages/core/execution-context/core-execution-context-common => src/core/packages/execution-context/common}/tsconfig.json (78%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/README.md (100%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/index.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/execution-context/server-internal}/jest.config.js (85%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/kibana.jsonc (100%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/package.json (100%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/src/execution_context_config.ts (100%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/src/execution_context_container.test.ts (100%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/src/execution_context_container.ts (100%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/src/execution_context_service.test.ts (100%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/src/execution_context_service.ts (100%) rename {packages/core/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/tsconfig.json (90%) rename {packages/core/execution-context/core-execution-context-server => src/core/packages/execution-context/server}/README.md (100%) rename {packages/core/execution-context/core-execution-context-server => src/core/packages/execution-context/server}/index.ts (100%) rename {packages/core/doc-links/core-doc-links-server => src/core/packages/execution-context/server}/jest.config.js (84%) rename {packages/core/execution-context/core-execution-context-server => src/core/packages/execution-context/server}/kibana.jsonc (100%) rename {packages/core/execution-context/core-execution-context-server => src/core/packages/execution-context/server}/package.json (100%) rename {packages/core/execution-context/core-execution-context-server => src/core/packages/execution-context/server}/src/contracts.ts (100%) rename {packages/core/execution-context/core-execution-context-server => src/core/packages/execution-context/server}/src/types.ts (100%) rename {packages/core/execution-context/core-execution-context-browser => src/core/packages/execution-context/server}/tsconfig.json (83%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/README.md (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/fatal-errors/browser-internal/jest.config.js rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/kibana.jsonc (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/package.json (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/src/__snapshots__/fatal_errors_screen.test.tsx.snap (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/src/__snapshots__/fatal_errors_service.test.ts.snap (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/src/fatal_errors_screen.test.tsx (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/src/fatal_errors_screen.tsx (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/src/fatal_errors_service.test.mocks.ts (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/src/fatal_errors_service.test.ts (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/src/fatal_errors_service.tsx (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/src/get_error_info.test.ts (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/src/get_error_info.ts (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/tsconfig.json (93%) rename {packages/core/fatal-errors/core-fatal-errors-browser => src/core/packages/fatal-errors/browser}/README.md (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser => src/core/packages/fatal-errors/browser}/index.ts (100%) create mode 100644 src/core/packages/fatal-errors/browser/jest.config.js rename {packages/core/fatal-errors/core-fatal-errors-browser => src/core/packages/fatal-errors/browser}/kibana.jsonc (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser => src/core/packages/fatal-errors/browser}/package.json (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser => src/core/packages/fatal-errors/browser}/src/contract.ts (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser => src/core/packages/fatal-errors/browser}/src/get_error_info.ts (100%) rename {packages/core/fatal-errors/core-fatal-errors-browser => src/core/packages/fatal-errors/browser}/tsconfig.json (79%) rename {packages/core/feature-flags/core-feature-flags-browser-internal => src/core/packages/feature-flags/browser-internal}/README.md (100%) rename {packages/core/feature-flags/core-feature-flags-browser-internal => src/core/packages/feature-flags/browser-internal}/index.ts (100%) rename {packages/analytics/utils/analytics_collection_utils => src/core/packages/feature-flags/browser-internal}/jest.config.js (83%) rename {packages/core/feature-flags/core-feature-flags-browser-internal => src/core/packages/feature-flags/browser-internal}/kibana.jsonc (100%) rename {packages/core/feature-flags/core-feature-flags-browser-internal => src/core/packages/feature-flags/browser-internal}/package.json (100%) rename {packages/core/feature-flags/core-feature-flags-browser-internal => src/core/packages/feature-flags/browser-internal}/src/feature_flags_service.test.ts (100%) rename {packages/core/feature-flags/core-feature-flags-browser-internal => src/core/packages/feature-flags/browser-internal}/src/feature_flags_service.ts (100%) rename {packages/core/feature-flags/core-feature-flags-browser-internal => src/core/packages/feature-flags/browser-internal}/tsconfig.json (90%) rename {packages/core/feature-flags/core-feature-flags-browser-mocks => src/core/packages/feature-flags/browser-mocks}/README.md (100%) rename {packages/core/feature-flags/core-feature-flags-browser-mocks => src/core/packages/feature-flags/browser-mocks}/index.ts (100%) create mode 100644 src/core/packages/feature-flags/browser-mocks/jest.config.js rename {packages/core/feature-flags/core-feature-flags-browser-mocks => src/core/packages/feature-flags/browser-mocks}/kibana.jsonc (100%) rename {packages/core/feature-flags/core-feature-flags-browser-mocks => src/core/packages/feature-flags/browser-mocks}/package.json (100%) rename {packages/core/feature-flags/core-feature-flags-browser-mocks => src/core/packages/feature-flags/browser-mocks}/tsconfig.json (87%) rename {packages/core/feature-flags/core-feature-flags-browser => src/core/packages/feature-flags/browser}/README.md (100%) rename {packages/core/feature-flags/core-feature-flags-browser => src/core/packages/feature-flags/browser}/index.ts (100%) rename {packages/core/feature-flags/core-feature-flags-browser => src/core/packages/feature-flags/browser}/kibana.jsonc (100%) rename {packages/core/feature-flags/core-feature-flags-browser => src/core/packages/feature-flags/browser}/package.json (100%) rename {packages/core/feature-flags/core-feature-flags-browser => src/core/packages/feature-flags/browser}/src/types.ts (100%) rename {packages/core/feature-flags/core-feature-flags-browser => src/core/packages/feature-flags/browser}/tsconfig.json (81%) rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/README.md (100%) rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/index.ts (100%) create mode 100644 src/core/packages/feature-flags/server-internal/jest.config.js rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/kibana.jsonc (100%) rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/package.json (100%) rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/src/feature_flags_config.ts (100%) rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/src/feature_flags_request_handler_context.ts (100%) rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/src/feature_flags_service.test.ts (100%) rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/src/feature_flags_service.ts (100%) rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/tsconfig.json (88%) rename {packages/core/feature-flags/core-feature-flags-server-mocks => src/core/packages/feature-flags/server-mocks}/README.md (100%) rename {packages/core/feature-flags/core-feature-flags-server-mocks => src/core/packages/feature-flags/server-mocks}/index.ts (100%) create mode 100644 src/core/packages/feature-flags/server-mocks/jest.config.js rename {packages/core/feature-flags/core-feature-flags-server-mocks => src/core/packages/feature-flags/server-mocks}/kibana.jsonc (100%) rename {packages/core/feature-flags/core-feature-flags-server-mocks => src/core/packages/feature-flags/server-mocks}/package.json (100%) rename {packages/core/feature-flags/core-feature-flags-server-mocks => src/core/packages/feature-flags/server-mocks}/tsconfig.json (86%) rename {packages/core/feature-flags/core-feature-flags-server => src/core/packages/feature-flags/server}/README.md (100%) rename {packages/core/feature-flags/core-feature-flags-server => src/core/packages/feature-flags/server}/index.ts (100%) rename {packages/core/feature-flags/core-feature-flags-server => src/core/packages/feature-flags/server}/kibana.jsonc (100%) rename {packages/core/feature-flags/core-feature-flags-server => src/core/packages/feature-flags/server}/package.json (100%) rename {packages/core/feature-flags/core-feature-flags-server => src/core/packages/feature-flags/server}/src/contracts.ts (100%) rename {packages/core/feature-flags/core-feature-flags-server => src/core/packages/feature-flags/server}/src/feature_flag_definition.ts (100%) rename {packages/core/feature-flags/core-feature-flags-server => src/core/packages/feature-flags/server}/src/request_handler_context.ts (100%) rename {packages/core/feature-flags/core-feature-flags-server => src/core/packages/feature-flags/server}/tsconfig.json (79%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/README.md (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/http/browser-internal/jest.config.js rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/kibana.jsonc (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/package.json (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/_import_objects.ndjson (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/anonymous_paths_service.test.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/anonymous_paths_service.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/base_path.test.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/base_path.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/external_url_service.test.ts (99%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/external_url_service.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/fetch.test.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/fetch.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/http_fetch_error.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/http_intercept_controller.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/http_intercept_halt_error.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/http_service.test.mocks.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/http_service.test.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/http_service.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/intercept.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/loading_count_service.mock.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/loading_count_service.test.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/loading_count_service.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/static_assets.test.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/static_assets.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/src/types.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/tsconfig.json (93%) rename {packages/core/http/core-http-browser => src/core/packages/http/browser}/README.md (100%) rename {packages/core/http/core-http-browser => src/core/packages/http/browser}/index.ts (100%) rename {packages/cloud => src/core/packages/http/browser}/jest.config.js (85%) rename {packages/core/http/core-http-browser => src/core/packages/http/browser}/kibana.jsonc (100%) rename {packages/core/http/core-http-browser => src/core/packages/http/browser}/package.json (100%) rename {packages/core/http/core-http-browser => src/core/packages/http/browser}/src/types.ts (100%) rename {packages/core/http/core-http-browser => src/core/packages/http/browser}/src/utils.ts (100%) rename {packages/core/http/core-http-browser => src/core/packages/http/browser}/tsconfig.json (85%) rename {packages/core/http/core-http-common => src/core/packages/http/common}/README.md (100%) rename {packages/core/http/core-http-common => src/core/packages/http/common}/index.ts (100%) rename {packages/kbn-config-schema => src/core/packages/http/common}/jest.config.js (86%) rename {packages/core/http/core-http-common => src/core/packages/http/common}/kibana.jsonc (100%) rename {packages/core/http/core-http-common => src/core/packages/http/common}/package.json (100%) rename {packages/core/http/core-http-common => src/core/packages/http/common}/src/constants.ts (100%) rename {packages/core/http/core-http-common => src/core/packages/http/common}/src/external_url_policy.ts (100%) rename {packages/core/http/core-http-common => src/core/packages/http/common}/src/versioning.ts (100%) rename {packages/core/capabilities/core-capabilities-common => src/core/packages/http/common}/tsconfig.json (78%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/README.md (100%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/index.ts (100%) create mode 100644 src/core/packages/http/context-server-internal/jest.config.js rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/kibana.jsonc (100%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/package.json (100%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/src/context_container.test.ts (100%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/src/context_container.ts (100%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/src/context_service.test.mocks.ts (100%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/src/context_service.test.ts (100%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/src/context_service.ts (100%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/tsconfig.json (88%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/README.md (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/index.ts (100%) create mode 100644 src/core/packages/http/request-handler-context-server-internal/jest.config.js rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/kibana.jsonc (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/package.json (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/src/core_route_handler_context.test.ts (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/src/core_route_handler_context.ts (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/src/index.ts (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/src/preboot_core_route_handler_context.test.ts (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/src/preboot_core_route_handler_context.ts (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/src/test_helpers/core_route_handler_context_params.mock.ts (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/src/test_helpers/index.ts (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/src/test_helpers/preboot_core_route_handler_context_params.mock.ts (100%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/tsconfig.json (95%) rename {packages/core/http/core-http-request-handler-context-server => src/core/packages/http/request-handler-context-server}/README.md (100%) rename {packages/core/http/core-http-request-handler-context-server => src/core/packages/http/request-handler-context-server}/index.ts (100%) create mode 100644 src/core/packages/http/request-handler-context-server/jest.config.js rename {packages/core/http/core-http-request-handler-context-server => src/core/packages/http/request-handler-context-server}/kibana.jsonc (100%) rename {packages/core/http/core-http-request-handler-context-server => src/core/packages/http/request-handler-context-server}/package.json (100%) rename {packages/core/http/core-http-request-handler-context-server => src/core/packages/http/request-handler-context-server}/src/index.ts (100%) rename {packages/core/http/core-http-request-handler-context-server => src/core/packages/http/request-handler-context-server}/src/preboot_request_handler_context.ts (100%) rename {packages/core/http/core-http-request-handler-context-server => src/core/packages/http/request-handler-context-server}/src/request_handler_context.ts (100%) rename {packages/core/http/core-http-request-handler-context-server => src/core/packages/http/request-handler-context-server}/tsconfig.json (90%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/README.md (100%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/index.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/http/resources-server-internal}/jest.config.js (85%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/kibana.jsonc (100%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/package.json (100%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/src/http_resources_service.test.ts (100%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/src/http_resources_service.ts (100%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/src/index.ts (100%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/src/test_helpers/http_resources_service_test_mocks.ts (100%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/src/types.ts (100%) rename {packages/core/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/tsconfig.json (92%) rename {packages/core/http/core-http-resources-server => src/core/packages/http/resources-server}/README.md (100%) rename {packages/core/http/core-http-resources-server => src/core/packages/http/resources-server}/index.ts (100%) create mode 100644 src/core/packages/http/resources-server/jest.config.js rename {packages/core/http/core-http-resources-server => src/core/packages/http/resources-server}/kibana.jsonc (100%) rename {packages/core/http/core-http-resources-server => src/core/packages/http/resources-server}/package.json (100%) rename {packages/core/http/core-http-resources-server => src/core/packages/http/resources-server}/src/index.ts (100%) rename {packages/core/http/core-http-resources-server => src/core/packages/http/resources-server}/src/types.ts (100%) rename {packages/core/http/core-http-resources-server => src/core/packages/http/resources-server}/tsconfig.json (85%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/README.md (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/index.ts (100%) create mode 100644 src/core/packages/http/router-server-internal/jest.config.js rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/kibana.jsonc (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/package.json (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/error_wrapper.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/error_wrapper.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/headers.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/patch_requests.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/request.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/request.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/response.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/response.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/response_adapter.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/route.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/router.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/router.test.util.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/router.ts (99%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/security_route_config_validator.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/security_route_config_validator.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/socket.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/socket.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/strip_illegal_http2_headers.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/strip_illegal_http2_headers.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/util.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/util.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/validator.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/validator.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/core_versioned_route.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/core_versioned_route.test.util.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/core_versioned_route.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/core_versioned_router.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/core_versioned_router.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/handler_resolvers.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/handler_resolvers.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/index.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/mocks.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/route_version_utils.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/route_version_utils.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/types.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/util.test.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/util.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/src/versioned_router/validate.ts (100%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/tsconfig.json (90%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/README.md (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/index.ts (100%) rename {packages/core/metrics/core-metrics-server => src/core/packages/http/server-internal}/jest.config.js (85%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/kibana.jsonc (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/package.json (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/__fixtures/static/compression_available.json (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/__fixtures/static/compression_available.json.gz (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/__fixtures/static/some_json.json (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/__snapshots__/http_config.test.ts.snap (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/__snapshots__/http_service.test.ts.snap (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/__snapshots__/https_redirect_server.test.ts.snap (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/auth_headers_storage.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/auth_headers_storage.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/auth_state_storage.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/base_path_service.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/base_path_service.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/cdn_config/cdn_config.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/cdn_config/cdn_config.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/cdn_config/index.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/cookie_session_storage.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/csp/config.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/csp/config.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/csp/csp_config.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/csp/csp_config.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/csp/csp_directives.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/csp/csp_directives.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/csp/index.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/external_url/config.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/external_url/config.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/external_url/external_url_config.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/external_url/index.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/http_config.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/http_config.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/http_server.test.mocks.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/http_server.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/http_server.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/http_service.test.mocks.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/http_service.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/http_service.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/https_redirect_server.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/https_redirect_server.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/lifecycle/auth.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/lifecycle/on_post_auth.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/lifecycle/on_pre_auth.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/lifecycle/on_pre_response.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/lifecycle/on_pre_routing.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/lifecycle_handlers.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/lifecycle_handlers.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/logging/get_payload_size.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/logging/get_payload_size.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/logging/get_response_log.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/logging/get_response_log.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/logging/index.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/permissions_policy/config.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/permissions_policy/index.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/register_lifecycle_handlers.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/register_lifecycle_handlers.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/security_response_headers_config.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/security_response_headers_config.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/static_assets/index.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/static_assets/static_assets.test.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/static_assets/static_assets.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/static_assets/util.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/src/types.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/http/server-internal}/tsconfig.json (95%) rename {packages/core/http/core-http-server-utils => src/core/packages/http/server-utils}/README.md (100%) rename {packages/core/http/core-http-server-utils => src/core/packages/http/server-utils}/index.ts (100%) create mode 100644 src/core/packages/http/server-utils/jest.config.js rename {packages/core/http/core-http-server-utils => src/core/packages/http/server-utils}/kibana.jsonc (100%) rename {packages/core/http/core-http-server-utils => src/core/packages/http/server-utils}/package.json (100%) rename {packages/core/http/core-http-server-utils => src/core/packages/http/server-utils}/src/request.ts (100%) rename {packages/core/http/core-http-server-utils => src/core/packages/http/server-utils}/tsconfig.json (84%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/README.md (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/index.ts (100%) rename {packages/kbn-es-types => src/core/packages/http/server}/jest.config.js (86%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/kibana.jsonc (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/package.json (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/auth_headers.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/auth_state.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/base_path.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/csp.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/elu_monitor.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/external_url.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/http_contract.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/lifecycle/auth.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/lifecycle/index.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/lifecycle/on_post_auth.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/lifecycle/on_pre_auth.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/lifecycle/on_pre_response.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/lifecycle/on_pre_routing.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/context_container.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/context_provider.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/headers.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/index.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/raw_request.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/request.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/request_handler.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/request_handler_context.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/response.test.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/response.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/response_factory.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/route.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/route_validator.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/router.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/socket.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/utils.test.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/router/utils.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/session_storage.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/static_assets.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/versioning/README.md (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/versioning/index.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/src/versioning/types.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/http/server}/tsconfig.json (87%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/README.md (100%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/i18n/browser-internal/jest.config.js rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/kibana.jsonc (100%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/package.json (100%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/src/__snapshots__/i18n_service.test.tsx.snap (100%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/src/i18n_eui_mapping.test.ts (100%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/src/i18n_eui_mapping.tsx (100%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/src/i18n_service.test.tsx (100%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/src/i18n_service.tsx (100%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/tsconfig.json (85%) rename {packages/core/i18n/core-i18n-browser => src/core/packages/i18n/browser}/README.md (100%) rename {packages/core/i18n/core-i18n-browser => src/core/packages/i18n/browser}/index.ts (100%) rename {packages/kbn-config => src/core/packages/i18n/browser}/jest.config.js (85%) rename {packages/core/i18n/core-i18n-browser => src/core/packages/i18n/browser}/kibana.jsonc (100%) rename {packages/core/i18n/core-i18n-browser => src/core/packages/i18n/browser}/package.json (100%) rename {packages/core/i18n/core-i18n-browser => src/core/packages/i18n/browser}/src/types.ts (100%) rename {packages/core/i18n/core-i18n-browser => src/core/packages/i18n/browser}/tsconfig.json (80%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/README.md (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/index.ts (100%) create mode 100644 src/core/packages/i18n/server-internal/jest.config.js rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/kibana.jsonc (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/package.json (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/constants.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/get_kibana_translation_files.test.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/get_kibana_translation_files.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/get_translation_paths.test.mocks.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/get_translation_paths.test.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/get_translation_paths.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/i18n_config.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/i18n_service.test.mocks.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/i18n_service.test.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/i18n_service.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/index.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/init_translations.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/routes/index.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/routes/translations.test.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/src/routes/translations.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/tsconfig.json (92%) rename {packages/core/i18n/core-i18n-server => src/core/packages/i18n/server}/README.md (100%) rename {packages/core/i18n/core-i18n-server => src/core/packages/i18n/server}/index.ts (100%) rename {packages/kbn-apm-config-loader => src/core/packages/i18n/server}/jest.config.js (86%) rename {packages/core/i18n/core-i18n-server => src/core/packages/i18n/server}/kibana.jsonc (100%) rename {packages/core/i18n/core-i18n-server => src/core/packages/i18n/server}/package.json (100%) rename {packages/core/i18n/core-i18n-server => src/core/packages/i18n/server}/src/types.ts (100%) create mode 100644 src/core/packages/i18n/server/tsconfig.json rename {packages/core/injected-metadata/core-injected-metadata-browser-internal => src/core/packages/injected-metadata/browser-internal}/README.md (100%) rename {packages/core/injected-metadata/core-injected-metadata-browser-internal => src/core/packages/injected-metadata/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/injected-metadata/browser-internal/jest.config.js rename {packages/core/injected-metadata/core-injected-metadata-browser-internal => src/core/packages/injected-metadata/browser-internal}/kibana.jsonc (100%) rename {packages/core/injected-metadata/core-injected-metadata-browser-internal => src/core/packages/injected-metadata/browser-internal}/package.json (100%) rename {packages/core/injected-metadata/core-injected-metadata-browser-internal => src/core/packages/injected-metadata/browser-internal}/src/injected_metadata_service.test.ts (100%) rename {packages/core/injected-metadata/core-injected-metadata-browser-internal => src/core/packages/injected-metadata/browser-internal}/src/injected_metadata_service.ts (100%) rename {packages/core/injected-metadata/core-injected-metadata-browser-internal => src/core/packages/injected-metadata/browser-internal}/src/types.ts (100%) rename {packages/core/injected-metadata/core-injected-metadata-browser-internal => src/core/packages/injected-metadata/browser-internal}/tsconfig.json (87%) rename {packages/core/injected-metadata/core-injected-metadata-common-internal => src/core/packages/injected-metadata/common-internal}/README.md (100%) rename {packages/core/injected-metadata/core-injected-metadata-common-internal => src/core/packages/injected-metadata/common-internal}/index.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/injected-metadata/common-internal}/jest.config.js (84%) rename {packages/core/injected-metadata/core-injected-metadata-common-internal => src/core/packages/injected-metadata/common-internal}/kibana.jsonc (100%) rename {packages/core/injected-metadata/core-injected-metadata-common-internal => src/core/packages/injected-metadata/common-internal}/package.json (100%) rename {packages/core/injected-metadata/core-injected-metadata-common-internal => src/core/packages/injected-metadata/common-internal}/src/types.ts (100%) rename {packages/core/injected-metadata/core-injected-metadata-common-internal => src/core/packages/injected-metadata/common-internal}/tsconfig.json (89%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/README.md (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/integrations/browser-internal/jest.config.js rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/kibana.jsonc (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/package.json (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/integrations_service.test.mocks.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/integrations_service.test.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/integrations_service.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/moment/index.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/moment/moment_service.test.mocks.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/moment/moment_service.test.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/moment/moment_service.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/styles/disable_animations.css (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/styles/index.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/styles/styles_service.test.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/src/styles/styles_service.ts (100%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/tsconfig.json (87%) rename {packages/core/lifecycle/core-lifecycle-browser-internal => src/core/packages/lifecycle/browser-internal}/README.md (100%) rename {packages/core/lifecycle/core-lifecycle-browser-internal => src/core/packages/lifecycle/browser-internal}/index.ts (100%) rename {packages/core/doc-links/core-doc-links-browser => src/core/packages/lifecycle/browser-internal}/jest.config.js (83%) rename {packages/core/lifecycle/core-lifecycle-browser-internal => src/core/packages/lifecycle/browser-internal}/kibana.jsonc (100%) rename {packages/core/lifecycle/core-lifecycle-browser-internal => src/core/packages/lifecycle/browser-internal}/package.json (100%) rename {packages/core/lifecycle/core-lifecycle-browser-internal => src/core/packages/lifecycle/browser-internal}/src/index.ts (100%) rename {packages/core/lifecycle/core-lifecycle-browser-internal => src/core/packages/lifecycle/browser-internal}/src/internal_core_setup.ts (100%) rename {packages/core/lifecycle/core-lifecycle-browser-internal => src/core/packages/lifecycle/browser-internal}/src/internal_core_start.ts (100%) rename {packages/core/lifecycle/core-lifecycle-browser-internal => src/core/packages/lifecycle/browser-internal}/tsconfig.json (91%) rename {packages/core/lifecycle/core-lifecycle-browser => src/core/packages/lifecycle/browser}/README.md (100%) rename {packages/core/lifecycle/core-lifecycle-browser => src/core/packages/lifecycle/browser}/index.ts (100%) create mode 100644 src/core/packages/lifecycle/browser/jest.config.js rename {packages/core/lifecycle/core-lifecycle-browser => src/core/packages/lifecycle/browser}/kibana.jsonc (100%) rename {packages/core/lifecycle/core-lifecycle-browser => src/core/packages/lifecycle/browser}/package.json (100%) rename {packages/core/lifecycle/core-lifecycle-browser => src/core/packages/lifecycle/browser}/src/core_setup.ts (100%) rename {packages/core/lifecycle/core-lifecycle-browser => src/core/packages/lifecycle/browser}/src/core_start.ts (100%) rename {packages/core/lifecycle/core-lifecycle-browser => src/core/packages/lifecycle/browser}/src/index.ts (100%) rename {packages/core/lifecycle/core-lifecycle-browser => src/core/packages/lifecycle/browser}/tsconfig.json (94%) rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/README.md (100%) rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/index.ts (100%) create mode 100644 src/core/packages/lifecycle/server-internal/jest.config.js rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/kibana.jsonc (100%) rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/package.json (100%) rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/src/index.ts (100%) rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/src/internal_core_preboot.ts (100%) rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/src/internal_core_setup.ts (100%) rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/src/internal_core_start.ts (100%) rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/tsconfig.json (96%) rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/README.md (100%) rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/index.ts (100%) create mode 100644 src/core/packages/lifecycle/server/jest.config.js rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/kibana.jsonc (100%) rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/package.json (100%) rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/src/core_preboot.ts (100%) rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/src/core_setup.ts (100%) rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/src/core_start.ts (100%) rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/src/index.ts (100%) rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/tsconfig.json (95%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/README.md (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/index.ts (100%) rename {packages/core/http/core-http-browser-internal => src/core/packages/logging/browser-internal}/jest.config.js (84%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/kibana.jsonc (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/package.json (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/appenders/console_appender.test.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/appenders/console_appender.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/appenders/index.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/index.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/layouts/__snapshots__/pattern_layout.test.ts.snap (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/layouts/index.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/layouts/pattern_layout.test.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/layouts/pattern_layout.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/logger.test.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/logger.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/logging_system.test.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/logging_system.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/src/types.ts (100%) rename {packages/core/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/tsconfig.json (85%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/README.md (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/index.ts (100%) create mode 100644 src/core/packages/logging/common-internal/jest.config.js rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/kibana.jsonc (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/package.json (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/browser_config.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/index.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/__snapshots__/pattern_layout.test.ts.snap (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/conversions/date.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/conversions/index.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/conversions/level.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/conversions/logger.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/conversions/message.test.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/conversions/message.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/conversions/meta.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/conversions/types.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/index.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/pattern_layout.test.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/layouts/pattern_layout.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/logger.test.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/logger.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/logger_context.test.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/src/logger_context.ts (100%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/tsconfig.json (82%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/README.md (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/index.ts (100%) rename {packages/core/plugins/core-plugins-server => src/core/packages/logging/server-internal}/jest.config.js (84%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/kibana.jsonc (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/package.json (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/__snapshots__/logging_system.test.ts.snap (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/appenders.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/appenders.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/appenders.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/buffer/buffer_appender.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/buffer/buffer_appender.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/console/console_appender.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/console/console_appender.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/file/file_appender.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/file/file_appender.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/file/file_appender.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rewrite/mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rewrite/policies/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rewrite/policies/meta/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rewrite/policies/meta/meta_policy.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rewrite/policies/meta/meta_policy.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rewrite/policies/policy.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rewrite/rewrite_appender.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rewrite/rewrite_appender.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rewrite/rewrite_appender.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/policy.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/size_limit/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/size_limit/size_limit_policy.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/size_limit/size_limit_policy.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/time_interval/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/time_interval/time_interval_policy.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/time_interval/utils.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/policies/time_interval/utils.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/create_retention_policy.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/create_retention_policy.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/fs.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/retention_policy.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/retention_policy.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/retention_policy.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/utils.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/utils.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/retention/utils.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/rolling_file_appender.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/rolling_file_appender.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/rolling_file_appender.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/rolling_file_context.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/rolling_file_manager.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/numeric_strategy.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/pattern_matcher.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/pattern_matcher.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/rolling_tasks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/utils.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/utils.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/numeric/utils.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/appenders/rolling_file/strategies/strategy.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/global_context/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/global_context/merge_global_context.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/global_context/merge_global_context.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/global_context/types.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/__snapshots__/json_layout.test.ts.snap (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/__snapshots__/pattern_layout.test.ts.snap (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/conversions/index.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/conversions/level.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/conversions/logger.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/conversions/pid.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/json_layout.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/json_layout.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/layouts.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/layouts.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/pattern_layout.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/layouts/pattern_layout.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logger.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logger.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logger_adapter.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logger_adapter.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logging_config.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logging_config.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logging_service.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logging_service.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logging_system.test.mocks.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logging_system.test.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/src/logging_system.ts (100%) rename {packages/core/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/tsconfig.json (91%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/README.md (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/index.ts (100%) rename {packages/core/node/core-node-server => src/core/packages/logging/server}/jest.config.js (85%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/kibana.jsonc (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/package.json (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/src/appenders/console.ts (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/src/appenders/file.ts (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/src/appenders/index.ts (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/src/appenders/rewrite.ts (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/src/appenders/rolling_file.ts (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/src/contracts.ts (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/src/layout.ts (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/src/logger.ts (100%) rename {packages/core/logging/core-logging-server => src/core/packages/logging/server}/tsconfig.json (83%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/README.md (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/index.ts (100%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/metrics/collectors-server-internal}/jest.config.js (85%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/kibana.jsonc (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/package.json (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/__mocks__/perf_hooks.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/cgroup.test.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/cgroup.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/constants.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/gather_info.test.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/gather_info.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/index.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/types.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/v1.test.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/v1.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/v2.test.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/cgroup/v2.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/elasticsearch_client.test.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/elasticsearch_client.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/event_loop_delays_monitor.test.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/event_loop_delays_monitor.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/event_loop_utilization_monitor.test.mocks.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/event_loop_utilization_monitor.test.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/event_loop_utilization_monitor.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/mocks_internal.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/os.test.mocks.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/os.test.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/os.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/process.test.mocks.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/process.test.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/process.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/src/server.ts (100%) rename {packages/core/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/tsconfig.json (88%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/README.md (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/index.ts (100%) create mode 100644 src/core/packages/metrics/server-internal/jest.config.js rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/kibana.jsonc (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/package.json (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/logging/get_ops_metrics_log.test.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/logging/get_ops_metrics_log.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/logging/index.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/metrics_service.test.mocks.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/metrics_service.test.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/metrics_service.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/ops_config.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/ops_metrics_collector.test.mocks.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/ops_metrics_collector.test.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/ops_metrics_collector.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/routes/elu_history.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/routes/history_window.test.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/src/routes/history_window.ts (100%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/tsconfig.json (94%) rename {packages/core/metrics/core-metrics-server => src/core/packages/metrics/server}/README.md (100%) rename {packages/core/metrics/core-metrics-server => src/core/packages/metrics/server}/index.ts (100%) rename {packages/core/http/core-http-server => src/core/packages/metrics/server}/jest.config.js (85%) rename {packages/core/metrics/core-metrics-server => src/core/packages/metrics/server}/kibana.jsonc (100%) rename {packages/core/metrics/core-metrics-server => src/core/packages/metrics/server}/package.json (100%) rename {packages/core/metrics/core-metrics-server => src/core/packages/metrics/server}/src/collectors.ts (100%) rename {packages/core/metrics/core-metrics-server => src/core/packages/metrics/server}/src/contracts.ts (100%) rename {packages/core/metrics/core-metrics-server => src/core/packages/metrics/server}/src/metrics.ts (100%) rename {packages/kbn-hapi-mocks => src/core/packages/metrics/server}/tsconfig.json (82%) rename {packages/core/mount-utils/core-mount-utils-browser-internal => src/core/packages/mount-utils/browser-internal}/README.md (100%) rename {packages/core/mount-utils/core-mount-utils-browser-internal => src/core/packages/mount-utils/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/mount-utils/browser-internal/jest.config.js rename {packages/core/mount-utils/core-mount-utils-browser-internal => src/core/packages/mount-utils/browser-internal}/kibana.jsonc (100%) rename {packages/core/mount-utils/core-mount-utils-browser-internal => src/core/packages/mount-utils/browser-internal}/package.json (100%) rename {packages/core/mount-utils/core-mount-utils-browser-internal => src/core/packages/mount-utils/browser-internal}/src/mount.test.tsx (100%) rename {packages/core/mount-utils/core-mount-utils-browser-internal => src/core/packages/mount-utils/browser-internal}/src/mount.tsx (100%) rename {packages/core/mount-utils/core-mount-utils-browser-internal => src/core/packages/mount-utils/browser-internal}/src/mount_wrapper.scss (100%) rename {packages/core/mount-utils/core-mount-utils-browser-internal => src/core/packages/mount-utils/browser-internal}/tsconfig.json (85%) rename {packages/core/mount-utils/core-mount-utils-browser => src/core/packages/mount-utils/browser}/README.md (100%) rename {packages/core/mount-utils/core-mount-utils-browser => src/core/packages/mount-utils/browser}/index.ts (100%) create mode 100644 src/core/packages/mount-utils/browser/jest.config.js rename {packages/core/mount-utils/core-mount-utils-browser => src/core/packages/mount-utils/browser}/kibana.jsonc (100%) rename {packages/core/mount-utils/core-mount-utils-browser => src/core/packages/mount-utils/browser}/package.json (100%) rename {packages/core/mount-utils/core-mount-utils-browser => src/core/packages/mount-utils/browser}/src/mount_point.ts (100%) rename {packages/core/mount-utils/core-mount-utils-browser => src/core/packages/mount-utils/browser}/src/overlay_ref.ts (100%) rename {packages/core/mount-utils/core-mount-utils-browser => src/core/packages/mount-utils/browser}/tsconfig.json (79%) rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/README.md (100%) rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/index.ts (100%) create mode 100644 src/core/packages/node/server-internal/jest.config.js rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/kibana.jsonc (100%) rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/package.json (100%) rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/src/node_config.test.ts (100%) rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/src/node_config.ts (100%) rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/src/node_service.test.ts (100%) rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/src/node_service.ts (100%) rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/tsconfig.json (90%) rename {packages/core/node/core-node-server => src/core/packages/node/server}/README.md (100%) rename {packages/core/node/core-node-server => src/core/packages/node/server}/index.ts (100%) rename {packages/kbn-hapi-mocks => src/core/packages/node/server}/jest.config.js (86%) rename {packages/core/node/core-node-server => src/core/packages/node/server}/kibana.jsonc (100%) rename {packages/core/node/core-node-server => src/core/packages/node/server}/package.json (100%) rename {packages/core/node/core-node-server => src/core/packages/node/server}/src/types.ts (100%) create mode 100644 src/core/packages/node/server/tsconfig.json rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/README.md (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/index.ts (100%) rename {packages/core/capabilities/core-capabilities-common => src/core/packages/notifications/browser-internal}/jest.config.js (83%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/kibana.jsonc (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/package.json (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/notifications_service.ts (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/__snapshots__/deduplicate_toasts.test.tsx.snap (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/__snapshots__/error_toast.test.tsx.snap (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/__snapshots__/toasts_service.test.tsx.snap (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/deduplicate_toasts.test.tsx (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/deduplicate_toasts.tsx (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/error_toast.test.tsx (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/error_toast.tsx (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/global_toast_list.test.tsx (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/global_toast_list.tsx (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/index.ts (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/telemetry/event_reporter.ts (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/telemetry/event_types.ts (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/telemetry/index.ts (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/toasts_api.test.ts (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/toasts_api.tsx (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/toasts_service.test.mocks.ts (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/toasts_service.test.tsx (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/src/toasts/toasts_service.tsx (100%) rename {packages/core/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/tsconfig.json (94%) rename {packages/core/notifications/core-notifications-browser => src/core/packages/notifications/browser}/README.md (100%) rename {packages/core/notifications/core-notifications-browser => src/core/packages/notifications/browser}/index.ts (100%) create mode 100644 src/core/packages/notifications/browser/jest.config.js rename {packages/core/notifications/core-notifications-browser => src/core/packages/notifications/browser}/kibana.jsonc (100%) rename {packages/core/notifications/core-notifications-browser => src/core/packages/notifications/browser}/package.json (100%) rename {packages/core/notifications/core-notifications-browser => src/core/packages/notifications/browser}/src/contracts.ts (100%) rename {packages/core/notifications/core-notifications-browser => src/core/packages/notifications/browser}/src/types.ts (100%) rename {packages/core/notifications/core-notifications-browser => src/core/packages/notifications/browser}/tsconfig.json (83%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/README.md (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/overlays/browser-internal/jest.config.js rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/kibana.jsonc (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/package.json (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/banners_list.test.tsx (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/banners_list.tsx (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/banners_service.test.mocks.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/banners_service.test.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/banners_service.tsx (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/index.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/priority_map.test.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/priority_map.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/user_banner_service.test.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/banners/user_banner_service.tsx (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/flyout/__snapshots__/flyout_service.test.tsx.snap (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/flyout/flyout_service.test.tsx (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/flyout/flyout_service.tsx (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/flyout/index.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/modal/__snapshots__/modal_service.test.tsx.snap (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/modal/index.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/modal/modal_service.test.tsx (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/modal/modal_service.tsx (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/overlay.test.mocks.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/src/overlay_service.ts (100%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/tsconfig.json (90%) rename {packages/core/overlays/core-overlays-browser => src/core/packages/overlays/browser}/README.md (100%) rename {packages/core/overlays/core-overlays-browser => src/core/packages/overlays/browser}/index.ts (100%) rename {packages/core/http/core-http-common => src/core/packages/overlays/browser}/jest.config.js (85%) rename {packages/core/overlays/core-overlays-browser => src/core/packages/overlays/browser}/kibana.jsonc (100%) rename {packages/core/overlays/core-overlays-browser => src/core/packages/overlays/browser}/package.json (100%) rename {packages/core/overlays/core-overlays-browser => src/core/packages/overlays/browser}/src/banners.ts (100%) rename {packages/core/overlays/core-overlays-browser => src/core/packages/overlays/browser}/src/flyout.ts (100%) rename {packages/core/overlays/core-overlays-browser => src/core/packages/overlays/browser}/src/modal.ts (100%) rename {packages/core/overlays/core-overlays-browser => src/core/packages/overlays/browser}/src/overlays.ts (100%) rename {packages/core/overlays/core-overlays-browser => src/core/packages/overlays/browser}/tsconfig.json (83%) rename {packages/core/plugins/core-plugins-base-server-internal => src/core/packages/plugins/base-server-internal}/README.md (100%) rename {packages/core/plugins/core-plugins-base-server-internal => src/core/packages/plugins/base-server-internal}/index.ts (100%) create mode 100644 src/core/packages/plugins/base-server-internal/jest.config.js rename {packages/core/plugins/core-plugins-base-server-internal => src/core/packages/plugins/base-server-internal}/kibana.jsonc (100%) rename {packages/core/plugins/core-plugins-base-server-internal => src/core/packages/plugins/base-server-internal}/package.json (100%) rename {packages/core/plugins/core-plugins-base-server-internal => src/core/packages/plugins/base-server-internal}/src/index.ts (100%) rename {packages/core/plugins/core-plugins-base-server-internal => src/core/packages/plugins/base-server-internal}/src/types.ts (100%) rename {packages/core/plugins/core-plugins-base-server-internal => src/core/packages/plugins/base-server-internal}/tsconfig.json (82%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/README.md (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/plugins/browser-internal/jest.config.js rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/kibana.jsonc (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/package.json (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/index.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugin.test.mocks.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugin.test.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugin.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugin_context.test.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugin_context.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugin_contract_resolver.test.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugin_contract_resolver.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugin_reader.test.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugin_reader.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugins_service.test.mocks.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugins_service.test.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/plugins_service.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/test_helpers/index.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/test_helpers/mocks.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/src/test_helpers/plugin_contract_resolver.mock.ts (100%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/tsconfig.json (96%) rename {packages/core/plugins/core-plugins-browser => src/core/packages/plugins/browser}/README.md (100%) rename {packages/core/plugins/core-plugins-browser => src/core/packages/plugins/browser}/index.ts (100%) rename {packages/core/http/core-http-browser => src/core/packages/plugins/browser}/jest.config.js (85%) rename {packages/core/plugins/core-plugins-browser => src/core/packages/plugins/browser}/kibana.jsonc (100%) rename {packages/core/plugins/core-plugins-browser => src/core/packages/plugins/browser}/package.json (100%) rename {packages/core/plugins/core-plugins-browser => src/core/packages/plugins/browser}/src/index.ts (100%) rename {packages/core/plugins/core-plugins-browser => src/core/packages/plugins/browser}/src/plugin.ts (100%) rename {packages/core/plugins/core-plugins-browser => src/core/packages/plugins/browser}/src/plugin_initializer.ts (100%) rename {packages/core/plugins/core-plugins-browser => src/core/packages/plugins/browser}/tsconfig.json (87%) rename {packages/core/plugins/core-plugins-contracts-browser => src/core/packages/plugins/contracts-browser}/README.md (100%) rename {packages/core/plugins/core-plugins-contracts-browser => src/core/packages/plugins/contracts-browser}/index.ts (100%) create mode 100644 src/core/packages/plugins/contracts-browser/jest.config.js rename {packages/core/plugins/core-plugins-contracts-browser => src/core/packages/plugins/contracts-browser}/kibana.jsonc (100%) rename {packages/core/plugins/core-plugins-contracts-browser => src/core/packages/plugins/contracts-browser}/package.json (100%) rename {packages/core/plugins/core-plugins-contracts-browser => src/core/packages/plugins/contracts-browser}/src/contracts.ts (100%) rename {packages/core/plugins/core-plugins-contracts-browser => src/core/packages/plugins/contracts-browser}/tsconfig.json (82%) rename {packages/core/plugins/core-plugins-contracts-server => src/core/packages/plugins/contracts-server}/README.md (100%) rename {packages/core/plugins/core-plugins-contracts-server => src/core/packages/plugins/contracts-server}/index.ts (100%) rename {packages/core/http/core-http-resources-server => src/core/packages/plugins/contracts-server}/jest.config.js (84%) rename {packages/core/plugins/core-plugins-contracts-server => src/core/packages/plugins/contracts-server}/kibana.jsonc (100%) rename {packages/core/plugins/core-plugins-contracts-server => src/core/packages/plugins/contracts-server}/package.json (100%) rename {packages/core/plugins/core-plugins-contracts-server => src/core/packages/plugins/contracts-server}/src/contracts.ts (100%) rename {packages/core/plugins/core-plugins-contracts-server => src/core/packages/plugins/contracts-server}/tsconfig.json (82%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/README.md (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/index.ts (100%) create mode 100644 src/core/packages/plugins/server-internal/jest.config.js rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/kibana.jsonc (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/package.json (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/constants.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/create_browser_config.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/create_browser_config.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/index.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/is_camel_case.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/is_camel_case.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/plugin_discovery_error.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/plugin_manifest_from_plugin_package.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/plugin_manifest_from_plugin_package.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/plugin_manifest_parser.test.mocks.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/plugin_manifest_parser.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/plugin_manifest_parser.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/plugins_discovery.test.mocks.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/plugins_discovery.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/plugins_discovery.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/scan_plugin_search_paths.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/discovery/scan_plugin_search_paths.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/index.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/legacy_config.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/legacy_config.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugin.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugin.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugin_context.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugin_context.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugin_contract_resolver.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugin_contract_resolver.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugins_config.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugins_config.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugins_service.test.mocks.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugins_service.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugins_service.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugins_system.test.mocks.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugins_system.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/plugins_system.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/test_helpers/create_core_context_config_service.mock.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/test_helpers/index.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/test_helpers/plugin_contract_resolver.mock.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/types.test.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/src/types.ts (100%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/tsconfig.json (95%) rename {packages/core/plugins/core-plugins-server => src/core/packages/plugins/server}/README.md (100%) rename {packages/core/plugins/core-plugins-server => src/core/packages/plugins/server}/index.ts (100%) rename {packages/kbn-config-mocks => src/core/packages/plugins/server}/jest.config.js (85%) rename {packages/core/plugins/core-plugins-server => src/core/packages/plugins/server}/kibana.jsonc (100%) rename {packages/core/plugins/core-plugins-server => src/core/packages/plugins/server}/package.json (100%) rename {packages/core/plugins/core-plugins-server => src/core/packages/plugins/server}/src/index.ts (100%) rename {packages/core/plugins/core-plugins-server => src/core/packages/plugins/server}/src/shared_global_config.ts (100%) rename {packages/core/plugins/core-plugins-server => src/core/packages/plugins/server}/src/types.ts (100%) rename {packages/core/plugins/core-plugins-server => src/core/packages/plugins/server}/tsconfig.json (91%) rename {packages/core/preboot/core-preboot-server-internal => src/core/packages/preboot/server-internal}/README.md (100%) rename {packages/core/preboot/core-preboot-server-internal => src/core/packages/preboot/server-internal}/index.ts (100%) create mode 100644 src/core/packages/preboot/server-internal/jest.config.js rename {packages/core/preboot/core-preboot-server-internal => src/core/packages/preboot/server-internal}/kibana.jsonc (100%) rename {packages/core/preboot/core-preboot-server-internal => src/core/packages/preboot/server-internal}/package.json (100%) rename {packages/core/preboot/core-preboot-server-internal => src/core/packages/preboot/server-internal}/src/preboot_service.test.ts (100%) rename {packages/core/preboot/core-preboot-server-internal => src/core/packages/preboot/server-internal}/src/preboot_service.ts (100%) rename {packages/core/preboot/core-preboot-server-internal => src/core/packages/preboot/server-internal}/src/types.ts (100%) rename {packages/core/preboot/core-preboot-server-internal => src/core/packages/preboot/server-internal}/tsconfig.json (88%) rename {packages/core/preboot/core-preboot-server => src/core/packages/preboot/server}/README.md (100%) rename {packages/core/preboot/core-preboot-server => src/core/packages/preboot/server}/index.ts (100%) create mode 100644 src/core/packages/preboot/server/jest.config.js rename {packages/core/preboot/core-preboot-server => src/core/packages/preboot/server}/kibana.jsonc (100%) rename {packages/core/preboot/core-preboot-server => src/core/packages/preboot/server}/package.json (100%) rename {packages/core/preboot/core-preboot-server => src/core/packages/preboot/server}/src/contracts.ts (100%) create mode 100644 src/core/packages/preboot/server/tsconfig.json rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/README.md (100%) rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/rendering/browser-internal/jest.config.js rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/kibana.jsonc (100%) rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/package.json (100%) rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/src/app_containers.test.tsx (100%) rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/src/app_containers.tsx (100%) rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/src/index.ts (100%) rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/src/rendering_service.test.tsx (100%) rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/src/rendering_service.tsx (100%) rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/tsconfig.json (94%) rename {packages/core/rendering/core-rendering-browser => src/core/packages/rendering/browser}/README.md (100%) rename {packages/core/rendering/core-rendering-browser => src/core/packages/rendering/browser}/index.ts (100%) create mode 100644 src/core/packages/rendering/browser/jest.config.js rename {packages/core/rendering/core-rendering-browser => src/core/packages/rendering/browser}/kibana.jsonc (100%) rename {packages/core/rendering/core-rendering-browser => src/core/packages/rendering/browser}/package.json (100%) rename {packages/core/rendering/core-rendering-browser => src/core/packages/rendering/browser}/src/index.ts (100%) rename {packages/core/rendering/core-rendering-browser => src/core/packages/rendering/browser}/src/use_app_fixed_viewport.ts (100%) rename {packages/core/rendering/core-rendering-browser => src/core/packages/rendering/browser}/tsconfig.json (82%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/README.md (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/index.ts (100%) create mode 100644 src/core/packages/rendering/server-internal/jest.config.js rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/kibana.jsonc (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/package.json (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/__snapshots__/rendering_service.test.ts.snap (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/__snapshots__/render_template.test.ts.snap (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/bootstrap_renderer.test.mocks.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/bootstrap_renderer.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/bootstrap_renderer.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/get_js_dependency_paths.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/get_js_dependency_paths.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/get_plugin_bundle_paths.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/get_plugin_bundle_paths.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/get_theme_tag.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/get_theme_tag.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/index.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/register_bootstrap_route.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/register_bootstrap_route.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/render_template.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/bootstrap/render_template.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/filter_ui_plugins.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/filter_ui_plugins.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/get_apm_config.test.mocks.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/get_apm_config.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/get_apm_config.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/index.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/internal_types.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/render_utils.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/render_utils.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/rendering_service.test.mocks.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/rendering_service.test.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/rendering_service.tsx (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/test_helpers/params.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/test_helpers/rendering_service.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/types.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/views/fonts.tsx (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/views/index.ts (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/views/logo.tsx (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/views/styles.tsx (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/src/views/template.tsx (100%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/tsconfig.json (96%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/README.md (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/root/browser-internal/jest.config.js rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/kibana.jsonc (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/package.json (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/apm_resource_counter.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/apm_system.test.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/apm_system.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/core_system.test.mocks.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/core_system.test.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/core_system.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/events.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/fetch_optional_memory_info.test.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/fetch_optional_memory_info.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/index.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/kbn_bootstrap.test.mocks.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/kbn_bootstrap.test.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/src/kbn_bootstrap.ts (100%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/tsconfig.json (98%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/README.md (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/index.ts (100%) create mode 100644 src/core/packages/root/server-internal/jest.config.js rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/kibana.jsonc (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/package.json (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/bootstrap.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/constants.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/core_config.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/events/index.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/events/kibana_started.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/index.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/register_service_config.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/root/__snapshots__/index.test.ts.snap (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/root/elastic_config.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/root/index.test.mocks.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/root/index.test.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/root/index.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/root/serverless_config.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/server.test.mocks.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/server.test.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/src/server.ts (100%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/tsconfig.json (98%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/index.ts (100%) create mode 100644 src/core/packages/saved-objects/api-browser/jest.config.js rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/base.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/bulk_create.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/bulk_delete.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/bulk_resolve.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/bulk_update.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/create.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/delete.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/find.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/resolve.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/apis/update.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/saved_objects_client.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/src/simple_saved_object.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/tsconfig.json (85%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/index.ts (100%) create mode 100644 src/core/packages/saved-objects/api-server-internal/jest.config.js rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_create.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_create.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_delete.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_delete.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_get.isolated.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_get.isolated.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_get.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_get.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_resolve.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_resolve.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_update.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/bulk_update.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/check_conflicts.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/check_conflicts.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/collect_multinamespace_references.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/collect_multinamespaces_references.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/create.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/create.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/delete.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/delete.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/delete_by_namespace.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/delete_by_namespace.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/find.isolated.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/find.isolated.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/find.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/find.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/get.isolated.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/get.isolated.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/get.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/get.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/common.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/encryption.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/migration.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/migration.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/preflight_check.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/serializer.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/user.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/validation.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/validation.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/helpers/validation_fixtures.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/increment_counter.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/increment_counter.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/collect_multi_namespace_references.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/collect_multi_namespace_references.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/collect_multi_namespace_references.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/delete_legacy_url_aliases.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/delete_legacy_url_aliases.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/delete_legacy_url_aliases.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/find_legacy_url_aliases.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/find_legacy_url_aliases.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/increment_counter_internal.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/internal_bulk_resolve.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/internal_bulk_resolve.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/internal_bulk_resolve.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/preflight_check_for_create.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/preflight_check_for_create.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/preflight_check_for_create.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/repository_bulk_delete_internal_types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/update_objects_spaces.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/update_objects_spaces.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/internals/update_objects_spaces.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/open_point_in_time.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/open_point_in_time.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/remove_references_to.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/remove_references_to.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/resolve.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/resolve.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/update.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/update.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/update_objects_spaces.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/update_objects_spaces.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/utils/either.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/utils/es_responses.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/utils/find_shared_origin_objects.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/utils/find_shared_origin_objects.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/utils/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/utils/internal_utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/utils/internal_utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/utils/merge_for_update.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/apis/utils/merge_for_update.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/constants.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/point_in_time_finder.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/point_in_time_finder.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository.encryption_extension.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository.security_extension.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository.spaces_extension.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository_create_repository.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository_es_client.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository_es_client.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/repository_es_client.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/scoped_client_provider.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/scoped_client_provider.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/aggs_types/bucket_aggs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/aggs_types/common_schemas.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/aggs_types/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/aggs_types/metrics_aggs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/aggs_types/pipeline_aggs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/aggs_types/schemas.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/validation.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/validation.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/validation_utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/aggregations/validation_utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/__snapshots__/sorting_params.test.ts.snap (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/pit_params.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/pit_params.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/query_params.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/query_params.tests.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/query_params.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/references_filter.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/references_filter.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/search_dsl.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/search_dsl.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/sorting_params.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/search_dsl/sorting_params.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/utils/filter_utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/utils/filter_utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/search/utils/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/utils/create_helpers.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/utils/decorate_es_error.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/utils/decorate_es_error.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/utils/included_fields.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/utils/included_fields.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/utils/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/lib/utils/update_utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/mocks/api_context.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/mocks/api_helpers.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/mocks/helpers.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/mocks/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/mocks/kibana_migrator.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/mocks/migrator.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/mocks/point_in_time_finder.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/mocks/repository.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/mocks/saved_objects_extensions.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/saved_objects_client.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/saved_objects_client.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/src/test_helpers/repository.test.common.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/tsconfig.json (95%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/index.ts (100%) rename {packages/core/http/core-http-server-internal => src/core/packages/saved-objects/api-server}/jest.config.js (84%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/base.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/bulk_create.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/bulk_delete.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/bulk_get.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/bulk_resolve.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/bulk_update.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/check_conflicts.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/close_point_in_time.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/collect_multinamespace_references.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/create.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/create_point_in_time_finder.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/delete.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/delete_by_namespace.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/find.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/get.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/increment_counter.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/open_point_in_time_for_type.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/remove_references_to.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/resolve.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/update.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/apis/update_objects_spaces.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/saved_objects_client.ts (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/src/saved_objects_repository.ts (99%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/tsconfig.json (83%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/index.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/saved-objects/base-server-internal}/jest.config.js (85%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/constants.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/legacy_alias/constants.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/legacy_alias/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/legacy_alias/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/mappings/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/mappings/lib/get_property.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/mappings/lib/get_property.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/mappings/lib/get_root_properties.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/mappings/lib/get_root_properties_objects.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/mappings/lib/get_root_properties_objects.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/mappings/lib/get_types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/mappings/lib/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/mappings/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/migration/document_migrator.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/migration/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/migration/kibana_migrator.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/aggregate_model_changes.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/aggregate_model_changes.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/backward_conversion_schema.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/backward_conversion_schema.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/build_transform_fn.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/build_transform_fn.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/constants.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/conversion.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/conversion.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/get_version_delta.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/get_version_delta.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/model_version_from_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/model_version_from_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/version_compare.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/version_compare.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/version_map.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/version_map.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/version_mapping_changes.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/model_version/version_mapping_changes.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/saved_objects_config.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/saved_objects_type_registry.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/saved_objects_type_registry.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/serialization/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/serialization/serializer.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/serialization/serializer.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/utils/get_field_list.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/utils/get_field_list.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/utils/get_index_for_type.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/utils/get_index_for_type.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/utils/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/utils/object_key.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/utils/object_key.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/validation/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/validation/schema.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/validation/schema.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/validation/validator.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/validation/validator.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/base64.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/decode_request_version.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/decode_request_version.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/decode_version.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/decode_version.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/encode_hit_version.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/encode_hit_version.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/encode_version.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/encode_version.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/src/version/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/tsconfig.json (89%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/saved-objects/browser-internal/jest.config.js rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/src/saved_objects_client.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/src/saved_objects_client.ts (100%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/src/saved_objects_service.ts (100%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/src/simple_saved_object.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/src/simple_saved_object.ts (100%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/tsconfig.json (91%) rename {packages/core/saved-objects/core-saved-objects-browser => src/core/packages/saved-objects/browser}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-browser => src/core/packages/saved-objects/browser}/index.ts (100%) create mode 100644 src/core/packages/saved-objects/browser/jest.config.js rename {packages/core/saved-objects/core-saved-objects-browser => src/core/packages/saved-objects/browser}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-browser => src/core/packages/saved-objects/browser}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-browser => src/core/packages/saved-objects/browser}/src/contracts.ts (100%) rename {packages/core/saved-objects/core-saved-objects-browser => src/core/packages/saved-objects/browser}/tsconfig.json (83%) rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/index.ts (100%) create mode 100644 src/core/packages/saved-objects/common/jest.config.js rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/src/saved_objects.ts (100%) rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/src/saved_objects_imports.ts (100%) rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/src/server_types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/src/types.ts (100%) create mode 100644 src/core/packages/saved-objects/common/tsconfig.json rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/index.ts (100%) create mode 100644 src/core/packages/saved-objects/import-export-server-internal/jest.config.js rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/apply_export_transforms.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/apply_export_transforms.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/collect_exported_objects.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/collect_exported_objects.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/collect_exported_objects.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/constants.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/errors.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/saved_objects_exporter.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/saved_objects_exporter.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/sort_objects.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/sort_objects.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/export/utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/errors.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/import_saved_objects.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/import_saved_objects.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/import_saved_objects.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/check_conflicts.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/check_conflicts.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/check_origin_conflicts.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/check_origin_conflicts.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/check_origin_conflicts.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/check_reference_origins.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/check_reference_origins.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/check_reference_origins.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/collect_saved_objects.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/collect_saved_objects.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/create_limit_stream.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/create_limit_stream.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/create_objects_filter.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/create_objects_filter.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/create_saved_objects.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/create_saved_objects.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/execute_import_hooks.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/execute_import_hooks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/extract_errors.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/extract_errors.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/get_import_state_map_for_retries.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/get_import_state_map_for_retries.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/get_non_unique_entries.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/get_non_unique_entries.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/regenerate_ids.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/regenerate_ids.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/split_overwrites.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/split_overwrites.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/validate_references.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/validate_references.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/validate_retries.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/lib/validate_retries.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/resolve_import_errors.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/resolve_import_errors.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/resolve_import_errors.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/src/import/saved_objects_importer.ts (100%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/tsconfig.json (93%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/index.ts (100%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/saved-objects/migration-server-internal}/jest.config.js (82%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/__snapshots__/get_outdated_documents_query.test.ts.snap (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/__snapshots__/kibana_migrator.test.ts.snap (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/__snapshots__/migrations_state_action_machine.test.ts.snap (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/bulk_overwrite_transformed_documents.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/bulk_overwrite_transformed_documents.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/calculate_exclude_filters.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/calculate_exclude_filters.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/catch_retryable_es_client_errors.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/catch_retryable_es_client_errors.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/check_cluster_routing_allocation.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/check_cluster_routing_allocation.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/check_for_unknown_docs.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/check_for_unknown_docs.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/check_for_unknown_docs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/check_target_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/check_target_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/cleanup_unknown_and_excluded.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/cleanup_unknown_and_excluded.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/cleanup_unknown_and_excluded.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/clone_index.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/clone_index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/close_pit.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/close_pit.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/constants.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/create_index.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/create_index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/delete_by_query.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/delete_by_query.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/es_errors.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/es_errors.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/fetch_indices.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/fetch_indices.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/open_pit.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/open_pit.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/pickup_updated_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/pickup_updated_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/read_with_pit.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/read_with_pit.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/refresh_index.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/refresh_index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/reindex.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/reindex.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/remove_write_block.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/remove_write_block.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/safe_write_block.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/safe_write_block.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/set_write_block.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/set_write_block.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/synchronize_migrators.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/synchronize_migrators.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/transform_docs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/update_aliases.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/update_aliases.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/update_and_pickup_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/update_and_pickup_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/update_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/update_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/update_source_mappings_properties.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/update_source_mappings_properties.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_delete_by_query_task.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_delete_by_query_task.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_index_status.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_index_status.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_pickup_updated_mappings_task.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_pickup_updated_mappings_task.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_reindex_task.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_reindex_task.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_task.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/actions/wait_for_task.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/common/constants.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/common/redact_state.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/common/utils/delay.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/common/utils/delay.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/common/utils/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/common/utils/logs.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/common/utils/logs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/__snapshots__/build_active_mappings.test.ts.snap (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/build_active_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/build_active_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/build_index_map.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/build_index_map.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/build_pickup_mappings_query.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/build_pickup_mappings_query.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/build_types_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/compare_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/compare_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/diff_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/diff_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/migrate_raw_docs.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/migrate_raw_docs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/migration_logger.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/regenerate_object_id.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/transform_saved_object_document_error.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/transform_saved_object_document_error.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/core/unused_types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/build_active_migrations.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/build_active_migrations.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/build_active_migrations.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/document_migrator.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/document_migrator.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/document_migrator.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/internal_transforms.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/migrations/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/migrations/transform_migration_version.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/migrations/transform_migration_version.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/migrations/transform_set_managed_default.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/migrations/transform_set_managed_default.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/model_version.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/model_version.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/model_version.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/pipelines/downgrade_pipeline.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/pipelines/downgrade_pipeline.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/pipelines/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/pipelines/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/pipelines/upgrade_pipeline.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/pipelines/upgrade_pipeline.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/pipelines/utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/validate_migration.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/document_migrator/validate_migrations.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/get_outdated_documents_query.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/get_outdated_documents_query.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/initial_state.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/initial_state.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/kibana_migrator.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/kibana_migrator.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/kibana_migrator_constants.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/kibana_migrator_utils.fixtures.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/kibana_migrator_utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/kibana_migrator_utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/migrations_state_action_machine.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/migrations_state_action_machine.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/migrations_state_machine_cleanup.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/migrations_state_machine_cleanup.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/create_batches.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/create_batches.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/extract_errors.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/extract_errors.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/helpers.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/helpers.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/model.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/model.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/progress.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/progress.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/retry_state.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/retry_state.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/model/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/next.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/next.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/run_resilient_migrator.fixtures.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/run_resilient_migrator.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/run_resilient_migrator.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/run_v2_migration.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/run_v2_migration.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/state.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/state_action_machine.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/state_action_machine.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/actions/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/actions/update_index_meta.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/actions/update_index_meta.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/actions/update_index_meta.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/actions/wait_for_delay.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/actions/wait_for_delay.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/context/create_context.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/context/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/context/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/migrate_index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/migration_state_action_machine.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/model.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/model.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/model.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/create_target_index.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/create_target_index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/documents_update_init.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/documents_update_init.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/documents_update_init.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/index_state_update_done.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/index_state_update_done.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/init.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/init.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/init.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_bulk_index.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_bulk_index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_close_pit.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_close_pit.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_open_pit.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_open_pit.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_read.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_read.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_refresh.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_refresh.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_transform.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/outdated_documents_search_transform.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/set_doc_migration_started.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/set_doc_migration_started.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_aliases.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_aliases.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_document_model_version.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_document_model_version.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_document_model_version_wait_for_instance.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_document_model_version_wait_for_instances.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_index_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_index_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_index_mappings_wait_for_task.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_index_mappings_wait_for_task.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_mapping_model_version.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/stages/update_mapping_model_version.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/model/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/next.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/next.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/next.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/run_zdt_migration.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/state/create_initial_state.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/state/create_initial_state.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/state/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/state/types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/test_helpers/context.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/test_helpers/document_migrator.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/test_helpers/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/test_helpers/saved_object.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/test_helpers/saved_object_type.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/test_helpers/state.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/build_index_mappings.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/build_index_mappings.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/check_index_algorithm.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/check_index_algorithm.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/check_version_compatibility.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/check_version_compatibility.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/check_version_compatibility.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/generate_additive_mapping_diff.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/generate_additive_mapping_diff.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/generate_additive_mapping_diff.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/get_alias_actions.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/get_alias_actions.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/get_creation_aliases.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/get_creation_aliases.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/get_current_index.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/get_current_index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/get_migrator_configs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/outdated_documents_query.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/outdated_documents_query.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/transform_raw_docs.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/transform_raw_docs.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/transform_raw_docs.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/update_index_meta.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/src/zdt/utils/update_index_meta.ts (100%) rename {packages/core/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/tsconfig.json (95%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/index.ts (100%) create mode 100644 src/core/packages/saved-objects/server-internal/jest.config.js rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/apply_type_defaults.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/apply_type_defaults.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/constants.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/deprecations/deprecation_factory.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/deprecations/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/deprecations/unknown_object_types.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/deprecations/unknown_object_types.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/deprecations/unknown_object_types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/internal_types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/mocks/internal_mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/object_types/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/object_types/registration.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/object_types/registration.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/bulk_create.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/bulk_delete.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/bulk_get.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/bulk_resolve.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/bulk_update.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/create.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/delete.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/deprecations/delete_unknown_types.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/deprecations/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/export.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/find.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/get.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/import.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/legacy_import_export/export.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/legacy_import_export/import.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/legacy_import_export/lib/collect_references_deep.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/legacy_import_export/lib/collect_references_deep.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/legacy_import_export/lib/export_dashboards.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/legacy_import_export/lib/import_dashboards.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/legacy_import_export/lib/import_dashboards.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/legacy_import_export/lib/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/migrate.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/resolve.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/resolve_import_errors.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/update.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/routes/utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/saved_objects_route_handler_context.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/saved_objects_service.test.mocks.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/saved_objects_service.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/saved_objects_service.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/status.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/status.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/utils/get_all_indices.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/utils/get_all_indices.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/src/utils/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/tsconfig.json (96%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/docs/assets/mv_img_1.png (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/docs/model_versions.md (97%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/index.ts (100%) create mode 100644 src/core/packages/saved-objects/server/jest.config.js rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/client_factory.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/contracts.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/export.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/extensions/encryption.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/extensions/extensions.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/extensions/security.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/extensions/spaces.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/import.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/mapping_definition.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/migration.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/model_version/index.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/model_version/model_change.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/model_version/model_version.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/model_version/schemas.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/model_version/transformations.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/request_handler_context.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/saved_objects_error_helpers.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/saved_objects_error_helpers.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/saved_objects_index_pattern.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/saved_objects_management.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/saved_objects_status.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/saved_objects_type.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/serialization.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/type_registry.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/src/validation.ts (100%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/tsconfig.json (90%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/README.md (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/index.ts (100%) create mode 100644 src/core/packages/saved-objects/utils-server/jest.config.js rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/kibana.jsonc (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/package.json (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/src/merge_migrations.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/src/merge_migrations.ts (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/src/saved_objects_test_utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/src/saved_objects_test_utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/src/saved_objects_utils.test.mock.ts (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/src/saved_objects_utils.test.ts (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/src/saved_objects_utils.ts (100%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/tsconfig.json (85%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/README.md (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/security/browser-internal/jest.config.js rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/kibana.jsonc (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/package.json (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/src/internal_contracts.ts (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/src/security_service.test.mocks.ts (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/src/security_service.test.ts (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/src/security_service.ts (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/src/utils/convert_security_api.test.ts (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/src/utils/convert_security_api.ts (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/src/utils/default_implementation.test.ts (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/src/utils/default_implementation.ts (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/src/utils/index.ts (100%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/tsconfig.json (88%) rename {packages/core/security/core-security-browser-mocks => src/core/packages/security/browser-mocks}/README.md (100%) rename {packages/core/security/core-security-browser-mocks => src/core/packages/security/browser-mocks}/index.ts (100%) create mode 100644 src/core/packages/security/browser-mocks/jest.config.js rename {packages/core/security/core-security-browser-mocks => src/core/packages/security/browser-mocks}/kibana.jsonc (100%) rename {packages/core/security/core-security-browser-mocks => src/core/packages/security/browser-mocks}/package.json (100%) rename {packages/core/security/core-security-browser-mocks => src/core/packages/security/browser-mocks}/src/security_service.mock.ts (100%) rename {packages/core/security/core-security-browser-mocks => src/core/packages/security/browser-mocks}/tsconfig.json (87%) rename {packages/core/security/core-security-browser => src/core/packages/security/browser}/README.md (100%) rename {packages/core/security/core-security-browser => src/core/packages/security/browser}/index.ts (100%) create mode 100644 src/core/packages/security/browser/jest.config.js rename {packages/core/security/core-security-browser => src/core/packages/security/browser}/kibana.jsonc (100%) rename {packages/core/security/core-security-browser => src/core/packages/security/browser}/package.json (100%) rename {packages/core/security/core-security-browser => src/core/packages/security/browser}/src/api_provider.ts (100%) rename {packages/core/security/core-security-browser => src/core/packages/security/browser}/src/authc.ts (100%) rename {packages/core/security/core-security-browser => src/core/packages/security/browser}/src/contracts.ts (100%) rename {packages/core/security/core-security-browser => src/core/packages/security/browser}/tsconfig.json (84%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/README.md (100%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/index.ts (100%) rename {packages/core/i18n/core-i18n-browser => src/core/packages/security/common}/jest.config.js (85%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/kibana.jsonc (100%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/mocks.ts (100%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/package.json (100%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/src/authentication/authenticated_user.mock.ts (100%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/src/authentication/authenticated_user.ts (100%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/src/authentication/authentication_provider.ts (100%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/src/authentication/index.ts (100%) rename {packages/core/security/core-security-common => src/core/packages/security/common}/src/authentication/user.ts (100%) rename {packages/core/user-profile/core-user-profile-common => src/core/packages/security/common}/tsconfig.json (82%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/README.md (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/index.ts (100%) rename {packages/core/base/core-base-server-internal => src/core/packages/security/server-internal}/jest.config.js (84%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/kibana.jsonc (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/package.json (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/fips/fips.test.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/fips/fips.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/internal_contracts.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/security_route_handler_context.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/security_service.test.mocks.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/security_service.test.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/security_service.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/test_helpers/create_audit_logger.mock.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/utils/convert_security_api.test.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/utils/convert_security_api.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/utils/default_implementation.test.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/utils/default_implementation.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/src/utils/index.ts (100%) rename {packages/core/security/core-security-server-internal => src/core/packages/security/server-internal}/tsconfig.json (90%) rename {packages/core/security/core-security-server-mocks => src/core/packages/security/server-mocks}/README.md (100%) rename {packages/core/security/core-security-server-mocks => src/core/packages/security/server-mocks}/index.ts (100%) create mode 100644 src/core/packages/security/server-mocks/jest.config.js rename {packages/core/security/core-security-server-mocks => src/core/packages/security/server-mocks}/kibana.jsonc (100%) rename {packages/core/security/core-security-server-mocks => src/core/packages/security/server-mocks}/package.json (100%) rename {packages/core/security/core-security-server-mocks => src/core/packages/security/server-mocks}/src/api_keys.mock.ts (100%) rename {packages/core/security/core-security-server-mocks => src/core/packages/security/server-mocks}/src/audit.mock.ts (100%) rename {packages/core/security/core-security-server-mocks => src/core/packages/security/server-mocks}/src/security_service.mock.ts (100%) rename {packages/core/security/core-security-server-mocks => src/core/packages/security/server-mocks}/tsconfig.json (87%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/README.md (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/index.ts (100%) create mode 100644 src/core/packages/security/server/jest.config.js rename {packages/core/security/core-security-server => src/core/packages/security/server}/kibana.jsonc (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/package.json (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/api_provider.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/audit.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/audit_logging/audit_events.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/audit_logging/audit_logger.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/authc.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/authentication/api_keys/api_keys.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/authentication/api_keys/api_keys_context.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/authentication/api_keys/index.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/contracts.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/fips.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/request_handler_context.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/roles/index.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/src/roles/schema.ts (100%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/tsconfig.json (85%) rename {packages/core/status/core-status-common => src/core/packages/status/common}/README.md (100%) rename {packages/core/status/core-status-common => src/core/packages/status/common}/index.ts (100%) create mode 100644 src/core/packages/status/common/jest.config.js rename {packages/core/status/core-status-common => src/core/packages/status/common}/kibana.jsonc (100%) rename {packages/core/status/core-status-common => src/core/packages/status/common}/package.json (100%) rename {packages/core/status/core-status-common => src/core/packages/status/common}/src/core_status.ts (100%) rename {packages/core/status/core-status-common => src/core/packages/status/common}/src/service_status.ts (100%) rename {packages/core/status/core-status-common => src/core/packages/status/common}/src/status.ts (100%) rename {packages/core/status/core-status-common => src/core/packages/status/common}/tsconfig.json (85%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/README.md (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/index.ts (100%) create mode 100644 src/core/packages/status/server-internal/jest.config.js rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/kibana.jsonc (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/package.json (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/cached_plugins_status.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/get_summary_status.test.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/get_summary_status.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/index.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/legacy_status.test.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/legacy_status.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/log_core_services_status.test.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/log_core_services_status.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/log_overall_status.test.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/log_overall_status.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/log_plugins_status.test.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/log_plugins_status.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/plugins_status.test.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/plugins_status.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/routes/index.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/routes/status.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/routes/status_preboot.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/routes/status_response_schemas.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/status_config.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/status_service.test.mocks.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/status_service.test.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/status_service.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/test_helpers/index.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/test_helpers/test_utils.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/src/types.ts (100%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/tsconfig.json (96%) rename {packages/core/status/core-status-server => src/core/packages/status/server}/README.md (100%) rename {packages/core/status/core-status-server => src/core/packages/status/server}/index.ts (100%) rename {packages/kbn-es-errors => src/core/packages/status/server}/jest.config.js (86%) rename {packages/core/status/core-status-server => src/core/packages/status/server}/kibana.jsonc (100%) rename {packages/core/status/core-status-server => src/core/packages/status/server}/package.json (100%) rename {packages/core/status/core-status-server => src/core/packages/status/server}/src/contracts.ts (100%) rename {packages/core/status/core-status-server => src/core/packages/status/server}/src/index.ts (100%) rename {packages/core/status/core-status-server => src/core/packages/status/server}/tsconfig.json (82%) rename {packages/core/test-helpers/core-test-helpers-deprecations-getters => src/core/packages/test-helpers/deprecations-getters}/README.md (100%) rename {packages/core/test-helpers/core-test-helpers-deprecations-getters => src/core/packages/test-helpers/deprecations-getters}/index.ts (100%) create mode 100644 src/core/packages/test-helpers/deprecations-getters/jest.config.js rename {packages/core/test-helpers/core-test-helpers-deprecations-getters => src/core/packages/test-helpers/deprecations-getters}/kibana.jsonc (100%) rename {packages/core/test-helpers/core-test-helpers-deprecations-getters => src/core/packages/test-helpers/deprecations-getters}/package.json (100%) rename {packages/core/test-helpers/core-test-helpers-deprecations-getters => src/core/packages/test-helpers/deprecations-getters}/src/deprecations_getters.ts (100%) rename {packages/core/test-helpers/core-test-helpers-deprecations-getters => src/core/packages/test-helpers/deprecations-getters}/tsconfig.json (84%) rename {packages/core/test-helpers/core-test-helpers-http-setup-browser => src/core/packages/test-helpers/http-setup-browser}/README.md (100%) rename {packages/core/test-helpers/core-test-helpers-http-setup-browser => src/core/packages/test-helpers/http-setup-browser}/index.ts (100%) create mode 100644 src/core/packages/test-helpers/http-setup-browser/jest.config.js rename {packages/core/test-helpers/core-test-helpers-http-setup-browser => src/core/packages/test-helpers/http-setup-browser}/kibana.jsonc (100%) rename {packages/core/test-helpers/core-test-helpers-http-setup-browser => src/core/packages/test-helpers/http-setup-browser}/package.json (100%) rename {packages/core/test-helpers/core-test-helpers-http-setup-browser => src/core/packages/test-helpers/http-setup-browser}/src/http_test_setup.ts (100%) rename {packages/core/test-helpers/core-test-helpers-http-setup-browser => src/core/packages/test-helpers/http-setup-browser}/tsconfig.json (88%) rename {packages/core/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/README.md (100%) rename {packages/core/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/index.ts (100%) rename {packages/core/deprecations/core-deprecations-server => src/core/packages/test-helpers/so-type-serializer}/jest.config.js (83%) rename {packages/core/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/kibana.jsonc (100%) rename {packages/core/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/package.json (100%) rename {packages/core/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/src/extract_migration_info.test.ts (100%) rename {packages/core/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/src/extract_migration_info.ts (100%) rename {packages/core/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/src/get_migration_hash.test.ts (100%) rename {packages/core/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/src/get_migration_hash.ts (100%) rename {packages/core/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/tsconfig.json (88%) rename {packages/core/test-helpers/core-test-helpers-test-utils => src/core/packages/test-helpers/test-utils}/README.md (100%) rename {packages/core/test-helpers/core-test-helpers-test-utils => src/core/packages/test-helpers/test-utils}/index.ts (100%) create mode 100644 src/core/packages/test-helpers/test-utils/jest.config.js rename {packages/core/test-helpers/core-test-helpers-test-utils => src/core/packages/test-helpers/test-utils}/kibana.jsonc (100%) rename {packages/core/test-helpers/core-test-helpers-test-utils => src/core/packages/test-helpers/test-utils}/package.json (100%) rename {packages/core/test-helpers/core-test-helpers-test-utils => src/core/packages/test-helpers/test-utils}/src/create_exportable_type.ts (100%) rename {packages/core/test-helpers/core-test-helpers-test-utils => src/core/packages/test-helpers/test-utils}/src/create_hidden_type_variants.ts (100%) rename {packages/core/test-helpers/core-test-helpers-test-utils => src/core/packages/test-helpers/test-utils}/src/setup_server.ts (100%) rename {packages/core/test-helpers/core-test-helpers-test-utils => src/core/packages/test-helpers/test-utils}/tsconfig.json (93%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/README.md (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/theme/browser-internal/jest.config.js rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/kibana.jsonc (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/package.json (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/src/core_theme_provider.test.tsx (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/src/core_theme_provider.tsx (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/src/system_theme.ts (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/src/theme_service.test.mocks.ts (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/src/theme_service.test.ts (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/src/theme_service.ts (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/src/utils.ts (100%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/tsconfig.json (92%) rename {packages/core/theme/core-theme-browser => src/core/packages/theme/browser}/README.md (100%) rename {packages/core/theme/core-theme-browser => src/core/packages/theme/browser}/index.ts (100%) create mode 100644 src/core/packages/theme/browser/jest.config.js rename {packages/core/theme/core-theme-browser => src/core/packages/theme/browser}/kibana.jsonc (100%) rename {packages/core/theme/core-theme-browser => src/core/packages/theme/browser}/package.json (100%) rename {packages/core/theme/core-theme-browser => src/core/packages/theme/browser}/src/types.ts (100%) create mode 100644 src/core/packages/theme/browser/tsconfig.json rename {packages/core/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/README.md (100%) rename {packages/core/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/index.ts (100%) rename {packages/core/capabilities/core-capabilities-server => src/core/packages/usage-data/base-server-internal}/jest.config.js (83%) rename {packages/core/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/kibana.jsonc (100%) rename {packages/core/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/package.json (100%) rename {packages/core/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/src/constants.ts (100%) rename {packages/core/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/src/index.ts (100%) rename {packages/core/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/src/internal_contract.ts (100%) rename {packages/core/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/src/usage_stats_client.ts (100%) rename {packages/core/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/tsconfig.json (86%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/README.md (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/index.ts (100%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/usage-data/server-internal}/jest.config.js (85%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/kibana.jsonc (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/package.json (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/core_usage_data_service.test.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/core_usage_data_service.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/core_usage_stats_client.test.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/core_usage_stats_client.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/index.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/is_configured.test.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/is_configured.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/saved_objects/core_usage_stats.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/saved_objects/index.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/saved_objects/migrations.test.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/src/saved_objects/migrations.ts (100%) rename {packages/core/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/tsconfig.json (95%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/README.md (100%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/index.ts (100%) create mode 100644 src/core/packages/usage-data/server/jest.config.js rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/kibana.jsonc (100%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/package.json (100%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/src/core_usage_data.ts (100%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/src/core_usage_stats.ts (100%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/src/index.ts (100%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/src/setup_contract.ts (100%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/src/start_contract.ts (100%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/tsconfig.json (83%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/README.md (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/index.ts (100%) create mode 100644 src/core/packages/user-profile/browser-internal/jest.config.js rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/kibana.jsonc (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/package.json (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/src/internal_contracts.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/src/user_profile_service.test.mocks.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/src/user_profile_service.test.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/src/user_profile_service.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/src/utils/convert_api.test.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/src/utils/convert_api.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/src/utils/default_implementation.test.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/src/utils/default_implementation.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/src/utils/index.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/tsconfig.json (89%) rename {packages/core/user-profile/core-user-profile-browser-mocks => src/core/packages/user-profile/browser-mocks}/README.md (100%) rename {packages/core/user-profile/core-user-profile-browser-mocks => src/core/packages/user-profile/browser-mocks}/index.ts (100%) create mode 100644 src/core/packages/user-profile/browser-mocks/jest.config.js rename {packages/core/user-profile/core-user-profile-browser-mocks => src/core/packages/user-profile/browser-mocks}/kibana.jsonc (100%) rename {packages/core/user-profile/core-user-profile-browser-mocks => src/core/packages/user-profile/browser-mocks}/package.json (100%) rename {packages/core/user-profile/core-user-profile-browser-mocks => src/core/packages/user-profile/browser-mocks}/src/user_profile_service.mock.ts (100%) rename {packages/core/user-profile/core-user-profile-browser-mocks => src/core/packages/user-profile/browser-mocks}/tsconfig.json (86%) rename {packages/core/user-profile/core-user-profile-browser => src/core/packages/user-profile/browser}/README.md (100%) rename {packages/core/user-profile/core-user-profile-browser => src/core/packages/user-profile/browser}/index.ts (100%) create mode 100644 src/core/packages/user-profile/browser/jest.config.js rename {packages/core/user-profile/core-user-profile-browser => src/core/packages/user-profile/browser}/kibana.jsonc (100%) rename {packages/core/user-profile/core-user-profile-browser => src/core/packages/user-profile/browser}/package.json (100%) rename {packages/core/user-profile/core-user-profile-browser => src/core/packages/user-profile/browser}/src/api_provider.ts (100%) rename {packages/core/user-profile/core-user-profile-browser => src/core/packages/user-profile/browser}/src/contracts.ts (100%) rename {packages/core/user-profile/core-user-profile-browser => src/core/packages/user-profile/browser}/src/service.ts (100%) rename {packages/core/user-profile/core-user-profile-browser => src/core/packages/user-profile/browser}/tsconfig.json (86%) rename {packages/core/user-profile/core-user-profile-common => src/core/packages/user-profile/common}/README.md (100%) rename {packages/core/user-profile/core-user-profile-common => src/core/packages/user-profile/common}/index.ts (100%) create mode 100644 src/core/packages/user-profile/common/jest.config.js rename {packages/core/user-profile/core-user-profile-common => src/core/packages/user-profile/common}/kibana.jsonc (100%) rename {packages/core/user-profile/core-user-profile-common => src/core/packages/user-profile/common}/package.json (100%) rename {packages/core/user-profile/core-user-profile-common => src/core/packages/user-profile/common}/src/user_profile.ts (100%) rename {packages/analytics/utils/analytics_collection_utils => src/core/packages/user-profile/common}/tsconfig.json (82%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/README.md (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/index.ts (100%) create mode 100644 src/core/packages/user-profile/server-internal/jest.config.js rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/kibana.jsonc (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/package.json (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/internal_contracts.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/user_profile_route_handler_context.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/user_profile_service.test.mocks.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/user_profile_service.test.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/user_profile_service.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/utils/convert_api.test.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/utils/convert_api.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/utils/default_implementation.test.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/utils/default_implementation.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/src/utils/index.ts (100%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/tsconfig.json (89%) rename {packages/core/user-profile/core-user-profile-server-mocks => src/core/packages/user-profile/server-mocks}/README.md (100%) rename {packages/core/user-profile/core-user-profile-server-mocks => src/core/packages/user-profile/server-mocks}/index.ts (100%) create mode 100644 src/core/packages/user-profile/server-mocks/jest.config.js rename {packages/core/user-profile/core-user-profile-server-mocks => src/core/packages/user-profile/server-mocks}/kibana.jsonc (100%) rename {packages/core/user-profile/core-user-profile-server-mocks => src/core/packages/user-profile/server-mocks}/package.json (100%) rename {packages/core/user-profile/core-user-profile-server-mocks => src/core/packages/user-profile/server-mocks}/src/user_profile_service.mock.ts (100%) rename {packages/core/user-profile/core-user-profile-server-mocks => src/core/packages/user-profile/server-mocks}/tsconfig.json (85%) rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/README.md (100%) rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/index.ts (100%) create mode 100644 src/core/packages/user-profile/server/jest.config.js rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/kibana.jsonc (100%) rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/package.json (100%) rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/src/api_provider.ts (100%) rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/src/contracts.ts (100%) rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/src/request_handler_context.ts (100%) rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/src/service.ts (100%) rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/tsconfig.json (84%) 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/core/capabilities/core-capabilities-browser-internal => 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/core/security/core-security-common => 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%) create mode 100644 src/platform/packages/private/kbn-apm-config-loader/jest.config.js 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/private}/kbn-config-mocks/README.md (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/index.ts (100%) create mode 100644 src/platform/packages/private/kbn-config-mocks/jest.config.js rename {packages => src/platform/packages/private}/kbn-config-mocks/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/package.json (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/src/config.mock.ts (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/src/config_service.mock.ts (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/src/deprecations.mock.ts (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/src/env.mock.ts (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/src/raw_config_service.mock.ts (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/tsconfig.json (86%) rename {packages => src/platform/packages/private}/kbn-hapi-mocks/README.md (100%) rename {packages => src/platform/packages/private}/kbn-hapi-mocks/index.ts (100%) create mode 100644 src/platform/packages/private/kbn-hapi-mocks/jest.config.js rename {packages => src/platform/packages/private}/kbn-hapi-mocks/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-hapi-mocks/package.json (100%) rename {packages => src/platform/packages/private}/kbn-hapi-mocks/src/request.ts (100%) rename {packages/core/metrics/core-metrics-server => src/platform/packages/private/kbn-hapi-mocks}/tsconfig.json (82%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/.gitignore (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/README.md (91%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/index.ts (100%) create mode 100644 src/platform/packages/private/kbn-health-gateway-server/jest.config.js rename {packages => src/platform/packages/private}/kbn-health-gateway-server/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/package.json (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/scripts/.env.example (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/scripts/docker-compose.yml (92%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/scripts/init.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/config/config_service.test.mocks.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/config/config_service.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/config/config_service.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/config/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/config/read_argv.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/config/read_argv.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/kibana/handlers/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/kibana/handlers/status.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/kibana/handlers/status.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/kibana/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/kibana/kibana_config.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/kibana/kibana_config.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/kibana/kibana_service.test.mocks.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/kibana/kibana_service.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/kibana/kibana_service.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/server/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/server/server.mock.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/server/server.test.mocks.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/server/server.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/server/server.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/server/server_config.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/src/server/server_config.ts (100%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/tsconfig.json (91%) 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%) create mode 100644 src/platform/packages/shared/cloud/jest.config.js 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 (100%) 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-schema/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-config-schema/jest.config.js rename {packages => src/platform/packages/shared}/kbn-config-schema/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/byte_size_value/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/byte_size_value/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/duration/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/errors/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/errors/schema_error.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/errors/schema_error.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/errors/schema_type_error.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/errors/schema_types_error.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/errors/validation_error.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/helpers/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/helpers/offering_based_schema.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/helpers/offering_based_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/internals/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/oas_meta_fields.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/references/context_reference.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/references/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/references/reference.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/references/reference.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/references/sibling_reference.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/typeguards/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/typeguards/is_config_schema.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/typeguards/is_config_schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/any_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/any_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/array_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/array_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/boolean_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/boolean_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/buffer_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/buffer_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/byte_size_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/byte_size_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/conditional_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/conditional_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/duration_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/duration_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/intersection_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/intersection_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/ip_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/ip_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/lazy.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/lazy.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/literal_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/literal_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/map_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/map_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/maybe_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/maybe_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/never_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/never_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/nullable_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/number_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/number_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/object_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/object_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/record_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/record_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/stream_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/stream_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/string_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/string_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/union_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/union_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/uri_type.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/src/types/uri_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/tsconfig.json (80%) rename {packages => src/platform/packages/shared}/kbn-config-schema/types/joi.d.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-config/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-config/jest.config.js 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 (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/unsplittable_3.yml (100%) 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 {packages => src/platform/packages/shared}/kbn-crypto-browser/BUILD.bazel (100%) rename {packages => src/platform/packages/shared}/kbn-crypto-browser/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-crypto-browser/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-crypto-browser/jest.config.js rename {packages => src/platform/packages/shared}/kbn-crypto-browser/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-crypto-browser/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-crypto-browser/src/sha256.ts (100%) create mode 100644 src/platform/packages/shared/kbn-crypto-browser/tsconfig.json rename {packages => src/platform/packages/shared}/kbn-ebt-tools/BUILD.bazel (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-ebt-tools/jest.config.js rename {packages => src/platform/packages/shared}/kbn-ebt-tools/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metric_events/helpers.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metric_events/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metric_events/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metric_events/schema.ts (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/measure_interaction.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metrics/context/performance_context.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metrics/context/use_page_ready.ts (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metrics/context/use_performance_context.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metrics/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/performance_metrics/performance_markers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/src/types/apm_rum_core.d.ts (100%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/tsconfig.json (81%) rename {packages => src/platform/packages/shared}/kbn-es-errors/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-es-errors/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-es-errors/jest.config.js rename {packages => src/platform/packages/shared}/kbn-es-errors/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-es-errors/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-es-errors/src/errors.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-es-errors/src/errors.ts (100%) rename {packages => src/platform/packages/shared}/kbn-es-errors/src/types.ts (100%) create mode 100644 src/platform/packages/shared/kbn-es-errors/tsconfig.json rename {packages => src/platform/packages/shared}/kbn-es-types/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-es-types/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-es-types/jest.config.js rename {packages => src/platform/packages/shared}/kbn-es-types/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-es-types/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-es-types/src/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-es-types/src/search.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-es-types/src/search.ts (100%) rename {packages => src/platform/packages/shared}/kbn-es-types/tsconfig.json (78%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/BUILD.bazel (93%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/index.tsx (100%) create mode 100644 src/platform/packages/shared/kbn-i18n-react/jest.config.js rename {packages => src/platform/packages/shared}/kbn-i18n-react/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/src/__snapshots__/provider.test.tsx.snap (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/src/compatiblity_layer.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/src/inject.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/src/provider.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/src/provider.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/tsconfig.json (82%) rename {packages => src/platform/packages/shared}/kbn-i18n/BUILD.bazel (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/GUIDELINE.md (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/README.md (99%) rename {packages => src/platform/packages/shared}/kbn-i18n/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-i18n/jest.config.js rename {packages => src/platform/packages/shared}/kbn-i18n/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en-US.json (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en.json (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/__fixtures__/test_plugin_2/translations/en.json (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/__fixtures__/test_plugin_2/translations/fr.json (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/__fixtures__/test_plugin_2/translations/ru.json (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/__snapshots__/loader.test.ts.snap (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/browser.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/core/__snapshots__/i18n.test.ts.snap (92%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/core/error_handler.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/core/formats.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/core/i18n.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/core/i18n.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/core/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/core/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/loader.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/loader.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/src/translation.ts (100%) rename {packages => src/platform/packages/shared}/kbn-i18n/tsconfig.json (82%) rename {packages => src/platform/packages/shared}/kbn-logging-mocks/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging-mocks/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-logging-mocks/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-logging-mocks/src/logger.mock.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging-mocks/tsconfig.json (82%) rename {packages => src/platform/packages/shared}/kbn-logging/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-logging/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-logging/jest.config.js rename {packages => src/platform/packages/shared}/kbn-logging/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-logging/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-logging/src/appenders.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging/src/layout.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging/src/log_level.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging/src/log_level.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging/src/log_meta.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging/src/log_record.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging/src/logger.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging/src/logger_factory.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging/tsconfig.json (81%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-router-to-openapispec/jest.config.js rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/openapi-types.d.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/__snapshots__/generate_oas.test.ts.snap (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/extract_authz_description.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/extract_authz_description.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/generate_oas.test.fixture.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/generate_oas.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/generate_oas.test.util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/generate_oas.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/catch_all.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/common.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/common.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/zod/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/oas_converter/zod/lib.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/process_router.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/process_router.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/process_versioned_router.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/process_versioned_router.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/util.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/src/util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/tsconfig.json (86%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-server-http-tools/jest.config.js rename {packages => src/platform/packages/shared}/kbn-server-http-tools/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/create_server.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/default_validation_error_handler.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/default_validation_error_handler.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_listener.test.mocks.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_listener.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_listener.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_request_id.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_request_id.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_server_options.test.mocks.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_server_options.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_server_options.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_tls_options.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/get_tls_options.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/set_tls_config.test.mocks.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/set_tls_config.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/set_tls_config.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/ssl/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/ssl/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/ssl/ssl_config.test.mocks.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/ssl/ssl_config.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/ssl/ssl_config.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/src/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/tsconfig.json (83%) rename {packages => src/platform/packages/shared}/kbn-std/BUILD.bazel (100%) rename {packages => src/platform/packages/shared}/kbn-std/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-std/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-std/jest.config.js rename {packages => src/platform/packages/shared}/kbn-std/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-std/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/__snapshots__/ensure_no_unsafe_properties.test.ts.snap (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/__snapshots__/get.test.ts.snap (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/assert_never.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/deep_freeze.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/deep_freeze.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/ensure_deep_object.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/ensure_deep_object.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/ensure_no_unsafe_properties.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/ensure_no_unsafe_properties.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/get.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/get.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/get_flattened_object.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/get_flattened_object.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/is_internal_url.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/is_internal_url.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/iteration/for_each.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/iteration/for_each.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/iteration/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/iteration/map.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/iteration/map.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/iteration/observable.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/iteration/observable.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/iteration/test_helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/iteration/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/map_to_object.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/map_utils.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/map_utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/merge.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/merge.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/parse_next_url.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/parse_next_url.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/pick.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/pick.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/promise.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/promise.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/semaphore.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/semaphore.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/strip_version_qualifier.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/url.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/src/url.ts (100%) rename {packages => src/platform/packages/shared}/kbn-std/tsconfig.json (82%) rename {packages => src/platform/packages/shared}/kbn-utility-types/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/package.json (71%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/dot.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/serializable/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/empty.d.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/dot.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/method_keys_of.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/public_contract.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/public_keys.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/public_methods_of.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/shallow_promise.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/union_to_intersection.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/unwrap_observable.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/values.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/src/tsd_tests/test_d/writable.ts (100%) rename {packages => src/platform/packages/shared}/kbn-utility-types/tsconfig.json (77%) rename {packages => src/platform/packages/shared}/kbn-zod/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-zod/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-zod/jest.config.js rename {packages => src/platform/packages/shared}/kbn-zod/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-zod/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-zod/tsconfig.json (80%) rename {packages => src/platform/packages/shared}/kbn-zod/types.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-zod/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-zod/util.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-zod/util.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/README.md (100%) rename src/{plugins/kibana_usage_collection => platform/plugins/private/ftr_apis}/jest.config.js (74%) rename src/{plugins => platform/plugins/private}/ftr_apis/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/index.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/kbn_client_so/bulk_delete.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/kbn_client_so/clean.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/kbn_client_so/create.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/kbn_client_so/delete.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/kbn_client_so/find.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/kbn_client_so/get.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/kbn_client_so/index.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/kbn_client_so/update.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/server/routes/kbn_client_so/utils.ts (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/tsconfig.json (84%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/README.md (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/common/constants.ts (100%) create mode 100644 src/platform/plugins/private/kibana_usage_collection/jest.config.js rename src/{plugins/usage_collection => platform/plugins/private/kibana_usage_collection}/jest.integration.config.js (83%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/public/ebt_counters/README.md (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/public/ebt_counters/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/public/ebt_counters/register_ebt_counters.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/public/ebt_counters/register_ebt_counters.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/public/plugin.test.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/README.md (98%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/constants.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/rollups/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/rollups/total.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/rollups/total.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/rollups/utils.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/saved_objects_types.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/schema.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/application_usage/types.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/aws.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/aws.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/azure.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/azure.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.mock.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/gcp.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/gcp.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/detector/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/cloud/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/common/__fixtures__/counters_saved_objects.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/common/counters.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/common/counters.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/config_usage/README.md (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/config_usage/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/core/core_usage_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/core/core_usage_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/core/fetch_deprecated_api_counters.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/core/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/csp/csp_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/csp/csp_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/csp/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/constants.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/rollups/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/rollups/integration_tests/daily_rollups.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/schema.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/localization/file_integrity.test.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/localization/file_integrity.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/localization/file_integrity.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/localization/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/management/README.md (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/management/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/management/schema.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/management/telemetry_management_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/management/telemetry_management_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/management/types.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ops_stats/__snapshots__/ops_stats_collector.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ops_stats/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/saved_objects_counts/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count.test.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ui_counters/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ui_metric/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ui_metric/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ui_metric/schema.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/usage_counters/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/ebt_counters/README.md (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/ebt_counters/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/ebt_counters/register_ebt_counters.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/ebt_counters/register_ebt_counters.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/plugin.test.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/plugin.test.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/tsconfig.json (84%) rename src/{plugins => platform/plugins/shared}/newsfeed/README.md (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/common/constants.ts (100%) rename src/{plugins/saved_objects_management => platform/plugins/shared/newsfeed}/jest.config.js (78%) rename src/{plugins => platform/plugins/shared}/newsfeed/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/components/__snapshots__/empty_news.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/components/__snapshots__/loading_news.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/components/empty_news.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/components/empty_news.tsx (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/components/flyout_list.tsx (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/components/loading_news.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/components/loading_news.tsx (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/components/newsfeed_header_nav_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/api.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/api.test.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/api.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/convert_items.test.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/convert_items.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/driver.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/driver.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/driver.test.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/driver.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/never_fetch_driver.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/storage.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/storage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/storage.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/lib/types.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/plugin.tsx (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/server/config.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/tsconfig.json (83%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/README.md (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/common/types/README.md (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/common/types/latest.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/common/types/v1.ts (100%) create mode 100644 src/platform/plugins/shared/saved_objects_management/jest.config.js rename src/{plugins => platform/plugins/shared}/saved_objects_management/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/bulk_delete_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/bulk_get_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/extract_export_details.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/extract_export_details.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/fetch_export_by_type_and_search.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/fetch_export_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/find_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/get_allowed_types.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/get_default_title.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/get_relationships.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/get_relationships.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/get_saved_object_counts.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/get_saved_object_label.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/get_saved_object_label.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/get_tag_references.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/get_tag_references.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/import_file.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/numeric.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/parse_query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/parse_query.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/process_import_response.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/process_import_response.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/resolve_import_errors.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/lib/resolve_import_errors.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/mount_section.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/__snapshots__/saved_object_view.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/__snapshots__/inspect.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/__snapshots__/not_found_errors.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/header.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/header.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/inspect.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/inspect.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/not_found_errors.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/saved_object_view.scss (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/saved_object_view.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/saved_object_view.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/object_view/saved_object_view.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/__snapshots__/saved_objects_table.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/__snapshots__/header.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/export_modal.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/export_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/flyout.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/header.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/header.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/import_mode_control.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/import_summary.scss (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/import_summary.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/relationships.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/relationships.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/table.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/components/table.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/saved_objects_edition_page.scss (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/saved_objects_edition_page.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/management_section/saved_objects_table_page.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/action_service.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/action_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/action_service.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/actions/copy_saved_objects_to_space_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/actions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/column_service.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/column_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/column_service.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/columns/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/columns/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/columns/share_saved_objects_to_space_column.tsx (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/types/action.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/types/column.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/services/types/record.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/capabilities_provider.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/lib/find_relationships.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/lib/find_relationships.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/lib/get_saved_objects_counts.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/lib/inject_meta_attributes.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/lib/inject_meta_attributes.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/lib/to_saved_object_with_meta.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/plugin.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/routes/bulk_delete.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/routes/bulk_get.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/routes/find.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/routes/get_allowed_types.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/routes/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/routes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/routes/relationships.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/routes/scroll_count.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/services/management.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/services/management.test.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/services/management.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/tsconfig.json (95%) rename src/{plugins => platform/plugins/shared}/telemetry/README.md (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/ebt_v3_endpoint/build_headers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/ebt_v3_endpoint/build_headers.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/ebt_v3_endpoint/build_url.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/ebt_v3_endpoint/build_url.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/ebt_v3_endpoint/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/is_report_interval_expired.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/is_report_interval_expired.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/routes.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/telemetry_config/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/types/latest.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/common/types/v2.ts (100%) rename src/{plugins/usage_collection => platform/plugins/shared/telemetry}/jest.config.js (74%) rename src/{plugins => platform/plugins/shared}/telemetry/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/components/opt_in_message.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/components/opt_in_message.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/components/opt_in_status_notice_banner.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/components/opt_in_status_notice_banner.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/components/welcome_telemetry_notice.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/components/welcome_telemetry_notice.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/plugin.test.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/render_welcome_telemetry_notice.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/render_welcome_telemetry_notice.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/telemetry_notifications/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/telemetry_notifications/telemetry_notifications.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/telemetry_notifications/telemetry_notifications.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/telemetry_sender.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/telemetry_sender.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/telemetry_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/public/services/telemetry_service.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/schema/README.md (82%) rename src/{plugins => platform/plugins/shared}/telemetry/schema/kbn_packages.json (100%) rename src/{plugins/telemetry/schema/oss_plugins.json => platform/plugins/shared/telemetry/schema/oss_platform.json} (98%) create mode 100644 src/platform/plugins/shared/telemetry/schema/oss_plugins.json rename src/{plugins => platform/plugins/shared}/telemetry/schema/oss_root.json (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/collectors/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/collectors/telemetry_plugin/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/collectors/telemetry_plugin/telemetry_plugin_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/collectors/usage/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/collectors/usage/schema.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/collectors/usage/telemetry_usage_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/config/config.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/config/config.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/config/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/config/telemetry_labels.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/config/telemetry_labels.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/fetcher.test.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/fetcher.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/fetcher.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/get_next_attempt_date.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/get_next_attempt_date.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/routes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/routes/telemetry_config.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/routes/telemetry_last_reported.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/routes/telemetry_opt_in.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/routes/telemetry_opt_in_stats.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/routes/telemetry_opt_in_stats.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/routes/telemetry_usage_stats.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/routes/telemetry_usage_stats.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/routes/telemetry_user_has_seen_notice.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/saved_objects/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/saved_objects/get_telemetry_saved_object.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/saved_objects/get_telemetry_saved_object.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/saved_objects/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/saved_objects/register_telemetry_saved_object.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/saved_objects/types.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/saved_objects/update_telemetry_saved_object.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_cluster_info.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_cluster_info.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_cluster_stats.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_cluster_stats.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_data_telemetry/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_data_telemetry/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_kibana.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_local_stats.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_local_stats.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_nodes_usage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/get_nodes_usage.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_collection/register_collection.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/get_telemetry_allow_changing_opt_in_status.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/get_telemetry_failure_details.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/get_telemetry_failure_details.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/get_telemetry_opt_in.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/get_telemetry_opt_in.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/get_telemetry_send_usage_from.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/get_telemetry_send_usage_from.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/server/telemetry_config/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry/tsconfig.json (92%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/README.md (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/common/index.ts (100%) create mode 100644 src/platform/plugins/shared/telemetry_collection_manager/jest.config.js rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/cache/cache_manager.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/cache/cache_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/cache/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/encryption/encrypt.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/encryption/encrypt.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/encryption/encrypt.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/encryption/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/encryption/telemetry_jwks.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/telemetry_saved_objects_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/telemetry_saved_objects_client.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/tsconfig.json (83%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/README.md (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/common/index.ts (100%) create mode 100644 src/platform/plugins/shared/telemetry_management_section/jest.config.js rename src/{plugins => platform/plugins/shared}/telemetry_management_section/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/__snapshots__/opt_in_example_flyout.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/__snapshots__/telemetry_management_section.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/lazy_opt_in_example_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/loading_spinner.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/opt_in_example_flyout.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/opt_in_example_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/telemetry_management_section.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/telemetry_management_section.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/components/telemetry_management_section_wrapper.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/public/plugin.tsx (100%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/tsconfig.json (88%) rename src/{plugins => platform/plugins/shared}/usage_collection/README.mdx (99%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/application_usage.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/stats/core_metrics.ts (99%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/stats/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/stats/latest.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/stats/v1.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/ui_counters/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/ui_counters/latest.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/ui_counters/v1.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/usage_counters/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/usage_counters/latest.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/common/types/usage_counters/v1.ts (100%) rename src/{plugins/telemetry_collection_manager => platform/plugins/shared/usage_collection}/jest.config.js (67%) rename src/{plugins/kibana_usage_collection => platform/plugins/shared/usage_collection}/jest.integration.config.js (84%) rename src/{plugins => platform/plugins/shared}/usage_collection/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/components/track_application_view/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/components/track_application_view/track_application_view.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/components/track_application_view/track_application_view.tsx (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/components/track_application_view/track_application_view_component.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/components/track_application_view/track_application_view_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/components/track_application_view/types.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/mocks.tsx (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/plugin.tsx (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/services/application_usage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/services/application_usage.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/services/create_reporter.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/__snapshots__/collector_set.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/collector.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/collector.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/collector_set.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/collector_set.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/collector_stats/README.md (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/collector_stats/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/collector_stats/schema.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/measure_duration.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/types.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/collector/usage_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/config.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/report/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/report/schema.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/report/store_application_usage.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/report/store_application_usage.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/report/store_ui_report.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/report/store_ui_report.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/report/store_ui_report.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/routes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/routes/integration_tests/stats.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/routes/stats/README.md (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/routes/stats/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/routes/stats/stats.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/routes/ui_counters.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/common/kuery_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/common/kuery_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/integration_tests/counter_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/integration_tests/rollups.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/integration_tests/search.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/rollups/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/rollups/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/rollups/register_rollups.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/rollups/rollups.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/rollups/rollups.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/saved_objects.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/saved_objects.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/search/search.fixtures.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/search/search.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/search/search.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/types.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/usage_counter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/usage_counter.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/usage_counters_service.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/usage_counters_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/server/usage_counters/usage_counters_service.ts (100%) rename src/{plugins => platform/plugins/shared}/usage_collection/tsconfig.json (89%) delete mode 100644 src/plugins/ftr_apis/jest.config.js delete mode 100644 src/plugins/newsfeed/jest.config.js delete mode 100644 src/plugins/telemetry/jest.config.js delete mode 100644 src/plugins/telemetry/schema/oss_platform.json delete mode 100644 src/plugins/telemetry_management_section/jest.config.js 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%) create mode 100644 x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js 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%) create mode 100644 x-pack/platform/plugins/private/cloud_integrations/cloud_links/jest.config.js 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/appearance_selector/appearance_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/use_appearance_hook.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/values_group.tsx (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/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 (89%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/README.md (100%) create mode 100644 x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/schema/README.md (73%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/schema/xpack_monitoring.json (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/schema/xpack_observability.json (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/schema/xpack_platform.json (98%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/schema/xpack_plugins.json (83%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/schema/xpack_root.json (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/schema/xpack_search.json (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/schema/xpack_security.json (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/__snapshots__/get_stats_with_xpack.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/get_license.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/get_license.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/get_xpack.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/get_xpack.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.ts (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/tsconfig.json (81%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/README.md (93%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/app/app.helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/app/cluster_upgrade.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/app/privileges.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.helpers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecations/cluster_settings_deprecation_flyout.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecations/error_handling.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecations/es_deprecations.helpers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecations/mocked_responses.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/helpers/app_context.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/helpers/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/helpers/setup_environment.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/helpers/time_manipulation.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout/deprecation_details_flyout.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/deprecations_table.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/error_handling.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/kibana_deprecations/kibana_deprecations.helpers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/kibana_deprecations/service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/backup_step/backup_step.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/elasticsearch_deprecation_issues.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/fix_issues_step.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/mock_es_issues.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/logs_step/logs_step.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/__snapshots__/flyout.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/overview.helpers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/overview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/common/get_index_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/common/get_index_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/common/types.ts (100%) rename x-pack/{plugins/cloud_integrations/cloud_full_story => platform/plugins/private/upgrade_assistant}/jest.config.js (56%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/app.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/app_context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/constants.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/es_deprecation_logs.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/_deprecation_logging_toggle.scss (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/deprecation_logging_toggle.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/deprecations_count_checkpoint.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/fix_deprecation_logs.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/use_deprecation_logging.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecation_logs/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/resolution_table_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/table_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/table_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/table_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/resolution_table_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/table_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/resolution_table_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/table_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/use_snapshot_state.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/warning_step.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/_step_progress.scss (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/container.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/step_progress.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step_checkbox.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warnings_step.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/table_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/es_deprecations.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table_cells.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/es_deprecations/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/kibana_deprecations/_deprecation_details_flyout.scss (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/kibana_deprecations/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/kibana_deprecations/resolution_table_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/backup_step/backup_step.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/backup_step/cloud_backup.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/backup_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/backup_step/on_prem_backup.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/fix_issues_step/components/_deprecation_issues_panel.scss (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/fix_issues_step/components/deprecation_issues_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/fix_issues_step/components/es_deprecation_issues_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/fix_issues_step/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/fix_issues_step/components/kibana_deprecation_issues_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/fix_issues_step/components/loading_issues_error.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/fix_issues_step/components/no_deprecation_issues.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/fix_issues_step/fix_issues_step.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/fix_issues_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/logs_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/logs_step/logs_step.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/migrate_system_indices/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/migrate_system_indices/use_migrate_system_indices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/overview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/upgrade_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/shared/deprecation_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/shared/deprecation_count.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/shared/deprecation_flyout_learn_more_link.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/shared/deprecations_page_loading_error.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/shared/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/shared/level_info_tip.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/shared/no_deprecations.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/components/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/lib/api.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/lib/breadcrumbs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/lib/get_es_deprecation_error.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/lib/logs_checkpoint.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/lib/ui_metric.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/lib/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/lib/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/application/mount_management_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/shared_imports.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/__fixtures__/es_deprecations.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/__fixtures__/fake_deprecations.json (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/__fixtures__/health_indicators.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/__fixtures__/version.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/__mocks__/es_version_precheck.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/__snapshots__/kibana_status.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_deprecation_logging_apis.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_deprecations_status/__snapshots__/index.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_deprecations_status/get_corrective_actions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_deprecations_status/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_deprecations_status/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_deprecations_status/migrations.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_indices_state_check.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_system_indices_migration.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_system_indices_migration.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_version_precheck.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/es_version_precheck.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/kibana_status.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/kibana_status.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/credential_store.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/credential_store.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/error.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/error_symbols.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/index_settings.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/index_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/op_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/reindex_actions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/reindex_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/reindexing/worker.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/telemetry/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/telemetry/usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/lib/version.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/__mocks__/request.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/__mocks__/routes.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/app.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/cloud_backup_status.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/cluster_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/cluster_upgrade_status.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/deprecation_logging.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/deprecation_logging.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/es_deprecations.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/es_deprecations.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/ml_snapshots.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/ml_snapshots.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/node_disk_space.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/node_disk_space.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/register_routes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/reindex_indices/create_reindex_worker.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/reindex_indices/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/reindex_indices/map_any_error_to_kibana_http_response.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/reindex_indices/reindex_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/reindex_indices/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/remote_clusters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/status.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/status.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/system_indices_migration.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/system_indices_migration.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/routes/update_index_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/saved_object_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/saved_object_types/ml_upgrade_operation_saved_object_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/saved_object_types/reindex_operation_saved_object_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/shared_imports.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/tsconfig.json (93%) 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/upgrade_assistant => platform/plugins/shared/cloud}/jest.config.js (66%) 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 (83%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/README.mdx (100%) 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%) create mode 100644 x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js 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%) rename x-pack/{plugins => platform/plugins/shared}/features/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/features/common/alerting_kibana_privilege.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/common/elasticsearch_feature.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/common/feature_elasticsearch_privileges.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/common/feature_kibana_privileges.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/features/common/feature_kibana_privileges_reference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/common/kibana_feature.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/common/reserved_kibana_privilege.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/common/sub_feature.ts (100%) rename x-pack/{plugins/cloud_integrations/cloud_links => platform/plugins/shared/features}/jest.config.js (57%) rename x-pack/{plugins => platform/plugins/shared}/features/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/features/public/features_api_client.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/public/features_api_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/__snapshots__/feature_registry.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/__snapshots__/oss_features.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/feature_privilege_iterator/feature_privilege_iterator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/feature_privilege_iterator/feature_privilege_iterator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/feature_privilege_iterator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/feature_privilege_iterator/sub_feature_privilege_iterator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/feature_registry.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/feature_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/feature_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/oss_features.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/oss_features.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/routes/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/ui_capabilities_for_features.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/server/ui_capabilities_for_features.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/features/tsconfig.json (87%) rename x-pack/{plugins => platform/plugins/shared}/licensing/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/has_license_info_changed.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/has_license_info_changed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/license.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/license_update.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/license_update.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/licensing.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/register_analytics_context_provider.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/register_analytics_context_provider.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/common/types.ts (100%) rename x-pack/{plugins/cloud_integrations/cloud_experiments => platform/plugins/shared/licensing}/jest.config.js (55%) rename x-pack/{plugins => platform/plugins/shared}/licensing/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/expired_banner.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/services/feature_usage_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/services/feature_usage_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/services/feature_usage_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/license_fetcher.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/license_fetcher.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/licensing_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/licensing_route_handler_context.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/licensing_route_handler_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/on_pre_response_handler.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/on_pre_response_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/plugin_status.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/plugin_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/routes/feature_usage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/routes/info.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/routes/internal/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/routes/internal/notify_feature_usage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/routes/internal/register_feature.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/services/feature_usage_service.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/services/feature_usage_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/services/feature_usage_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/wrap_route_with_license_check.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/server/wrap_route_with_license_check.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/licensing/tsconfig.json (88%) delete mode 100644 x-pack/plugins/cloud/jest.config.js delete mode 100644 x-pack/plugins/features/jest.config.js delete mode 100644 x-pack/plugins/licensing/jest.config.js delete mode 100644 x-pack/plugins/telemetry_collection_xpack/jest.config.js diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 3f5a709883ffd..fe800f550f592 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -265,7 +265,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/, /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/openai/, /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/bedrock/, - /^x-pack\/plugins\/usage_collection\/public/, + /^x-pack\/platform\/plugins\/shared\/usage_collection\/public/, /^x-pack\/solutions\/security\/plugins\/elastic_assistant/, /^x-pack\/solutions\/security\/packages/, /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/, @@ -300,8 +300,8 @@ const getPipeline = (filename: string, removeSteps = true) => { /^packages\/kbn-doc-links/, /^packages\/kbn-dom-drag-drop/, /^src\/platform\/packages\/shared\/kbn-es-query/, - /^packages\/kbn-i18n/, - /^packages\/kbn-i18n-react/, + /^src\/platform\/packages\/shared\/kbn-i18n/, + /^src\/platform\/packages\/shared\/kbn-i18n-react/, /^src\/platform\/packages\/shared\/kbn-grouping/, /^src\/platform\/packages\/shared\/kbn-resizable-layout/, /^src\/platform\/packages\/shared\/kbn-rison/, @@ -315,7 +315,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/solutions\/security\/packages\/kbn-securitysolution-list-hooks/, /^x-pack\/solutions\/security\/packages\/kbn-securitysolution-t-grid/, /^src\/platform\/packages\/shared\/kbn-ui-theme/, - /^packages\/kbn-utility-types/, + /^src\/platform\/packages\/shared\/kbn-utility-types/, /^packages\/react/, /^packages\/shared-ux/, /^src\/core/, @@ -348,7 +348,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/solutions\/security\/plugins\/threat_intelligence/, /^x-pack\/solutions\/security\/plugins\/timelines/, /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/, - /^x-pack\/plugins\/usage_collection\/public/, + /^x-pack\/platform\/plugins\/shared\/usage_collection\/public/, /^x-pack\/test\/functional\/es_archives\/security_solution/, /^x-pack\/test\/security_solution_cypress/, ])) || @@ -376,7 +376,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ /^x-pack\/packages\/kbn-cloud-security-posture/, - /^x-pack\/solutions\/security\/plugins\/cloud_security_posture/, + /^x-pack\/solutions\/security\/platform\/plugins\/shared\/cloud_security_posture/, /^x-pack\/solutions\/security\/plugins\/security_solution/, /^x-pack\/test\/security_solution_cypress/, ])) || diff --git a/.eslintignore b/.eslintignore index 1048787508e6e..270762242c87e 100644 --- a/.eslintignore +++ b/.eslintignore @@ -27,7 +27,7 @@ snapshots.js /x-pack/platform/plugins/private/canvas/storybook/build /x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/** /x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/** -/x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/** +/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/assets/** # package overrides /packages/kbn-eslint-config diff --git a/.eslintrc.js b/.eslintrc.js index 3b96e4ef92b5e..ef993fe0ea2ce 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1921,14 +1921,14 @@ 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/**', - 'src/plugins/telemetry/**', - 'src/plugins/telemetry_collection_manager/**', - 'src/plugins/telemetry_management_section/**', - 'x-pack/plugins/telemetry_collection_xpack/**', + 'src/platform/plugins/private/kibana_usage_collection/**', + 'src/platform/plugins/shared/usage_collection/**', + 'src/platform/plugins/shared/telemetry/**', + 'src/platform/plugins/shared/telemetry_collection_manager/**', + 'src/platform/plugins/shared/telemetry_management_section/**', + 'x-pack/platform/plugins/private/telemetry_collection_xpack/**', ], rules: { '@typescript-eslint/no-explicit-any': 'error', @@ -1938,21 +1938,21 @@ module.exports = { files: [ // core-team owned code 'src/core/**', - 'x-pack/plugins/features/**', - 'x-pack/plugins/licensing/**', + 'x-pack/platform/plugins/shared/features/**', + 'x-pack/platform/plugins/shared/licensing/**', 'x-pack/platform/plugins/shared/global_search/**', - 'x-pack/plugins/cloud/**', - 'packages/kbn-config-schema', + 'x-pack/platform/plugins/shared/cloud/**', + 'src/platform/packages/shared/kbn-config-schema', 'src/plugins/status_page/**', - 'src/plugins/saved_objects_management/**', - 'packages/kbn-analytics/**', + 'src/platform/plugins/shared/saved_objects_management/**', + 'src/platform/packages/shared/kbn-analytics/**', 'packages/kbn-telemetry-tools/**', - 'src/plugins/kibana_usage_collection/**', - 'src/plugins/usage_collection/**', - 'src/plugins/telemetry/**', - 'src/plugins/telemetry_collection_manager/**', - 'src/plugins/telemetry_management_section/**', - 'x-pack/plugins/telemetry_collection_xpack/**', + 'src/platform/plugins/private/kibana_usage_collection/**', + 'src/platform/plugins/shared/usage_collection/**', + 'src/platform/plugins/shared/telemetry/**', + 'src/platform/plugins/shared/telemetry_collection_manager/**', + 'src/platform/plugins/shared/telemetry_management_section/**', + 'x-pack/platform/plugins/private/telemetry_collection_xpack/**', ], rules: { '@typescript-eslint/prefer-ts-expect-error': 'error', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7e9f694892399..1046766a2d222 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -41,8 +41,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 @@ -59,19 +57,12 @@ packages/core/analytics/core-analytics-server-mocks @elastic/kibana-core packages/core/application/core-application-browser-mocks @elastic/kibana-core packages/core/apps/core-apps-browser-mocks @elastic/kibana-core packages/core/base/core-base-browser-mocks @elastic/kibana-core -packages/core/base/core-base-common-internal @elastic/kibana-core -packages/core/base/core-base-server-internal @elastic/kibana-core packages/core/base/core-base-server-mocks @elastic/kibana-core -packages/core/capabilities/core-capabilities-browser-internal @elastic/kibana-core packages/core/capabilities/core-capabilities-browser-mocks @elastic/kibana-core -packages/core/capabilities/core-capabilities-common @elastic/kibana-core -packages/core/capabilities/core-capabilities-server @elastic/kibana-core -packages/core/capabilities/core-capabilities-server-internal @elastic/kibana-core packages/core/capabilities/core-capabilities-server-mocks @elastic/kibana-core packages/core/chrome/core-chrome-browser @elastic/appex-sharedux packages/core/chrome/core-chrome-browser-internal @elastic/appex-sharedux packages/core/chrome/core-chrome-browser-mocks @elastic/appex-sharedux -packages/core/config/core-config-server-internal @elastic/kibana-core packages/core/custom-branding/core-custom-branding-browser @elastic/appex-sharedux packages/core/custom-branding/core-custom-branding-browser-internal @elastic/appex-sharedux packages/core/custom-branding/core-custom-branding-browser-mocks @elastic/appex-sharedux @@ -79,154 +70,48 @@ packages/core/custom-branding/core-custom-branding-common @elastic/appex-sharedu packages/core/custom-branding/core-custom-branding-server @elastic/appex-sharedux packages/core/custom-branding/core-custom-branding-server-internal @elastic/appex-sharedux packages/core/custom-branding/core-custom-branding-server-mocks @elastic/appex-sharedux -packages/core/deprecations/core-deprecations-browser @elastic/kibana-core -packages/core/deprecations/core-deprecations-browser-internal @elastic/kibana-core packages/core/deprecations/core-deprecations-browser-mocks @elastic/kibana-core -packages/core/deprecations/core-deprecations-common @elastic/kibana-core -packages/core/deprecations/core-deprecations-server @elastic/kibana-core -packages/core/deprecations/core-deprecations-server-internal @elastic/kibana-core packages/core/deprecations/core-deprecations-server-mocks @elastic/kibana-core -packages/core/doc-links/core-doc-links-browser @elastic/kibana-core -packages/core/doc-links/core-doc-links-browser-internal @elastic/kibana-core packages/core/doc-links/core-doc-links-browser-mocks @elastic/kibana-core -packages/core/doc-links/core-doc-links-server @elastic/kibana-core -packages/core/doc-links/core-doc-links-server-internal @elastic/kibana-core packages/core/doc-links/core-doc-links-server-mocks @elastic/kibana-core -packages/core/elasticsearch/core-elasticsearch-client-server-internal @elastic/kibana-core packages/core/elasticsearch/core-elasticsearch-client-server-mocks @elastic/kibana-core -packages/core/elasticsearch/core-elasticsearch-server @elastic/kibana-core -packages/core/elasticsearch/core-elasticsearch-server-internal @elastic/kibana-core packages/core/elasticsearch/core-elasticsearch-server-mocks @elastic/kibana-core -packages/core/environment/core-environment-server-internal @elastic/kibana-core packages/core/environment/core-environment-server-mocks @elastic/kibana-core -packages/core/execution-context/core-execution-context-browser @elastic/kibana-core -packages/core/execution-context/core-execution-context-browser-internal @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core -packages/core/execution-context/core-execution-context-common @elastic/kibana-core -packages/core/execution-context/core-execution-context-server @elastic/kibana-core -packages/core/execution-context/core-execution-context-server-internal @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core -packages/core/fatal-errors/core-fatal-errors-browser @elastic/kibana-core -packages/core/fatal-errors/core-fatal-errors-browser-internal @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-browser-mocks @elastic/kibana-core -packages/core/feature-flags/core-feature-flags-browser @elastic/kibana-core -packages/core/feature-flags/core-feature-flags-browser-internal @elastic/kibana-core -packages/core/feature-flags/core-feature-flags-browser-mocks @elastic/kibana-core -packages/core/feature-flags/core-feature-flags-server @elastic/kibana-core -packages/core/feature-flags/core-feature-flags-server-internal @elastic/kibana-core -packages/core/feature-flags/core-feature-flags-server-mocks @elastic/kibana-core -packages/core/http/core-http-browser @elastic/kibana-core -packages/core/http/core-http-browser-internal @elastic/kibana-core packages/core/http/core-http-browser-mocks @elastic/kibana-core -packages/core/http/core-http-common @elastic/kibana-core -packages/core/http/core-http-context-server-internal @elastic/kibana-core packages/core/http/core-http-context-server-mocks @elastic/kibana-core -packages/core/http/core-http-request-handler-context-server @elastic/kibana-core -packages/core/http/core-http-request-handler-context-server-internal @elastic/kibana-core -packages/core/http/core-http-resources-server @elastic/kibana-core -packages/core/http/core-http-resources-server-internal @elastic/kibana-core packages/core/http/core-http-resources-server-mocks @elastic/kibana-core -packages/core/http/core-http-router-server-internal @elastic/kibana-core packages/core/http/core-http-router-server-mocks @elastic/kibana-core -packages/core/http/core-http-server @elastic/kibana-core -packages/core/http/core-http-server-internal @elastic/kibana-core packages/core/http/core-http-server-mocks @elastic/kibana-core -packages/core/http/core-http-server-utils @elastic/kibana-core -packages/core/i18n/core-i18n-browser @elastic/kibana-core -packages/core/i18n/core-i18n-browser-internal @elastic/kibana-core packages/core/i18n/core-i18n-browser-mocks @elastic/kibana-core -packages/core/i18n/core-i18n-server @elastic/kibana-core -packages/core/i18n/core-i18n-server-internal @elastic/kibana-core packages/core/i18n/core-i18n-server-mocks @elastic/kibana-core -packages/core/injected-metadata/core-injected-metadata-browser-internal @elastic/kibana-core packages/core/injected-metadata/core-injected-metadata-browser-mocks @elastic/kibana-core -packages/core/injected-metadata/core-injected-metadata-common-internal @elastic/kibana-core -packages/core/integrations/core-integrations-browser-internal @elastic/kibana-core packages/core/integrations/core-integrations-browser-mocks @elastic/kibana-core -packages/core/lifecycle/core-lifecycle-browser @elastic/kibana-core -packages/core/lifecycle/core-lifecycle-browser-internal @elastic/kibana-core packages/core/lifecycle/core-lifecycle-browser-mocks @elastic/kibana-core -packages/core/lifecycle/core-lifecycle-server @elastic/kibana-core -packages/core/lifecycle/core-lifecycle-server-internal @elastic/kibana-core packages/core/lifecycle/core-lifecycle-server-mocks @elastic/kibana-core -packages/core/logging/core-logging-browser-internal @elastic/kibana-core packages/core/logging/core-logging-browser-mocks @elastic/kibana-core -packages/core/logging/core-logging-common-internal @elastic/kibana-core -packages/core/logging/core-logging-server @elastic/kibana-core -packages/core/logging/core-logging-server-internal @elastic/kibana-core packages/core/logging/core-logging-server-mocks @elastic/kibana-core -packages/core/metrics/core-metrics-collectors-server-internal @elastic/kibana-core packages/core/metrics/core-metrics-collectors-server-mocks @elastic/kibana-core -packages/core/metrics/core-metrics-server @elastic/kibana-core -packages/core/metrics/core-metrics-server-internal @elastic/kibana-core packages/core/metrics/core-metrics-server-mocks @elastic/kibana-core -packages/core/mount-utils/core-mount-utils-browser @elastic/kibana-core -packages/core/mount-utils/core-mount-utils-browser-internal @elastic/kibana-core -packages/core/node/core-node-server @elastic/kibana-core -packages/core/node/core-node-server-internal @elastic/kibana-core packages/core/node/core-node-server-mocks @elastic/kibana-core -packages/core/notifications/core-notifications-browser @elastic/kibana-core -packages/core/notifications/core-notifications-browser-internal @elastic/kibana-core packages/core/notifications/core-notifications-browser-mocks @elastic/kibana-core -packages/core/overlays/core-overlays-browser @elastic/kibana-core -packages/core/overlays/core-overlays-browser-internal @elastic/kibana-core packages/core/overlays/core-overlays-browser-mocks @elastic/kibana-core -packages/core/plugins/core-plugins-base-server-internal @elastic/kibana-core -packages/core/plugins/core-plugins-browser @elastic/kibana-core -packages/core/plugins/core-plugins-browser-internal @elastic/kibana-core packages/core/plugins/core-plugins-browser-mocks @elastic/kibana-core -packages/core/plugins/core-plugins-contracts-browser @elastic/kibana-core -packages/core/plugins/core-plugins-contracts-server @elastic/kibana-core -packages/core/plugins/core-plugins-server @elastic/kibana-core -packages/core/plugins/core-plugins-server-internal @elastic/kibana-core packages/core/plugins/core-plugins-server-mocks @elastic/kibana-core -packages/core/preboot/core-preboot-server @elastic/kibana-core -packages/core/preboot/core-preboot-server-internal @elastic/kibana-core packages/core/preboot/core-preboot-server-mocks @elastic/kibana-core -packages/core/rendering/core-rendering-browser @elastic/kibana-core -packages/core/rendering/core-rendering-browser-internal @elastic/kibana-core packages/core/rendering/core-rendering-browser-mocks @elastic/kibana-core -packages/core/rendering/core-rendering-server-internal @elastic/kibana-core packages/core/rendering/core-rendering-server-mocks @elastic/kibana-core -packages/core/root/core-root-browser-internal @elastic/kibana-core -packages/core/root/core-root-server-internal @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-api-browser @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-api-server @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-api-server-internal @elastic/kibana-core packages/core/saved-objects/core-saved-objects-api-server-mocks @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-base-server-internal @elastic/kibana-core packages/core/saved-objects/core-saved-objects-base-server-mocks @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-browser @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-browser-internal @elastic/kibana-core packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-common @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-import-export-server-internal @elastic/kibana-core packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-migration-server-internal @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-server @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-server-internal @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @elastic/kibana-core -packages/core/saved-objects/core-saved-objects-utils-server @elastic/kibana-core -packages/core/security/core-security-browser @elastic/kibana-core -packages/core/security/core-security-browser-internal @elastic/kibana-core -packages/core/security/core-security-browser-mocks @elastic/kibana-core -packages/core/security/core-security-common @elastic/kibana-core @elastic/kibana-security -packages/core/security/core-security-server @elastic/kibana-core -packages/core/security/core-security-server-internal @elastic/kibana-core -packages/core/security/core-security-server-mocks @elastic/kibana-core -packages/core/status/core-status-common @elastic/kibana-core -packages/core/status/core-status-server @elastic/kibana-core -packages/core/status/core-status-server-internal @elastic/kibana-core packages/core/status/core-status-server-mocks @elastic/kibana-core -packages/core/test-helpers/core-test-helpers-deprecations-getters @elastic/kibana-core -packages/core/test-helpers/core-test-helpers-http-setup-browser @elastic/kibana-core packages/core/test-helpers/core-test-helpers-kbn-server @elastic/kibana-core packages/core/test-helpers/core-test-helpers-model-versions @elastic/kibana-core -packages/core/test-helpers/core-test-helpers-so-type-serializer @elastic/kibana-core -packages/core/test-helpers/core-test-helpers-test-utils @elastic/kibana-core -packages/core/theme/core-theme-browser @elastic/kibana-core -packages/core/theme/core-theme-browser-internal @elastic/kibana-core packages/core/theme/core-theme-browser-mocks @elastic/kibana-core packages/core/ui-settings/core-ui-settings-browser @elastic/appex-sharedux packages/core/ui-settings/core-ui-settings-browser-internal @elastic/appex-sharedux @@ -235,17 +120,7 @@ packages/core/ui-settings/core-ui-settings-common @elastic/appex-sharedux packages/core/ui-settings/core-ui-settings-server @elastic/appex-sharedux packages/core/ui-settings/core-ui-settings-server-internal @elastic/appex-sharedux packages/core/ui-settings/core-ui-settings-server-mocks @elastic/appex-sharedux -packages/core/usage-data/core-usage-data-base-server-internal @elastic/kibana-core -packages/core/usage-data/core-usage-data-server @elastic/kibana-core -packages/core/usage-data/core-usage-data-server-internal @elastic/kibana-core packages/core/usage-data/core-usage-data-server-mocks @elastic/kibana-core -packages/core/user-profile/core-user-profile-browser @elastic/kibana-core -packages/core/user-profile/core-user-profile-browser-internal @elastic/kibana-core -packages/core/user-profile/core-user-profile-browser-mocks @elastic/kibana-core -packages/core/user-profile/core-user-profile-common @elastic/kibana-core -packages/core/user-profile/core-user-profile-server @elastic/kibana-core -packages/core/user-profile/core-user-profile-server-internal @elastic/kibana-core -packages/core/user-profile/core-user-profile-server-mocks @elastic/kibana-core packages/core/user-settings/core-user-settings-server @elastic/kibana-security packages/core/user-settings/core-user-settings-server-internal @elastic/kibana-security packages/core/user-settings/core-user-settings-server-mocks @elastic/kibana-security @@ -257,8 +132,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-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 packages/kbn-axe-config @elastic/kibana-qa @@ -280,11 +153,7 @@ 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-crypto @elastic/kibana-security -packages/kbn-crypto-browser @elastic/kibana-core packages/kbn-cypress-config @elastic/kibana-operations packages/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery packages/kbn-dependency-ownership @elastic/kibana-security @@ -295,11 +164,8 @@ packages/kbn-dev-proc-runner @elastic/kibana-operations packages/kbn-dev-utils @elastic/kibana-operations packages/kbn-docs-utils @elastic/kibana-operations packages/kbn-dom-drag-drop @elastic/kibana-visualizations @elastic/kibana-data-discovery -packages/kbn-ebt-tools @elastic/kibana-core packages/kbn-es @elastic/kibana-operations packages/kbn-es-archiver @elastic/kibana-operations @elastic/appex-qa -packages/kbn-es-errors @elastic/kibana-core -packages/kbn-es-types @elastic/kibana-core @elastic/obs-knowledge-team packages/kbn-eslint-config @elastic/kibana-operations packages/kbn-eslint-plugin-css @elastic/appex-sharedux packages/kbn-eslint-plugin-disable @elastic/kibana-operations @@ -324,10 +190,6 @@ packages/kbn-get-repo-files @elastic/kibana-operations packages/kbn-grid-layout @elastic/kibana-presentation packages/kbn-guided-onboarding @elastic/appex-sharedux packages/kbn-handlebars @elastic/kibana-security -packages/kbn-hapi-mocks @elastic/kibana-core -packages/kbn-health-gateway-server @elastic/kibana-core -packages/kbn-i18n @elastic/kibana-core -packages/kbn-i18n-react @elastic/kibana-core packages/kbn-import-locator @elastic/kibana-operations packages/kbn-import-resolver @elastic/kibana-operations packages/kbn-interpreter @elastic/kibana-visualizations @@ -339,8 +201,6 @@ packages/kbn-kibana-manifest-schema @elastic/kibana-operations packages/kbn-lens-formula-docs @elastic/kibana-visualizations packages/kbn-lint-packages-cli @elastic/kibana-operations packages/kbn-lint-ts-projects-cli @elastic/kibana-operations -packages/kbn-logging @elastic/kibana-core -packages/kbn-logging-mocks @elastic/kibana-core packages/kbn-managed-content-badge @elastic/kibana-visualizations packages/kbn-managed-vscode-config @elastic/kibana-operations packages/kbn-managed-vscode-config-cli @elastic/kibana-operations @@ -384,7 +244,6 @@ packages/kbn-reporting/get_csv_panel_actions @elastic/appex-sharedux packages/kbn-reporting/mocks_server @elastic/appex-sharedux packages/kbn-reporting/public @elastic/appex-sharedux packages/kbn-reporting/server @elastic/appex-sharedux -packages/kbn-router-to-openapispec @elastic/kibana-core packages/kbn-safer-lodash-set @elastic/kibana-security packages/kbn-saved-objects-settings @elastic/appex-sharedux packages/kbn-saved-search-component @elastic/obs-ux-logs-team @@ -393,13 +252,11 @@ packages/kbn-scout-info @elastic/appex-qa packages/kbn-scout-reporting @elastic/appex-qa packages/kbn-screenshotting-server @elastic/appex-sharedux packages/kbn-security-hardening @elastic/kibana-security -packages/kbn-server-http-tools @elastic/kibana-core packages/kbn-set-map @elastic/kibana-operations packages/kbn-shared-ux-utility @elastic/appex-sharedux packages/kbn-some-dev-log @elastic/kibana-operations packages/kbn-sort-package-json @elastic/kibana-operations packages/kbn-sort-predicates @elastic/kibana-visualizations -packages/kbn-std @elastic/kibana-core packages/kbn-stdio-dev-helpers @elastic/kibana-operations packages/kbn-storybook @elastic/kibana-operations packages/kbn-telemetry-tools @elastic/kibana-core @@ -416,14 +273,12 @@ packages/kbn-ts-type-check-cli @elastic/kibana-operations packages/kbn-ui-actions-browser @elastic/appex-sharedux packages/kbn-use-tracked-promise @elastic/obs-ux-logs-team packages/kbn-user-profile-components @elastic/kibana-security -packages/kbn-utility-types @elastic/kibana-core packages/kbn-validate-next-docs-cli @elastic/kibana-operations packages/kbn-visualization-ui-components @elastic/kibana-visualizations packages/kbn-visualization-utils @elastic/kibana-visualizations packages/kbn-web-worker-stub @elastic/kibana-operations packages/kbn-whereis-pkg-cli @elastic/kibana-operations packages/kbn-yarn-lock-validator @elastic/kibana-operations -packages/kbn-zod @elastic/kibana-core packages/react/kibana_context/common @elastic/appex-sharedux packages/react/kibana_context/render @elastic/appex-sharedux packages/react/kibana_context/root @elastic/appex-sharedux @@ -500,11 +355,139 @@ src/core/packages/apps/browser-internal @elastic/kibana-core src/core/packages/apps/server-internal @elastic/kibana-core src/core/packages/base/browser-internal @elastic/kibana-core src/core/packages/base/common @elastic/kibana-core +src/core/packages/base/common-internal @elastic/kibana-core +src/core/packages/base/server-internal @elastic/kibana-core +src/core/packages/capabilities/browser-internal @elastic/kibana-core +src/core/packages/capabilities/common @elastic/kibana-core +src/core/packages/capabilities/server @elastic/kibana-core +src/core/packages/capabilities/server-internal @elastic/kibana-core +src/core/packages/config/server-internal @elastic/kibana-core +src/core/packages/deprecations/browser @elastic/kibana-core +src/core/packages/deprecations/browser-internal @elastic/kibana-core +src/core/packages/deprecations/common @elastic/kibana-core +src/core/packages/deprecations/server @elastic/kibana-core +src/core/packages/deprecations/server-internal @elastic/kibana-core +src/core/packages/doc-links/browser @elastic/kibana-core +src/core/packages/doc-links/browser-internal @elastic/kibana-core +src/core/packages/doc-links/server @elastic/kibana-core +src/core/packages/doc-links/server-internal @elastic/kibana-core +src/core/packages/elasticsearch/client-server-internal @elastic/kibana-core +src/core/packages/elasticsearch/server @elastic/kibana-core +src/core/packages/elasticsearch/server-internal @elastic/kibana-core +src/core/packages/environment/server-internal @elastic/kibana-core +src/core/packages/execution-context/browser @elastic/kibana-core +src/core/packages/execution-context/browser-internal @elastic/kibana-core +src/core/packages/execution-context/common @elastic/kibana-core +src/core/packages/execution-context/server @elastic/kibana-core +src/core/packages/execution-context/server-internal @elastic/kibana-core +src/core/packages/fatal-errors/browser @elastic/kibana-core +src/core/packages/fatal-errors/browser-internal @elastic/kibana-core +src/core/packages/feature-flags/browser @elastic/kibana-core +src/core/packages/feature-flags/browser-internal @elastic/kibana-core +src/core/packages/feature-flags/browser-mocks @elastic/kibana-core +src/core/packages/feature-flags/server @elastic/kibana-core +src/core/packages/feature-flags/server-internal @elastic/kibana-core +src/core/packages/feature-flags/server-mocks @elastic/kibana-core +src/core/packages/http/browser @elastic/kibana-core +src/core/packages/http/browser-internal @elastic/kibana-core +src/core/packages/http/common @elastic/kibana-core +src/core/packages/http/context-server-internal @elastic/kibana-core +src/core/packages/http/request-handler-context-server @elastic/kibana-core +src/core/packages/http/request-handler-context-server-internal @elastic/kibana-core +src/core/packages/http/resources-server @elastic/kibana-core +src/core/packages/http/resources-server-internal @elastic/kibana-core +src/core/packages/http/router-server-internal @elastic/kibana-core +src/core/packages/http/server @elastic/kibana-core +src/core/packages/http/server-internal @elastic/kibana-core +src/core/packages/http/server-utils @elastic/kibana-core +src/core/packages/i18n/browser @elastic/kibana-core +src/core/packages/i18n/browser-internal @elastic/kibana-core +src/core/packages/i18n/server @elastic/kibana-core +src/core/packages/i18n/server-internal @elastic/kibana-core +src/core/packages/injected-metadata/browser-internal @elastic/kibana-core +src/core/packages/injected-metadata/common-internal @elastic/kibana-core +src/core/packages/integrations/browser-internal @elastic/kibana-core +src/core/packages/lifecycle/browser @elastic/kibana-core +src/core/packages/lifecycle/browser-internal @elastic/kibana-core +src/core/packages/lifecycle/server @elastic/kibana-core +src/core/packages/lifecycle/server-internal @elastic/kibana-core +src/core/packages/logging/browser-internal @elastic/kibana-core +src/core/packages/logging/common-internal @elastic/kibana-core +src/core/packages/logging/server @elastic/kibana-core +src/core/packages/logging/server-internal @elastic/kibana-core +src/core/packages/metrics/collectors-server-internal @elastic/kibana-core +src/core/packages/metrics/server @elastic/kibana-core +src/core/packages/metrics/server-internal @elastic/kibana-core +src/core/packages/mount-utils/browser @elastic/kibana-core +src/core/packages/mount-utils/browser-internal @elastic/kibana-core +src/core/packages/node/server @elastic/kibana-core +src/core/packages/node/server-internal @elastic/kibana-core +src/core/packages/notifications/browser @elastic/kibana-core +src/core/packages/notifications/browser-internal @elastic/kibana-core +src/core/packages/overlays/browser @elastic/kibana-core +src/core/packages/overlays/browser-internal @elastic/kibana-core +src/core/packages/plugins/base-server-internal @elastic/kibana-core +src/core/packages/plugins/browser @elastic/kibana-core +src/core/packages/plugins/browser-internal @elastic/kibana-core +src/core/packages/plugins/contracts-browser @elastic/kibana-core +src/core/packages/plugins/contracts-server @elastic/kibana-core +src/core/packages/plugins/server @elastic/kibana-core +src/core/packages/plugins/server-internal @elastic/kibana-core +src/core/packages/preboot/server @elastic/kibana-core +src/core/packages/preboot/server-internal @elastic/kibana-core +src/core/packages/rendering/browser @elastic/kibana-core +src/core/packages/rendering/browser-internal @elastic/kibana-core +src/core/packages/rendering/server-internal @elastic/kibana-core +src/core/packages/root/browser-internal @elastic/kibana-core +src/core/packages/root/server-internal @elastic/kibana-core +src/core/packages/saved-objects/api-browser @elastic/kibana-core +src/core/packages/saved-objects/api-server @elastic/kibana-core +src/core/packages/saved-objects/api-server-internal @elastic/kibana-core +src/core/packages/saved-objects/base-server-internal @elastic/kibana-core +src/core/packages/saved-objects/browser @elastic/kibana-core +src/core/packages/saved-objects/browser-internal @elastic/kibana-core +src/core/packages/saved-objects/common @elastic/kibana-core +src/core/packages/saved-objects/import-export-server-internal @elastic/kibana-core +src/core/packages/saved-objects/migration-server-internal @elastic/kibana-core +src/core/packages/saved-objects/server @elastic/kibana-core +src/core/packages/saved-objects/server-internal @elastic/kibana-core +src/core/packages/saved-objects/utils-server @elastic/kibana-core +src/core/packages/security/browser @elastic/kibana-core +src/core/packages/security/browser-internal @elastic/kibana-core +src/core/packages/security/browser-mocks @elastic/kibana-core +src/core/packages/security/common @elastic/kibana-core @elastic/kibana-security +src/core/packages/security/server @elastic/kibana-core +src/core/packages/security/server-internal @elastic/kibana-core +src/core/packages/security/server-mocks @elastic/kibana-core +src/core/packages/status/common @elastic/kibana-core +src/core/packages/status/server @elastic/kibana-core +src/core/packages/status/server-internal @elastic/kibana-core +src/core/packages/test-helpers/deprecations-getters @elastic/kibana-core +src/core/packages/test-helpers/http-setup-browser @elastic/kibana-core +src/core/packages/test-helpers/so-type-serializer @elastic/kibana-core +src/core/packages/test-helpers/test-utils @elastic/kibana-core +src/core/packages/theme/browser @elastic/kibana-core +src/core/packages/theme/browser-internal @elastic/kibana-core +src/core/packages/usage-data/base-server-internal @elastic/kibana-core +src/core/packages/usage-data/server @elastic/kibana-core +src/core/packages/usage-data/server-internal @elastic/kibana-core +src/core/packages/user-profile/browser @elastic/kibana-core +src/core/packages/user-profile/browser-internal @elastic/kibana-core +src/core/packages/user-profile/browser-mocks @elastic/kibana-core +src/core/packages/user-profile/common @elastic/kibana-core +src/core/packages/user-profile/server @elastic/kibana-core +src/core/packages/user-profile/server-internal @elastic/kibana-core +src/core/packages/user-profile/server-mocks @elastic/kibana-core +src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management src/platform/packages/private/default-nav/ml @elastic/ml-ui +src/platform/packages/private/kbn-apm-config-loader @elastic/kibana-core @vigneshshanmugam +src/platform/packages/private/kbn-config-mocks @elastic/kibana-core src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql +src/platform/packages/private/kbn-hapi-mocks @elastic/kibana-core +src/platform/packages/private/kbn-health-gateway-server @elastic/kibana-core src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql src/platform/packages/private/kbn-management/settings/application @elastic/kibana-management src/platform/packages/private/kbn-management/settings/components/field_category @elastic/kibana-management @@ -515,6 +498,7 @@ src/platform/packages/private/kbn-repo-packages @elastic/kibana-operations src/platform/packages/private/kbn-ui-shared-deps-npm @elastic/kibana-operations src/platform/packages/private/kbn-ui-shared-deps-src @elastic/kibana-operations src/platform/packages/private/kbn-unsaved-changes-badge @elastic/kibana-data-discovery +src/platform/packages/shared/cloud @elastic/kibana-core src/platform/packages/shared/deeplinks/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management src/platform/packages/shared/deeplinks/fleet @elastic/fleet @@ -527,21 +511,28 @@ src/platform/packages/shared/kbn-actions-types @elastic/response-ops src/platform/packages/shared/kbn-alerting-types @elastic/response-ops src/platform/packages/shared/kbn-alerts-as-data-utils @elastic/response-ops src/platform/packages/shared/kbn-alerts-ui-shared @elastic/response-ops +src/platform/packages/shared/kbn-analytics @elastic/kibana-core src/platform/packages/shared/kbn-apm-data-view @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-apm-utils @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows src/platform/packages/shared/kbn-cases-components @elastic/response-ops src/platform/packages/shared/kbn-cbor @elastic/kibana-operations src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore +src/platform/packages/shared/kbn-config @elastic/kibana-core +src/platform/packages/shared/kbn-config-schema @elastic/kibana-core src/platform/packages/shared/kbn-content-management-utils @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-crypto-browser @elastic/kibana-core src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-data-view-utils @elastic/kibana-data-discovery src/platform/packages/shared/kbn-datemath @elastic/kibana-data-discovery src/platform/packages/shared/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery src/platform/packages/shared/kbn-discover-utils @elastic/kibana-data-discovery src/platform/packages/shared/kbn-doc-links @elastic/docs +src/platform/packages/shared/kbn-ebt-tools @elastic/kibana-core src/platform/packages/shared/kbn-elastic-agent-utils @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-es-errors @elastic/kibana-core src/platform/packages/shared/kbn-es-query @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-es-types @elastic/kibana-core @elastic/obs-knowledge-team src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-esql @@ -549,8 +540,12 @@ src/platform/packages/shared/kbn-field-types @elastic/kibana-data-discovery src/platform/packages/shared/kbn-field-utils @elastic/kibana-data-discovery src/platform/packages/shared/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring src/platform/packages/shared/kbn-grouping @elastic/response-ops +src/platform/packages/shared/kbn-i18n @elastic/kibana-core +src/platform/packages/shared/kbn-i18n-react @elastic/kibana-core src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-lens-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/kibana-visualizations +src/platform/packages/shared/kbn-logging @elastic/kibana-core +src/platform/packages/shared/kbn-logging-mocks @elastic/kibana-core src/platform/packages/shared/kbn-management/cards_navigation @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_input @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_row @elastic/kibana-management @@ -565,6 +560,7 @@ src/platform/packages/shared/kbn-react-hooks @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-repo-info @elastic/kibana-operations src/platform/packages/shared/kbn-resizable-layout @elastic/kibana-data-discovery src/platform/packages/shared/kbn-rison @elastic/kibana-operations +src/platform/packages/shared/kbn-router-to-openapispec @elastic/kibana-core src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-rrule @elastic/response-ops src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team @@ -578,6 +574,7 @@ src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-det src/platform/packages/shared/kbn-securitysolution-io-ts-types @elastic/security-detection-engine src/platform/packages/shared/kbn-securitysolution-io-ts-utils @elastic/security-detection-engine src/platform/packages/shared/kbn-securitysolution-rules @elastic/security-detection-engine +src/platform/packages/shared/kbn-server-http-tools @elastic/kibana-core src/platform/packages/shared/kbn-server-route-repository @elastic/obs-knowledge-team src/platform/packages/shared/kbn-server-route-repository-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-knowledge-team @@ -585,6 +582,7 @@ src/platform/packages/shared/kbn-shared-svg @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-sse-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team +src/platform/packages/shared/kbn-std @elastic/kibana-core src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-triggers-actions-ui-types @elastic/response-ops src/platform/packages/shared/kbn-try-in-console @elastic/search-kibana @@ -594,9 +592,11 @@ src/platform/packages/shared/kbn-unified-data-table @elastic/kibana-data-discove src/platform/packages/shared/kbn-unified-doc-viewer @elastic/kibana-data-discovery src/platform/packages/shared/kbn-unified-field-list @elastic/kibana-data-discovery src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management +src/platform/packages/shared/kbn-utility-types @elastic/kibana-core src/platform/packages/shared/kbn-utility-types-jest @elastic/kibana-operations src/platform/packages/shared/kbn-utils @elastic/kibana-operations src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-zod @elastic/kibana-core src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management src/platform/packages/shared/presentation/presentation_containers @elastic/kibana-presentation src/platform/packages/shared/presentation/presentation_publishing @elastic/kibana-presentation @@ -605,9 +605,11 @@ src/platform/packages/shared/serverless/settings/search_project @elastic/search- src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/private/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/platform/plugins/private/files_management @elastic/appex-sharedux +src/platform/plugins/private/ftr_apis @elastic/kibana-core src/platform/plugins/private/image_embeddable @elastic/appex-sharedux src/platform/plugins/private/input_control_vis @elastic/kibana-presentation src/platform/plugins/private/kibana_overview @elastic/appex-sharedux +src/platform/plugins/private/kibana_usage_collection @elastic/kibana-core src/platform/plugins/private/links @elastic/kibana-presentation src/platform/plugins/private/maps_ems @elastic/kibana-presentation src/platform/plugins/private/no_data_page @elastic/appex-sharedux @@ -645,17 +647,23 @@ src/platform/plugins/shared/kibana_react @elastic/appex-sharedux src/platform/plugins/shared/kibana_utils @elastic/appex-sharedux src/platform/plugins/shared/management @elastic/kibana-management src/platform/plugins/shared/navigation @elastic/appex-sharedux +src/platform/plugins/shared/newsfeed @elastic/kibana-core src/platform/plugins/shared/presentation_util @elastic/kibana-presentation src/platform/plugins/shared/saved_objects @elastic/appex-sharedux src/platform/plugins/shared/saved_objects_finder @elastic/kibana-data-discovery +src/platform/plugins/shared/saved_objects_management @elastic/kibana-core src/platform/plugins/shared/saved_objects_tagging_oss @elastic/appex-sharedux src/platform/plugins/shared/saved_search @elastic/kibana-data-discovery src/platform/plugins/shared/screenshot_mode @elastic/appex-sharedux src/platform/plugins/shared/share @elastic/appex-sharedux +src/platform/plugins/shared/telemetry @elastic/kibana-core +src/platform/plugins/shared/telemetry_collection_manager @elastic/kibana-core +src/platform/plugins/shared/telemetry_management_section @elastic/kibana-core src/platform/plugins/shared/ui_actions @elastic/appex-sharedux src/platform/plugins/shared/ui_actions_enhanced @elastic/appex-sharedux src/platform/plugins/shared/unified_doc_viewer @elastic/kibana-data-discovery src/platform/plugins/shared/unified_histogram @elastic/kibana-data-discovery +src/platform/plugins/shared/usage_collection @elastic/kibana-core src/plugins/chart_expressions/common @elastic/kibana-visualizations src/plugins/chart_expressions/expression_gauge @elastic/kibana-visualizations src/plugins/chart_expressions/expression_heatmap @elastic/kibana-visualizations @@ -669,17 +677,9 @@ src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations src/plugins/expressions @elastic/kibana-visualizations -src/plugins/ftr_apis @elastic/kibana-core src/plugins/interactive_setup @elastic/kibana-security -src/plugins/kibana_usage_collection @elastic/kibana-core -src/plugins/newsfeed @elastic/kibana-core -src/plugins/saved_objects_management @elastic/kibana-core -src/plugins/telemetry @elastic/kibana-core -src/plugins/telemetry_collection_manager @elastic/kibana-core -src/plugins/telemetry_management_section @elastic/kibana-core src/plugins/unified_search @elastic/kibana-visualizations src/plugins/url_forwarding @elastic/kibana-visualizations -src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_default_editor @elastic/kibana-visualizations src/plugins/vis_types/gauge @elastic/kibana-visualizations src/plugins/vis_types/heatmap @elastic/kibana-visualizations @@ -830,7 +830,10 @@ x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-u x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team x-pack/platform/plugins/private/banners @elastic/appex-sharedux x-pack/platform/plugins/private/canvas @elastic/kibana-presentation +x-pack/platform/plugins/private/cloud_integrations/cloud_chat @elastic/kibana-core x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic/kibana-management +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/private/cross_cluster_replication @elastic/kibana-management x-pack/platform/plugins/private/custom_branding @elastic/appex-sharedux x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution @@ -852,8 +855,10 @@ x-pack/platform/plugins/private/rollup @elastic/kibana-management x-pack/platform/plugins/private/runtime_fields @elastic/kibana-management x-pack/platform/plugins/private/saved_objects_tagging @elastic/appex-sharedux x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management +x-pack/platform/plugins/private/telemetry_collection_xpack @elastic/kibana-core x-pack/platform/plugins/private/transform @elastic/ml-ui x-pack/platform/plugins/private/translations @elastic/kibana-localization +x-pack/platform/plugins/private/upgrade_assistant @elastic/kibana-core x-pack/platform/plugins/private/watcher @elastic/kibana-management x-pack/platform/plugins/shared/actions @elastic/response-ops x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra @@ -861,12 +866,15 @@ x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui x-pack/platform/plugins/shared/alerting @elastic/response-ops x-pack/platform/plugins/shared/cases @elastic/response-ops +x-pack/platform/plugins/shared/cloud @elastic/kibana-core +x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments @elastic/kibana-core x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities x-pack/platform/plugins/shared/event_log @elastic/response-ops +x-pack/platform/plugins/shared/features @elastic/kibana-core x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/fleet @elastic/fleet x-pack/platform/plugins/shared/global_search @elastic/appex-sharedux @@ -875,6 +883,7 @@ x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability x-pack/platform/plugins/shared/license_management @elastic/kibana-management +x-pack/platform/plugins/shared/licensing @elastic/kibana-core x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/maps @elastic/kibana-presentation @@ -890,21 +899,12 @@ x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops x-pack/platform/plugins/shared/task_manager @elastic/response-ops x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops -x-pack/plugins/cloud @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux x-pack/plugins/encrypted_saved_objects @elastic/kibana-security -x-pack/plugins/features @elastic/kibana-core x-pack/plugins/graph @elastic/kibana-visualizations x-pack/plugins/lens @elastic/kibana-visualizations -x-pack/plugins/licensing @elastic/kibana-core x-pack/plugins/security @elastic/kibana-security x-pack/plugins/spaces @elastic/kibana-security -x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core -x-pack/plugins/upgrade_assistant @elastic/kibana-core x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team @@ -1395,8 +1395,8 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/functional/apps/apm/ @elastic/obs-ux-infra_services-team /x-pack/test/apm_api_integration/ @elastic/obs-ux-infra_services-team /src/apm.js @elastic/kibana-core @vigneshshanmugam -/packages/kbn-utility-types/src/dot.ts @dgieselaar -/packages/kbn-utility-types/src/dot_test.ts @dgieselaar +/src/platform/packages/shared/kbn-utility-types/src/dot.ts @dgieselaar +/src/platform/packages/shared/kbn-utility-types/src/dot_test.ts @dgieselaar /x-pack/test_serverless/api_integration/test_suites/observability/apm_api_integration/ @elastic/obs-ux-infra_services-team #CC# /src/plugins/apm_oss/ @elastic/apm-ui #CC# /x-pack/plugins/observability_solution/observability/ @elastic/apm-ui @@ -1764,7 +1764,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/functional_cors @elastic/kibana-core /x-pack/test/stack_functional_integration/apps/telemetry @elastic/kibana-core /test/plugin_functional/plugins/core* @elastic/kibana-core -/test/plugin_functional/plugins/telemetry @elastic/kibana-core +/test/plugin_functional/platform/plugins/shared/telemetry @elastic/kibana-core /test/plugin_functional/plugins/session_notifications @elastic/kibana-core /test/plugin_functional/plugins/kbn_top_nav/ @elastic/kibana-core /test/plugin_functional/plugins/app_link_test @elastic/kibana-core @@ -1791,7 +1791,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /test/functional/apps/bundles @elastic/kibana-core # Assigned per https://github.com/elastic/kibana/pull/64367 /test/examples/hello_world @elastic/kibana-core /test/examples/routing/index.ts @elastic/kibana-core # Assigned per https://github.com/elastic/kibana/pull/69581 -/test/common/plugins/newsfeed @elastic/kibana-core +/test/common/platform/plugins/shared/newsfeed @elastic/kibana-core /test/common/configure_http2.ts @elastic/kibana-core /test/api_integration/apis/ui_counters @elastic/kibana-core /test/api_integration/apis/telemetry @elastic/kibana-core @@ -1826,10 +1826,10 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql #CC# /src/core/server/csp/ @elastic/kibana-core #CC# /src/plugins/saved_objects/ @elastic/kibana-core -#CC# /x-pack/plugins/cloud/ @elastic/kibana-core -#CC# /x-pack/plugins/features/ @elastic/kibana-core +#CC# /x-pack/platform/plugins/shared/cloud/ @elastic/kibana-core +#CC# /x-pack/platform/plugins/shared/features/ @elastic/kibana-core #CC# /x-pack/plugins/global_search/ @elastic/kibana-core -#CC# /src/plugins/newsfeed @elastic/kibana-core +#CC# /src/platform/plugins/shared/newsfeed @elastic/kibana-core #CC# /x-pack/plugins/global_search_providers/ @elastic/kibana-core # AppEx AI Infra @@ -1844,9 +1844,9 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql # Kibana Telemetry /.telemetryrc.json @elastic/kibana-core /x-pack/.telemetryrc.json @elastic/kibana-core -/src/plugins/telemetry/schema/ @elastic/kibana-core -/x-pack/plugins/telemetry_collection_xpack/schema/ @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kibana-core @shahinakmal +/src/platform/plugins/shared/telemetry/schema/ @elastic/kibana-core +/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/ @elastic/kibana-core +x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/config.ts @elastic/kibana-core @shahinakmal # Kibana Localization /src/dev/i18n_tools/ @elastic/kibana-localization @elastic/kibana-core @@ -1890,11 +1890,11 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib /.github/workflows/codeql-stats.yml @elastic/kibana-security /src/dev/eslint/security_eslint_rule_tests.ts @elastic/kibana-security /src/core/server/integration_tests/config/check_dynamic_config.test.ts @elastic/kibana-security -/src/plugins/telemetry/server/config/telemetry_labels.ts @elastic/kibana-security -/packages/kbn-std/src/is_internal_url.test.ts @elastic/kibana-core @elastic/kibana-security -/packages/kbn-std/src/is_internal_url.ts @elastic/kibana-core @elastic/kibana-security -/packages/kbn-std/src/parse_next_url.test.ts @elastic/kibana-core @elastic/kibana-security -/packages/kbn-std/src/parse_next_url.ts @elastic/kibana-core @elastic/kibana-security +/src/platform/plugins/shared/telemetry/server/config/telemetry_labels.ts @elastic/kibana-security +/src/platform/packages/shared/kbn-std/src/is_internal_url.test.ts @elastic/kibana-core @elastic/kibana-security +/src/platform/packages/shared/kbn-std/src/is_internal_url.ts @elastic/kibana-core @elastic/kibana-security +/src/platform/packages/shared/kbn-std/src/parse_next_url.test.ts @elastic/kibana-core @elastic/kibana-security +/src/platform/packages/shared/kbn-std/src/parse_next_url.ts @elastic/kibana-core @elastic/kibana-security /test/interactive_setup_api_integration/ @elastic/kibana-security /test/interactive_setup_functional/ @elastic/kibana-security /test/plugin_functional/plugins/hardening @elastic/kibana-security @@ -1918,7 +1918,7 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib /x-pack/test_serverless/**/test_suites/search/platform_security/ @elastic/kibana-security /x-pack/test_serverless/**/test_suites/security/platform_security/ @elastic/kibana-security /x-pack/test_serverless/**/test_suites/observability/platform_security/ @elastic/kibana-security -/packages/core/http/core-http-server-internal/src/cdn_config/ @elastic/kibana-security @elastic/kibana-core +/src/core/packages/http/server-internal/src/cdn_config/ @elastic/kibana-security @elastic/kibana-core #CC# /x-pack/plugins/security/ @elastic/kibana-security # Response Ops team diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 000a80d2b84f8..74b56d73be87a 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -9,7 +9,7 @@ Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. -- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) +- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) diff --git a/.i18nrc.json b/.i18nrc.json index 41e6d17b13757..48392e26e488a 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -17,7 +17,7 @@ "customIntegrations": "src/platform/plugins/shared/custom_integrations", "customIntegrationsPackage": "x-pack/solutions/observability/packages/kbn-custom-integrations", "dashboard": "src/platform/plugins/shared/dashboard", - "cloud": "packages/cloud", + "cloud": "src/platform/packages/shared/cloud", "domDragDrop": "packages/kbn-dom-drag-drop", "controls": "src/platform/plugins/shared/controls", "data": "src/plugins/data", @@ -79,7 +79,7 @@ "imageEmbeddable": "src/platform/plugins/private/image_embeddable", "kbn": "src/legacy/core_plugins/kibana", "kbn-esql-validation-autocomplete": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src", - "kbnConfig": "packages/kbn-config/src", + "kbnConfig": "src/platform/packages/shared/kbn-config/src", "kbnDocViews": "src/legacy/core_plugins/kbn_doc_views", "kibana_utils": "src/platform/plugins/shared/kibana_utils", "kibana-react": "src/platform/plugins/shared/kibana_react", @@ -96,7 +96,7 @@ "monaco": "packages/kbn-monaco/src", "navigation": ["src/platform/plugins/shared/navigation", "packages/solution-nav"], "links": "src/platform/plugins/private/links", - "newsfeed": "src/plugins/newsfeed", + "newsfeed": "src/platform/plugins/shared/newsfeed", "presentationUtil": "src/platform/plugins/shared/presentation_util", "randomSampling": "x-pack/packages/kbn-random-sampling", "reactPackages": "packages/react", @@ -105,7 +105,7 @@ "reporting": "packages/kbn-reporting", "savedObjects": "src/platform/plugins/shared/saved_objects", "savedObjectsFinder": "src/platform/plugins/shared/saved_objects_finder", - "savedObjectsManagement": "src/plugins/saved_objects_management", + "savedObjectsManagement": "src/platform/plugins/shared/saved_objects_management", "searchConnectors": "src/platform/packages/shared/kbn-search-connectors", "searchConnectorsPlugin": "x-pack/solutions/search/plugins/search_connectors", "server": "src/legacy/server", @@ -134,13 +134,13 @@ "esql": "src/platform/plugins/shared/esql", "esqlDataGrid": "src/platform/plugins/shared/esql_datagrid", "statusPage": "src/legacy/core_plugins/status_page", - "telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"], + "telemetry": ["src/platform/plugins/shared/telemetry", "src/platform/plugins/shared/telemetry_management_section"], "timelion": ["src/plugins/vis_types/timelion"], "tryInConsole": "src/platform/packages/shared/kbn-try-in-console/", "uiActions": ["src/platform/plugins/shared/ui_actions", "packages/kbn-ui-actions-browser"], "uiActionsEnhanced": "src/platform/plugins/shared/ui_actions_enhanced", "uiActionsExamples": "examples/ui_action_examples", - "usageCollection": "src/plugins/usage_collection", + "usageCollection": "src/platform/plugins/shared/usage_collection", "userProfileComponents": "packages/kbn-user-profile-components", "utils": "x-pack/solutions/security/packages/kbn-securitysolution-utils/src", "visDefaultEditor": "src/plugins/vis_default_editor", diff --git a/.telemetryrc.json b/.telemetryrc.json index 2387ef73c88ec..273912101b5fe 100644 --- a/.telemetryrc.json +++ b/.telemetryrc.json @@ -1,19 +1,19 @@ [ { - "output": "src/plugins/telemetry/schema/oss_plugins.json", + "output": "src/platform/plugins/shared/telemetry/schema/oss_plugins.json", "root": "src/plugins/", - "exclude": [ - "src/plugins/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts" - ] + "exclude": [] }, { - "output": "src/plugins/telemetry/schema/kbn_packages.json", + "output": "src/platform/plugins/shared/telemetry/schema/kbn_packages.json", "root": "packages/", "exclude": [] }, { - "output": "src/plugins/telemetry/schema/oss_platform.json", + "output": "src/platform/plugins/shared/telemetry/schema/oss_platform.json", "root": "src/platform/", - "exclude": [] + "exclude": [ + "src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts" + ] } ] diff --git a/docs/developer/advanced/sharing-saved-objects.asciidoc b/docs/developer/advanced/sharing-saved-objects.asciidoc index 7ec6ba857fed8..3ac4370d46dae 100644 --- a/docs/developer/advanced/sharing-saved-objects.asciidoc +++ b/docs/developer/advanced/sharing-saved-objects.asciidoc @@ -166,7 +166,7 @@ const savedObject = resolveResult.saved_object; TIP: See an example of this in https://github.com/elastic/kibana/pull/107256#user-content-example-steps[step 2 of the POC]! The -{kib-repo}blob/{branch}/packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts[SavedObjectsResolveResponse +{kib-repo}blob/{branch}/src/core/packages/saved-objects/api-server/src/apis/resolve.ts[SavedObjectsResolveResponse interface] has four fields, summarized below: * `saved_object` - The saved object that was found. @@ -373,7 +373,7 @@ image::images/sharing-saved-objects-step-6.png["Sharing Saved Objects registrati > *Update saved object delete API usage to handle multiple spaces* If an object is shared to multiple spaces, it cannot be deleted without using the -{kib-repo}blob/{branch}/packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete.ts[`force` +{kib-repo}blob/{branch}/src/core/packages/saved-objects/api-server/src/apis/delete.ts[`force` delete option]. You should always be aware when a saved object exists in multiple spaces, and you should warn users in that case. If your UI allows users to delete your objects, you can define a warning message like this: @@ -477,7 +477,7 @@ return ( 2. Allow users to access your objects in the <> in <>. You can do this by ensuring that your objects are marked as - {kib-repo}blob/{branch}/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts[importable and exportable] in your <>: + {kib-repo}blob/{branch}/src/core/packages/saved-objects/server/src/saved_objects_management.ts[importable and exportable] in your <>: + ```ts name: 'my-object-type', diff --git a/docs/developer/architecture/core/http-service.asciidoc b/docs/developer/architecture/core/http-service.asciidoc index da4f0a3f7f5e1..b51ed9749b50d 100644 --- a/docs/developer/architecture/core/http-service.asciidoc +++ b/docs/developer/architecture/core/http-service.asciidoc @@ -12,7 +12,7 @@ The service allows plugins to: * to execute custom logic on an incoming request or server response. * implement custom authentication and authorization strategy. -Refer to {kib-repo}/blob/8.9/packages/core/http/core-http-server/src/http_contract.ts[HTTP service contract types]. +Refer to {kib-repo}/blob/8.9/src/core/packages/http/server/src/http_contract.ts[HTTP service contract types]. [source,typescript] ---- @@ -64,4 +64,4 @@ async function fetchData(core: CoreStart) { ); } ---- -Refer to {kib-repo}/blob/8.9/packages/core/http/core-http-browser/src/types.ts[the client-side APIs]. +Refer to {kib-repo}/blob/8.9/src/core/packages/http/browser/src/types.ts[the client-side APIs]. diff --git a/docs/developer/architecture/core/patterns-scoped-services.asciidoc b/docs/developer/architecture/core/patterns-scoped-services.asciidoc index ba993a6da3af3..51b6ecba5cdbe 100644 --- a/docs/developer/architecture/core/patterns-scoped-services.asciidoc +++ b/docs/developer/architecture/core/patterns-scoped-services.asciidoc @@ -7,7 +7,7 @@ should perform a check whether an end-user has access to the data. The Kibana Platform introduced a handler interface on the server-side to perform that association internally. Core services, that require impersonation with an incoming request, are exposed via `context` argument of -{kib-repo}/blob/8.9/packages/core/http/core-http-server/src/router/request_handler.ts[the request handler interface]. +{kib-repo}/blob/8.9/src/core/packages/http/server/src/router/request_handler.ts[the request handler interface]. [source,js] ---- @@ -16,10 +16,10 @@ async function handler(context, req, res) { } ---- -The {kib-repo}/blob/8.9/packages/core/http/core-http-server/src/router/request_handler.ts[request handler context] exposes the following scoped *core* services: +The {kib-repo}/blob/8.9/src/core/packages/http/server/src/router/request_handler.ts[request handler context] exposes the following scoped *core* services: -* {kib-repo}/blob/8.9/packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts[`context.savedObjects.client`] -* {kib-repo}/blob/8.9/packages/core/elasticsearch/core-elasticsearch-server/src/client/scoped_cluster_client.ts[`context.elasticsearch.client`] +* {kib-repo}/blob/8.9/src/core/packages/saved-objects/api-server/src/saved_objects_client.ts[`context.savedObjects.client`] +* {kib-repo}/blob/8.9/src/core/packages/elasticsearch/server/src/client/scoped_cluster_client.ts[`context.elasticsearch.client`] * {kib-repo}/blob/8.9/packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts[`context.uiSettings.client`] ==== Declare a custom scoped service diff --git a/docs/developer/architecture/core/saved-objects-service.asciidoc b/docs/developer/architecture/core/saved-objects-service.asciidoc index 1ae419adf9ed8..4b1d36b529851 100644 --- a/docs/developer/architecture/core/saved-objects-service.asciidoc +++ b/docs/developer/architecture/core/saved-objects-service.asciidoc @@ -166,19 +166,19 @@ Saved Objects support changes using `modelVersions``. The modelVersion API is a Model versions are decoupled from the stack version and satisfy the requirements for zero downtime and backward-compatibility. -Each Saved Object type may define model versions for its schema and are bound to a given https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts#L22-L27[savedObject type]. Changes to a saved object type are +Each Saved Object type may define model versions for its schema and are bound to a given https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/saved_objects_type.ts#L22-L27[savedObject type]. Changes to a saved object type are specified by defining a new model. === Defining model versions As for old migrations, model versions are bound to a given -https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts#L22-L27[savedObject +https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/saved_objects_type.ts#L22-L27[savedObject type] When registering a SO type, a new -https://github.com/elastic/kibana/blob/9a6a2ccdff619f827b31c40dd9ed30cb27203da7/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts#L138-L177[modelVersions] +https://github.com/elastic/kibana/blob/9a6a2ccdff619f827b31c40dd9ed30cb27203da7/src/core/packages/saved-objects/server/src/saved_objects_type.ts#L138-L177[modelVersions] property is available. This attribute is a map of -https://github.com/elastic/kibana/blob/9a6a2ccdff619f827b31c40dd9ed30cb27203da7/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_version.ts#L12-L20[SavedObjectsModelVersion] +https://github.com/elastic/kibana/blob/9a6a2ccdff619f827b31c40dd9ed30cb27203da7/src/core/packages/saved-objects/server/src/model_version/model_version.ts#L12-L20[SavedObjectsModelVersion] which is the top-level type/container to define model versions. This map follows a similar `{ [version number] => version definition }` @@ -223,7 +223,7 @@ const myType: SavedObjectsType = { === Structure of a model version -https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_version.ts#L12-L20[Model +https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/model_version/model_version.ts#L12-L20[Model versions] are not just functions as the previous migrations were, but structured objects describing how the version behaves and what changed since the last one. @@ -289,7 +289,7 @@ It’s currently composed of two main properties: ==== changes -https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_version.ts#L21-L51[link +https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/model_version/model_version.ts#L21-L51[link to the TS doc for `changes`] Describes the list of changes applied during this version. @@ -408,7 +408,7 @@ theoretically shouldn’t.* ==== schemas -https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/model_version/schemas.ts#L11-L16[link +https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/model_version/schemas.ts#L11-L16[link to the TS doc for `schemas`] The schemas associated with this version. Schemas are used to validate @@ -477,7 +477,7 @@ inter-version compatibility themselves in their service layer instead._ ===== create This is a direct replacement for -https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts#L75-L82[the +https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/saved_objects_type.ts#L75-L82[the old SavedObjectType.schemas] definition, now directly included in the model version definition. diff --git a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc index 4c23aead9d566..878720812bf4a 100644 --- a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc +++ b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc @@ -44,14 +44,14 @@ plugin and to specify if this plugin has server-side code, browser-side code, or } ---- -Learn about the {kib-repo}blob/{branch}/packages/core/plugins/core-plugins-server/src/types.ts[manifest +Learn about the {kib-repo}blob/{branch}/src/core/packages/plugins/server/src/types.ts[manifest file format]. NOTE: `package.json` files are irrelevant to and ignored by {kib} for discovering and loading plugins. *[2] `public/index.ts`* is the entry point into the client-side code of this plugin. It must export a function named `plugin`, which will -receive {kib-repo}blob/{branch}/packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts[a standard set of core capabilities] as an argument. +receive {kib-repo}blob/{branch}/src/core/packages/plugins/browser/src/plugin_initializer.ts[a standard set of core capabilities] as an argument. It should return an instance of its plugin class for {kib} to load. @@ -93,7 +93,7 @@ export class MyPlugin implements Plugin { ---- *[4] `server/index.ts`* is the entry-point into the server-side code of -this plugin. {kib-repo}blob/{branch}/packages/core/plugins/core-plugins-server/src/types.ts[It is identical] in almost every way to the client-side +this plugin. {kib-repo}blob/{branch}/src/core/packages/plugins/server/src/types.ts[It is identical] in almost every way to the client-side entry-point: @@ -221,16 +221,16 @@ These are the contracts exposed by the core services for each lifecycle: |=== |lifecycle |server contract|browser contract |_constructor_ -|{kib-repo}blob/{branch}/packages/core/plugins/core-plugins-server/src/types.ts[PluginInitializerContext] -|{kib-repo}blob/{branch}/packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts[PluginInitializerContext] +|{kib-repo}blob/{branch}/src/core/packages/plugins/server/src/types.ts[PluginInitializerContext] +|{kib-repo}blob/{branch}/src/core/packages/plugins/browser/src/plugin_initializer.ts[PluginInitializerContext] |_setup_ -|{kib-repo}blob/{branch}/packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts[CoreSetup] -|{kib-repo}blob/{branch}/packages/core/lifecycle/core-lifecycle-browser-internal/src/internal_core_setup.ts[CoreSetup] +|{kib-repo}blob/{branch}/src/core/packages/lifecycle/server/src/core_setup.ts[CoreSetup] +|{kib-repo}blob/{branch}/src/core/packages/lifecycle/browser-internal/src/internal_core_setup.ts[CoreSetup] |_start_ -|{kib-repo}blob/{branch}/packages/core/lifecycle/core-lifecycle-server/src/core_start.ts[CoreStart] -|{kib-repo}blob/{branch}/packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts[CoreStart] +|{kib-repo}blob/{branch}/src/core/packages/lifecycle/server/src/core_start.ts[CoreStart] +|{kib-repo}blob/{branch}/src/core/packages/lifecycle/browser/src/core_start.ts[CoreStart] |_stop_ | |=== @@ -283,7 +283,7 @@ export class MyPlugin implements Plugin { Unlike core, capabilities exposed by plugins are _not_ automatically injected into all plugins. Instead, if a plugin wishes to use the public interface provided by another plugin, it must first declare that -plugin as a dependency in it's {kib-repo}blob/{branch}/packages/core/plugins/core-plugins-server/src/types.ts[`kibana.json`] manifest file. +plugin as a dependency in it's {kib-repo}blob/{branch}/src/core/packages/plugins/server/src/types.ts[`kibana.json`] manifest file. *demo kibana.json:* diff --git a/docs/developer/architecture/security/feature-registration.asciidoc b/docs/developer/architecture/security/feature-registration.asciidoc index b53df66f9a94e..f1494b0a51b45 100644 --- a/docs/developer/architecture/security/feature-registration.asciidoc +++ b/docs/developer/architecture/security/feature-registration.asciidoc @@ -21,7 +21,7 @@ setup(core, { features }) { ----------- === Feature details -Registering a feature consists of the following fields. For more information, consult the {kib-repo}blob/{branch}/x-pack/plugins/features/server/feature_registry.ts[feature registry interface]. +Registering a feature consists of the following fields. For more information, consult the {kib-repo}blob/{branch}/x-pack/platform/plugins/shared/features/server/feature_registry.ts[feature registry interface]. [cols="1a, 1a, 1a, 1a"] @@ -50,12 +50,12 @@ of features within the management screens. |An array of applications this feature enables. Typically, all of your plugin's apps (from `uiExports`) will be included here. |`privileges` (required) -|{kib-repo}blob/{branch}/x-pack/plugins/features/common/kibana_feature.ts[`KibanaFeatureConfig`]. +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/features/common/kibana_feature.ts[`KibanaFeatureConfig`]. |See <> and <> |The set of privileges this feature requires to function. |`subFeatures` (optional) -|{kib-repo}blob/{branch}/x-pack/plugins/features/common/kibana_feature.ts[`KibanaFeatureConfig`]. +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/features/common/kibana_feature.ts[`KibanaFeatureConfig`]. |See <> |The set of subfeatures that enables finer access control than the `all` and `read` feature privileges. These options are only available in the Gold subscription level and higher. @@ -69,7 +69,7 @@ of features within the management screens. ==== Privilege definition The `privileges` section of feature registration allows plugins to implement read/write and read-only modes for their applications. -For a full explanation of fields and options, consult the {kib-repo}blob/{branch}/x-pack/plugins/features/server/feature_registry.ts[feature registry interface]. +For a full explanation of fields and options, consult the {kib-repo}blob/{branch}/x-pack/platform/plugins/shared/features/server/feature_registry.ts[feature registry interface]. === Using UI Capabilities diff --git a/docs/developer/best-practices/index.asciidoc b/docs/developer/best-practices/index.asciidoc index 757c7068e0ad6..92c8522026cdf 100644 --- a/docs/developer/best-practices/index.asciidoc +++ b/docs/developer/best-practices/index.asciidoc @@ -38,7 +38,7 @@ ensure your public facing strings will be translated to ensure all {kib} apps are localized. * Read and adhere to our -{kib-repo}blob/{branch}/packages/kbn-i18n/GUIDELINE.md[i18n +{kib-repo}blob/{branch}/src/platform/packages/shared/kbn-i18n/GUIDELINE.md[i18n guidelines] [discrete] diff --git a/docs/developer/best-practices/navigation.asciidoc b/docs/developer/best-practices/navigation.asciidoc index afb68638524f6..d3584437bd759 100644 --- a/docs/developer/best-practices/navigation.asciidoc +++ b/docs/developer/best-practices/navigation.asciidoc @@ -25,7 +25,7 @@ Assuming you want to link from your app to *Discover*. When building such URL th ==== Prepending a proper `basePath` -To prepend {kib}'s `basePath` use {kib-repo}tree/{branch}/packages/core/http/core-http-browser-internal/src/base_path.ts[core.http.basePath.prepend] helper: +To prepend {kib}'s `basePath` use {kib-repo}tree/{branch}/src/core/packages/http/browser-internal/src/base_path.ts[core.http.basePath.prepend] helper: [source,typescript jsx] ---- diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 970685211fb08..46d19a1e63aa8 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -204,7 +204,7 @@ for use in their own application. |Minimal interface for admins to manage files in Kibana. -|{kib-repo}blob/{branch}/src/plugins/ftr_apis/README.md[ftrApis] +|{kib-repo}blob/{branch}/src/platform/plugins/private/ftr_apis/README.md[ftrApis] |This plugin exposes a set of APIs used internally during functional tests by the FTR. @@ -242,7 +242,7 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel. |Tools for building React applications in Kibana. -|{kib-repo}blob/{branch}/src/plugins/kibana_usage_collection/README.md[kibanaUsageCollection] +|{kib-repo}blob/{branch}/src/platform/plugins/private/kibana_usage_collection/README.md[kibanaUsageCollection] |This plugin registers the Platform Usage Collectors in Kibana. @@ -269,7 +269,7 @@ management section itself. It also provides a stateful version of it on the start contract. -|{kib-repo}blob/{branch}/src/plugins/newsfeed/README.md[newsfeed] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/newsfeed/README.md[newsfeed] |The newsfeed plugin adds a NewsfeedNavButton to the top navigation bar and renders the content in the flyout. Content is fetched from the remote (https://feeds.elastic.co) once a day, with periodic checks if the content needs to be refreshed. All newsfeed content is hosted remotely. @@ -294,7 +294,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p |The savedObjectsFinder plugin exposes a UI for finding saved objects on the client side. -|{kib-repo}blob/{branch}/src/plugins/saved_objects_management/README.md[savedObjectsManagement] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/saved_objects_management/README.md[savedObjectsManagement] |The savedObjectsManagement plugin manages the Saved Objects management section. @@ -317,15 +317,15 @@ This object is created when a user saves their current session in the Discover a generating deep links to other apps using locators, and creating short URLs. -|{kib-repo}blob/{branch}/src/plugins/telemetry/README.md[telemetry] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/telemetry/README.md[telemetry] |Telemetry allows Kibana features to have usage tracked in the wild. The general term "telemetry" refers to multiple things: -|{kib-repo}blob/{branch}/src/plugins/telemetry_collection_manager/README.md[telemetryCollectionManager] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/telemetry_collection_manager/README.md[telemetryCollectionManager] |Telemetry's collection manager to go through all the telemetry sources when fetching it before reporting. -|{kib-repo}blob/{branch}/src/plugins/telemetry_management_section/README.md[telemetryManagementSection] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/telemetry_management_section/README.md[telemetryManagementSection] |This plugin adds the Advanced Settings section for the Usage and Security Data collection (aka Telemetry). @@ -374,7 +374,7 @@ It manages its own state and data fetching, and can easily be dropped into pages |This plugins contains helpers to redirect legacy URLs. It can be used to forward old URLs to their new counterparts. -|{kib-repo}blob/{branch}/src/plugins/usage_collection/README.mdx[usageCollection] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/usage_collection/README.mdx[usageCollection] |The Usage Collection Service defines a set of APIs for other plugins to report the usage of their features. At the same time, it provides necessary the APIs for other services (i.e.: telemetry, monitoring, ...) to consume that usage data. @@ -483,11 +483,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. @@ -500,16 +500,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. @@ -593,7 +593,7 @@ activities. |A shared component for visualizing observability data types via lens embeddable. For further details. -|{kib-repo}blob/{branch}/x-pack/plugins/features/README.md[features] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/features/README.md[features] |The features plugin enhance Kibana with a per-feature privilege system. @@ -686,7 +686,7 @@ the infrastructure monitoring use-case within Kibana. |This plugin enables users to activate a trial license, downgrade to Basic, and upload a new license. -|{kib-repo}blob/{branch}/x-pack/plugins/licensing/README.md[licensing] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/licensing/README.md[licensing] |The licensing plugin retrieves license data from Elasticsearch at regular configurable intervals. @@ -931,7 +931,7 @@ in their infrastructure. |The task manager is a generic system for running background tasks. -|{kib-repo}blob/{branch}/x-pack/plugins/telemetry_collection_xpack/README.md[telemetryCollectionXpack] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/telemetry_collection_xpack/README.md[telemetryCollectionXpack] |Gathers all usage collection, retrieving them from both: OSS and X-Pack plugins. @@ -949,7 +949,7 @@ in their infrastructure. |<> |Contains Elastic-supported translations. Owned by the Localizations team. -For adding localizations and instrument a ui to support translated content, see https://github.com/elastic/kibana/tree/main/packages/kbn-i18n +For adding localizations and instrument a ui to support translated content, see https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-i18n |{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/triggers_actions_ui/README.md[triggersActionsUi] @@ -957,7 +957,7 @@ For adding localizations and instrument a ui to support translated content, see As a developer you can reuse and extend built-in alerts and actions UI functionality: -|{kib-repo}blob/{branch}/x-pack/plugins/upgrade_assistant/README.md[upgradeAssistant] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/upgrade_assistant/README.md[upgradeAssistant] |Upgrade Assistant helps users prepare their Stack for being upgraded to the next version of the Elastic stack. diff --git a/docs/developer/plugin/external-plugin-localization.asciidoc b/docs/developer/plugin/external-plugin-localization.asciidoc index cc43acc6ca4b3..eca7e49e8de37 100644 --- a/docs/developer/plugin/external-plugin-localization.asciidoc +++ b/docs/developer/plugin/external-plugin-localization.asciidoc @@ -103,7 +103,7 @@ export const HELLO_WORLD = i18n.translate('hello.wonderful.world', { }); ----------- -Full details are {kib-repo}tree/main/packages/kbn-i18n#vanilla-js[here]. +Full details are {kib-repo}tree/main/src/platform/packages/shared/kbn-i18n#vanilla-js[here]. [discrete] ==== i18n for React @@ -127,7 +127,7 @@ export const Component = () => { }; ----------- -Full details are {kib-repo}tree/main/packages/kbn-i18n#react[here]. +Full details are {kib-repo}tree/main/src/platform/packages/shared/kbn-i18n#react[here]. [discrete] === Resources @@ -136,5 +136,5 @@ To learn more about i18n tooling, see {kib-repo}blob/{branch}/src/dev/i18n/READM To learn more about implementing i18n in the UI, use the following links: -* {kib-repo}blob/{branch}/packages/kbn-i18n/README.md[i18n plugin] -* {kib-repo}blob/{branch}/packages/kbn-i18n/GUIDELINE.md[i18n guidelines] +* {kib-repo}blob/{branch}/src/platform/packages/shared/kbn-i18n/README.md[i18n plugin] +* {kib-repo}blob/{branch}/src/platform/packages/shared/kbn-i18n/GUIDELINE.md[i18n guidelines] diff --git a/legacy_rfcs/text/0007_lifecycle_unblocked.md b/legacy_rfcs/text/0007_lifecycle_unblocked.md index 3f347891b2ba8..5b507233dd0b6 100644 --- a/legacy_rfcs/text/0007_lifecycle_unblocked.md +++ b/legacy_rfcs/text/0007_lifecycle_unblocked.md @@ -344,7 +344,7 @@ functions and will be impacted: 4. [vis_type_vega](https://github.com/elastic/kibana/blob/6039709929caf0090a4130b8235f3a53bd04ed84/src/legacy/core_plugins/vis_type_vega/public/plugin.ts#L59) 6. [code](https://github.com/elastic/kibana/blob/5049b460b47d4ae3432e1d9219263bb4be441392/x-pack/legacy/plugins/code/server/plugin.ts#L129-L149) 7. [spaces](https://github.com/elastic/kibana/blob/096c7ee51136327f778845c636d7c4f1188e5db2/x-pack/legacy/plugins/spaces/server/new_platform/plugin.ts#L95) -8. [licensing](https://github.com/elastic/kibana/blob/4667c46caef26f8f47714504879197708debae32/x-pack/plugins/licensing/server/plugin.ts) +8. [licensing](https://github.com/elastic/kibana/blob/4667c46caef26f8f47714504879197708debae32/x-pack/platform/plugins/shared/licensing/server/plugin.ts) 9. [security](https://github.com/elastic/kibana/blob/0f2324e44566ce2cf083d89082841e57d2db6ef6/x-pack/plugins/security/server/plugin.ts#L96) # How we teach this diff --git a/package.json b/package.json index b181416d8547d..9f2e5ddfe7b05 100644 --- a/package.json +++ b/package.json @@ -180,11 +180,11 @@ "@kbn/alerts-grouping": "link:x-pack/solutions/observability/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:src/platform/packages/shared/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/solutions/observability/plugins/apm_data_access", "@kbn/apm-data-view": "link:src/platform/packages/shared/kbn-apm-data-view", "@kbn/apm-plugin": "link:x-pack/solutions/observability/plugins/apm", @@ -208,15 +208,15 @@ "@kbn/chart-icons": "link:packages/kbn-chart-icons", "@kbn/charts-plugin": "link:src/plugins/charts", "@kbn/charts-theme": "link:packages/kbn-charts-theme", - "@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/platform/plugins/private/cloud_integrations/cloud_data_migration", "@kbn/cloud-defend-plugin": "link:x-pack/solutions/security/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/solutions/security/packages/kbn-cloud-security-posture/public", "@kbn/cloud-security-posture-common": "link:x-pack/platform/packages/shared/kbn-cloud-security-posture/common", "@kbn/cloud-security-posture-graph": "link:x-pack/solutions/security/packages/kbn-cloud-security-posture/graph", @@ -224,9 +224,9 @@ "@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-mocks": "link:packages/kbn-config-mocks", - "@kbn/config-schema": "link:packages/kbn-config-schema", + "@kbn/config": "link:src/platform/packages/shared/kbn-config", + "@kbn/config-mocks": "link:src/platform/packages/private/kbn-config-mocks", + "@kbn/config-schema": "link:src/platform/packages/shared/kbn-config-schema", "@kbn/console-plugin": "link:src/platform/plugins/shared/console", "@kbn/content-management-content-editor": "link:packages/content-management/content_editor", "@kbn/content-management-content-insights-public": "link:packages/content-management/content_insights/content_insights_public", @@ -257,15 +257,15 @@ "@kbn/core-apps-server-internal": "link:src/core/packages/apps/server-internal", "@kbn/core-base-browser-internal": "link:src/core/packages/base/browser-internal", "@kbn/core-base-common": "link:src/core/packages/base/common", - "@kbn/core-base-common-internal": "link:packages/core/base/core-base-common-internal", - "@kbn/core-base-server-internal": "link:packages/core/base/core-base-server-internal", - "@kbn/core-capabilities-browser-internal": "link:packages/core/capabilities/core-capabilities-browser-internal", - "@kbn/core-capabilities-common": "link:packages/core/capabilities/core-capabilities-common", - "@kbn/core-capabilities-server": "link:packages/core/capabilities/core-capabilities-server", - "@kbn/core-capabilities-server-internal": "link:packages/core/capabilities/core-capabilities-server-internal", + "@kbn/core-base-common-internal": "link:src/core/packages/base/common-internal", + "@kbn/core-base-server-internal": "link:src/core/packages/base/server-internal", + "@kbn/core-capabilities-browser-internal": "link:src/core/packages/capabilities/browser-internal", + "@kbn/core-capabilities-common": "link:src/core/packages/capabilities/common", + "@kbn/core-capabilities-server": "link:src/core/packages/capabilities/server", + "@kbn/core-capabilities-server-internal": "link:src/core/packages/capabilities/server-internal", "@kbn/core-chrome-browser": "link:packages/core/chrome/core-chrome-browser", "@kbn/core-chrome-browser-internal": "link:packages/core/chrome/core-chrome-browser-internal", - "@kbn/core-config-server-internal": "link:packages/core/config/core-config-server-internal", + "@kbn/core-config-server-internal": "link:src/core/packages/config/server-internal", "@kbn/core-custom-branding-browser": "link:packages/core/custom-branding/core-custom-branding-browser", "@kbn/core-custom-branding-browser-internal": "link:packages/core/custom-branding/core-custom-branding-browser-internal", "@kbn/core-custom-branding-browser-mocks": "link:packages/core/custom-branding/core-custom-branding-browser-mocks", @@ -273,72 +273,72 @@ "@kbn/core-custom-branding-server": "link:packages/core/custom-branding/core-custom-branding-server", "@kbn/core-custom-branding-server-internal": "link:packages/core/custom-branding/core-custom-branding-server-internal", "@kbn/core-custom-branding-server-mocks": "link:packages/core/custom-branding/core-custom-branding-server-mocks", - "@kbn/core-deprecations-browser": "link:packages/core/deprecations/core-deprecations-browser", - "@kbn/core-deprecations-browser-internal": "link:packages/core/deprecations/core-deprecations-browser-internal", - "@kbn/core-deprecations-common": "link:packages/core/deprecations/core-deprecations-common", - "@kbn/core-deprecations-server": "link:packages/core/deprecations/core-deprecations-server", - "@kbn/core-deprecations-server-internal": "link:packages/core/deprecations/core-deprecations-server-internal", - "@kbn/core-doc-links-browser": "link:packages/core/doc-links/core-doc-links-browser", - "@kbn/core-doc-links-browser-internal": "link:packages/core/doc-links/core-doc-links-browser-internal", - "@kbn/core-doc-links-server": "link:packages/core/doc-links/core-doc-links-server", - "@kbn/core-doc-links-server-internal": "link:packages/core/doc-links/core-doc-links-server-internal", - "@kbn/core-elasticsearch-client-server-internal": "link:packages/core/elasticsearch/core-elasticsearch-client-server-internal", - "@kbn/core-elasticsearch-server": "link:packages/core/elasticsearch/core-elasticsearch-server", - "@kbn/core-elasticsearch-server-internal": "link:packages/core/elasticsearch/core-elasticsearch-server-internal", - "@kbn/core-environment-server-internal": "link:packages/core/environment/core-environment-server-internal", - "@kbn/core-execution-context-browser": "link:packages/core/execution-context/core-execution-context-browser", - "@kbn/core-execution-context-browser-internal": "link:packages/core/execution-context/core-execution-context-browser-internal", - "@kbn/core-execution-context-common": "link:packages/core/execution-context/core-execution-context-common", - "@kbn/core-execution-context-server": "link:packages/core/execution-context/core-execution-context-server", - "@kbn/core-execution-context-server-internal": "link:packages/core/execution-context/core-execution-context-server-internal", - "@kbn/core-fatal-errors-browser": "link:packages/core/fatal-errors/core-fatal-errors-browser", - "@kbn/core-fatal-errors-browser-internal": "link:packages/core/fatal-errors/core-fatal-errors-browser-internal", - "@kbn/core-feature-flags-browser": "link:packages/core/feature-flags/core-feature-flags-browser", - "@kbn/core-feature-flags-browser-internal": "link:packages/core/feature-flags/core-feature-flags-browser-internal", - "@kbn/core-feature-flags-browser-mocks": "link:packages/core/feature-flags/core-feature-flags-browser-mocks", - "@kbn/core-feature-flags-server": "link:packages/core/feature-flags/core-feature-flags-server", - "@kbn/core-feature-flags-server-internal": "link:packages/core/feature-flags/core-feature-flags-server-internal", - "@kbn/core-feature-flags-server-mocks": "link:packages/core/feature-flags/core-feature-flags-server-mocks", + "@kbn/core-deprecations-browser": "link:src/core/packages/deprecations/browser", + "@kbn/core-deprecations-browser-internal": "link:src/core/packages/deprecations/browser-internal", + "@kbn/core-deprecations-common": "link:src/core/packages/deprecations/common", + "@kbn/core-deprecations-server": "link:src/core/packages/deprecations/server", + "@kbn/core-deprecations-server-internal": "link:src/core/packages/deprecations/server-internal", + "@kbn/core-doc-links-browser": "link:src/core/packages/doc-links/browser", + "@kbn/core-doc-links-browser-internal": "link:src/core/packages/doc-links/browser-internal", + "@kbn/core-doc-links-server": "link:src/core/packages/doc-links/server", + "@kbn/core-doc-links-server-internal": "link:src/core/packages/doc-links/server-internal", + "@kbn/core-elasticsearch-client-server-internal": "link:src/core/packages/elasticsearch/client-server-internal", + "@kbn/core-elasticsearch-server": "link:src/core/packages/elasticsearch/server", + "@kbn/core-elasticsearch-server-internal": "link:src/core/packages/elasticsearch/server-internal", + "@kbn/core-environment-server-internal": "link:src/core/packages/environment/server-internal", + "@kbn/core-execution-context-browser": "link:src/core/packages/execution-context/browser", + "@kbn/core-execution-context-browser-internal": "link:src/core/packages/execution-context/browser-internal", + "@kbn/core-execution-context-common": "link:src/core/packages/execution-context/common", + "@kbn/core-execution-context-server": "link:src/core/packages/execution-context/server", + "@kbn/core-execution-context-server-internal": "link:src/core/packages/execution-context/server-internal", + "@kbn/core-fatal-errors-browser": "link:src/core/packages/fatal-errors/browser", + "@kbn/core-fatal-errors-browser-internal": "link:src/core/packages/fatal-errors/browser-internal", + "@kbn/core-feature-flags-browser": "link:src/core/packages/feature-flags/browser", + "@kbn/core-feature-flags-browser-internal": "link:src/core/packages/feature-flags/browser-internal", + "@kbn/core-feature-flags-browser-mocks": "link:src/core/packages/feature-flags/browser-mocks", + "@kbn/core-feature-flags-server": "link:src/core/packages/feature-flags/server", + "@kbn/core-feature-flags-server-internal": "link:src/core/packages/feature-flags/server-internal", + "@kbn/core-feature-flags-server-mocks": "link:src/core/packages/feature-flags/server-mocks", "@kbn/core-history-block-plugin": "link:test/plugin_functional/plugins/core_history_block", - "@kbn/core-http-browser": "link:packages/core/http/core-http-browser", - "@kbn/core-http-browser-internal": "link:packages/core/http/core-http-browser-internal", - "@kbn/core-http-common": "link:packages/core/http/core-http-common", - "@kbn/core-http-context-server-internal": "link:packages/core/http/core-http-context-server-internal", + "@kbn/core-http-browser": "link:src/core/packages/http/browser", + "@kbn/core-http-browser-internal": "link:src/core/packages/http/browser-internal", + "@kbn/core-http-common": "link:src/core/packages/http/common", + "@kbn/core-http-context-server-internal": "link:src/core/packages/http/context-server-internal", "@kbn/core-http-plugin": "link:test/plugin_functional/plugins/core_http", - "@kbn/core-http-request-handler-context-server": "link:packages/core/http/core-http-request-handler-context-server", - "@kbn/core-http-request-handler-context-server-internal": "link:packages/core/http/core-http-request-handler-context-server-internal", - "@kbn/core-http-resources-server": "link:packages/core/http/core-http-resources-server", - "@kbn/core-http-resources-server-internal": "link:packages/core/http/core-http-resources-server-internal", - "@kbn/core-http-router-server-internal": "link:packages/core/http/core-http-router-server-internal", - "@kbn/core-http-server": "link:packages/core/http/core-http-server", - "@kbn/core-http-server-internal": "link:packages/core/http/core-http-server-internal", - "@kbn/core-http-server-utils": "link:packages/core/http/core-http-server-utils", - "@kbn/core-i18n-browser": "link:packages/core/i18n/core-i18n-browser", - "@kbn/core-i18n-browser-internal": "link:packages/core/i18n/core-i18n-browser-internal", - "@kbn/core-i18n-server": "link:packages/core/i18n/core-i18n-server", - "@kbn/core-i18n-server-internal": "link:packages/core/i18n/core-i18n-server-internal", - "@kbn/core-injected-metadata-browser-internal": "link:packages/core/injected-metadata/core-injected-metadata-browser-internal", - "@kbn/core-injected-metadata-common-internal": "link:packages/core/injected-metadata/core-injected-metadata-common-internal", - "@kbn/core-integrations-browser-internal": "link:packages/core/integrations/core-integrations-browser-internal", - "@kbn/core-lifecycle-browser": "link:packages/core/lifecycle/core-lifecycle-browser", - "@kbn/core-lifecycle-browser-internal": "link:packages/core/lifecycle/core-lifecycle-browser-internal", - "@kbn/core-lifecycle-server": "link:packages/core/lifecycle/core-lifecycle-server", - "@kbn/core-lifecycle-server-internal": "link:packages/core/lifecycle/core-lifecycle-server-internal", - "@kbn/core-logging-browser-internal": "link:packages/core/logging/core-logging-browser-internal", - "@kbn/core-logging-common-internal": "link:packages/core/logging/core-logging-common-internal", - "@kbn/core-logging-server": "link:packages/core/logging/core-logging-server", - "@kbn/core-logging-server-internal": "link:packages/core/logging/core-logging-server-internal", - "@kbn/core-metrics-collectors-server-internal": "link:packages/core/metrics/core-metrics-collectors-server-internal", - "@kbn/core-metrics-server": "link:packages/core/metrics/core-metrics-server", - "@kbn/core-metrics-server-internal": "link:packages/core/metrics/core-metrics-server-internal", - "@kbn/core-mount-utils-browser": "link:packages/core/mount-utils/core-mount-utils-browser", - "@kbn/core-mount-utils-browser-internal": "link:packages/core/mount-utils/core-mount-utils-browser-internal", - "@kbn/core-node-server": "link:packages/core/node/core-node-server", - "@kbn/core-node-server-internal": "link:packages/core/node/core-node-server-internal", - "@kbn/core-notifications-browser": "link:packages/core/notifications/core-notifications-browser", - "@kbn/core-notifications-browser-internal": "link:packages/core/notifications/core-notifications-browser-internal", - "@kbn/core-overlays-browser": "link:packages/core/overlays/core-overlays-browser", - "@kbn/core-overlays-browser-internal": "link:packages/core/overlays/core-overlays-browser-internal", + "@kbn/core-http-request-handler-context-server": "link:src/core/packages/http/request-handler-context-server", + "@kbn/core-http-request-handler-context-server-internal": "link:src/core/packages/http/request-handler-context-server-internal", + "@kbn/core-http-resources-server": "link:src/core/packages/http/resources-server", + "@kbn/core-http-resources-server-internal": "link:src/core/packages/http/resources-server-internal", + "@kbn/core-http-router-server-internal": "link:src/core/packages/http/router-server-internal", + "@kbn/core-http-server": "link:src/core/packages/http/server", + "@kbn/core-http-server-internal": "link:src/core/packages/http/server-internal", + "@kbn/core-http-server-utils": "link:src/core/packages/http/server-utils", + "@kbn/core-i18n-browser": "link:src/core/packages/i18n/browser", + "@kbn/core-i18n-browser-internal": "link:src/core/packages/i18n/browser-internal", + "@kbn/core-i18n-server": "link:src/core/packages/i18n/server", + "@kbn/core-i18n-server-internal": "link:src/core/packages/i18n/server-internal", + "@kbn/core-injected-metadata-browser-internal": "link:src/core/packages/injected-metadata/browser-internal", + "@kbn/core-injected-metadata-common-internal": "link:src/core/packages/injected-metadata/common-internal", + "@kbn/core-integrations-browser-internal": "link:src/core/packages/integrations/browser-internal", + "@kbn/core-lifecycle-browser": "link:src/core/packages/lifecycle/browser", + "@kbn/core-lifecycle-browser-internal": "link:src/core/packages/lifecycle/browser-internal", + "@kbn/core-lifecycle-server": "link:src/core/packages/lifecycle/server", + "@kbn/core-lifecycle-server-internal": "link:src/core/packages/lifecycle/server-internal", + "@kbn/core-logging-browser-internal": "link:src/core/packages/logging/browser-internal", + "@kbn/core-logging-common-internal": "link:src/core/packages/logging/common-internal", + "@kbn/core-logging-server": "link:src/core/packages/logging/server", + "@kbn/core-logging-server-internal": "link:src/core/packages/logging/server-internal", + "@kbn/core-metrics-collectors-server-internal": "link:src/core/packages/metrics/collectors-server-internal", + "@kbn/core-metrics-server": "link:src/core/packages/metrics/server", + "@kbn/core-metrics-server-internal": "link:src/core/packages/metrics/server-internal", + "@kbn/core-mount-utils-browser": "link:src/core/packages/mount-utils/browser", + "@kbn/core-mount-utils-browser-internal": "link:src/core/packages/mount-utils/browser-internal", + "@kbn/core-node-server": "link:src/core/packages/node/server", + "@kbn/core-node-server-internal": "link:src/core/packages/node/server-internal", + "@kbn/core-notifications-browser": "link:src/core/packages/notifications/browser", + "@kbn/core-notifications-browser-internal": "link:src/core/packages/notifications/browser-internal", + "@kbn/core-overlays-browser": "link:src/core/packages/overlays/browser", + "@kbn/core-overlays-browser-internal": "link:src/core/packages/overlays/browser-internal", "@kbn/core-plugin-a-plugin": "link:test/plugin_functional/plugins/core_plugin_a", "@kbn/core-plugin-appleave-plugin": "link:test/plugin_functional/plugins/core_plugin_appleave", "@kbn/core-plugin-b-plugin": "link:test/plugin_functional/plugins/core_plugin_b", @@ -352,70 +352,70 @@ "@kbn/core-plugin-initializer-context-plugin": "link:test/node_roles_functional/plugins/core_plugin_initializer_context", "@kbn/core-plugin-route-timeouts-plugin": "link:test/plugin_functional/plugins/core_plugin_route_timeouts", "@kbn/core-plugin-static-assets-plugin": "link:test/plugin_functional/plugins/core_plugin_static_assets", - "@kbn/core-plugins-base-server-internal": "link:packages/core/plugins/core-plugins-base-server-internal", - "@kbn/core-plugins-browser": "link:packages/core/plugins/core-plugins-browser", - "@kbn/core-plugins-browser-internal": "link:packages/core/plugins/core-plugins-browser-internal", - "@kbn/core-plugins-contracts-browser": "link:packages/core/plugins/core-plugins-contracts-browser", - "@kbn/core-plugins-contracts-server": "link:packages/core/plugins/core-plugins-contracts-server", - "@kbn/core-plugins-server": "link:packages/core/plugins/core-plugins-server", - "@kbn/core-plugins-server-internal": "link:packages/core/plugins/core-plugins-server-internal", - "@kbn/core-preboot-server": "link:packages/core/preboot/core-preboot-server", - "@kbn/core-preboot-server-internal": "link:packages/core/preboot/core-preboot-server-internal", + "@kbn/core-plugins-base-server-internal": "link:src/core/packages/plugins/base-server-internal", + "@kbn/core-plugins-browser": "link:src/core/packages/plugins/browser", + "@kbn/core-plugins-browser-internal": "link:src/core/packages/plugins/browser-internal", + "@kbn/core-plugins-contracts-browser": "link:src/core/packages/plugins/contracts-browser", + "@kbn/core-plugins-contracts-server": "link:src/core/packages/plugins/contracts-server", + "@kbn/core-plugins-server": "link:src/core/packages/plugins/server", + "@kbn/core-plugins-server-internal": "link:src/core/packages/plugins/server-internal", + "@kbn/core-preboot-server": "link:src/core/packages/preboot/server", + "@kbn/core-preboot-server-internal": "link:src/core/packages/preboot/server-internal", "@kbn/core-provider-plugin": "link:test/plugin_functional/plugins/core_provider_plugin", - "@kbn/core-rendering-browser": "link:packages/core/rendering/core-rendering-browser", - "@kbn/core-rendering-browser-internal": "link:packages/core/rendering/core-rendering-browser-internal", - "@kbn/core-rendering-server-internal": "link:packages/core/rendering/core-rendering-server-internal", - "@kbn/core-root-browser-internal": "link:packages/core/root/core-root-browser-internal", - "@kbn/core-root-server-internal": "link:packages/core/root/core-root-server-internal", - "@kbn/core-saved-objects-api-browser": "link:packages/core/saved-objects/core-saved-objects-api-browser", - "@kbn/core-saved-objects-api-server": "link:packages/core/saved-objects/core-saved-objects-api-server", - "@kbn/core-saved-objects-api-server-internal": "link:packages/core/saved-objects/core-saved-objects-api-server-internal", - "@kbn/core-saved-objects-base-server-internal": "link:packages/core/saved-objects/core-saved-objects-base-server-internal", - "@kbn/core-saved-objects-browser": "link:packages/core/saved-objects/core-saved-objects-browser", - "@kbn/core-saved-objects-browser-internal": "link:packages/core/saved-objects/core-saved-objects-browser-internal", - "@kbn/core-saved-objects-common": "link:packages/core/saved-objects/core-saved-objects-common", - "@kbn/core-saved-objects-import-export-server-internal": "link:packages/core/saved-objects/core-saved-objects-import-export-server-internal", - "@kbn/core-saved-objects-migration-server-internal": "link:packages/core/saved-objects/core-saved-objects-migration-server-internal", - "@kbn/core-saved-objects-server": "link:packages/core/saved-objects/core-saved-objects-server", - "@kbn/core-saved-objects-server-internal": "link:packages/core/saved-objects/core-saved-objects-server-internal", - "@kbn/core-saved-objects-utils-server": "link:packages/core/saved-objects/core-saved-objects-utils-server", - "@kbn/core-security-browser": "link:packages/core/security/core-security-browser", - "@kbn/core-security-browser-internal": "link:packages/core/security/core-security-browser-internal", - "@kbn/core-security-browser-mocks": "link:packages/core/security/core-security-browser-mocks", - "@kbn/core-security-common": "link:packages/core/security/core-security-common", - "@kbn/core-security-server": "link:packages/core/security/core-security-server", - "@kbn/core-security-server-internal": "link:packages/core/security/core-security-server-internal", - "@kbn/core-security-server-mocks": "link:packages/core/security/core-security-server-mocks", - "@kbn/core-status-common": "link:packages/core/status/core-status-common", - "@kbn/core-status-server": "link:packages/core/status/core-status-server", - "@kbn/core-status-server-internal": "link:packages/core/status/core-status-server-internal", - "@kbn/core-test-helpers-deprecations-getters": "link:packages/core/test-helpers/core-test-helpers-deprecations-getters", - "@kbn/core-test-helpers-http-setup-browser": "link:packages/core/test-helpers/core-test-helpers-http-setup-browser", - "@kbn/core-test-helpers-so-type-serializer": "link:packages/core/test-helpers/core-test-helpers-so-type-serializer", - "@kbn/core-test-helpers-test-utils": "link:packages/core/test-helpers/core-test-helpers-test-utils", - "@kbn/core-theme-browser": "link:packages/core/theme/core-theme-browser", - "@kbn/core-theme-browser-internal": "link:packages/core/theme/core-theme-browser-internal", + "@kbn/core-rendering-browser": "link:src/core/packages/rendering/browser", + "@kbn/core-rendering-browser-internal": "link:src/core/packages/rendering/browser-internal", + "@kbn/core-rendering-server-internal": "link:src/core/packages/rendering/server-internal", + "@kbn/core-root-browser-internal": "link:src/core/packages/root/browser-internal", + "@kbn/core-root-server-internal": "link:src/core/packages/root/server-internal", + "@kbn/core-saved-objects-api-browser": "link:src/core/packages/saved-objects/api-browser", + "@kbn/core-saved-objects-api-server": "link:src/core/packages/saved-objects/api-server", + "@kbn/core-saved-objects-api-server-internal": "link:src/core/packages/saved-objects/api-server-internal", + "@kbn/core-saved-objects-base-server-internal": "link:src/core/packages/saved-objects/base-server-internal", + "@kbn/core-saved-objects-browser": "link:src/core/packages/saved-objects/browser", + "@kbn/core-saved-objects-browser-internal": "link:src/core/packages/saved-objects/browser-internal", + "@kbn/core-saved-objects-common": "link:src/core/packages/saved-objects/common", + "@kbn/core-saved-objects-import-export-server-internal": "link:src/core/packages/saved-objects/import-export-server-internal", + "@kbn/core-saved-objects-migration-server-internal": "link:src/core/packages/saved-objects/migration-server-internal", + "@kbn/core-saved-objects-server": "link:src/core/packages/saved-objects/server", + "@kbn/core-saved-objects-server-internal": "link:src/core/packages/saved-objects/server-internal", + "@kbn/core-saved-objects-utils-server": "link:src/core/packages/saved-objects/utils-server", + "@kbn/core-security-browser": "link:src/core/packages/security/browser", + "@kbn/core-security-browser-internal": "link:src/core/packages/security/browser-internal", + "@kbn/core-security-browser-mocks": "link:src/core/packages/security/browser-mocks", + "@kbn/core-security-common": "link:src/core/packages/security/common", + "@kbn/core-security-server": "link:src/core/packages/security/server", + "@kbn/core-security-server-internal": "link:src/core/packages/security/server-internal", + "@kbn/core-security-server-mocks": "link:src/core/packages/security/server-mocks", + "@kbn/core-status-common": "link:src/core/packages/status/common", + "@kbn/core-status-server": "link:src/core/packages/status/server", + "@kbn/core-status-server-internal": "link:src/core/packages/status/server-internal", + "@kbn/core-test-helpers-deprecations-getters": "link:src/core/packages/test-helpers/deprecations-getters", + "@kbn/core-test-helpers-http-setup-browser": "link:src/core/packages/test-helpers/http-setup-browser", + "@kbn/core-test-helpers-so-type-serializer": "link:src/core/packages/test-helpers/so-type-serializer", + "@kbn/core-test-helpers-test-utils": "link:src/core/packages/test-helpers/test-utils", + "@kbn/core-theme-browser": "link:src/core/packages/theme/browser", + "@kbn/core-theme-browser-internal": "link:src/core/packages/theme/browser-internal", "@kbn/core-ui-settings-browser": "link:packages/core/ui-settings/core-ui-settings-browser", "@kbn/core-ui-settings-browser-internal": "link:packages/core/ui-settings/core-ui-settings-browser-internal", "@kbn/core-ui-settings-common": "link:packages/core/ui-settings/core-ui-settings-common", "@kbn/core-ui-settings-server": "link:packages/core/ui-settings/core-ui-settings-server", "@kbn/core-ui-settings-server-internal": "link:packages/core/ui-settings/core-ui-settings-server-internal", - "@kbn/core-usage-data-base-server-internal": "link:packages/core/usage-data/core-usage-data-base-server-internal", - "@kbn/core-usage-data-server": "link:packages/core/usage-data/core-usage-data-server", - "@kbn/core-usage-data-server-internal": "link:packages/core/usage-data/core-usage-data-server-internal", - "@kbn/core-user-profile-browser": "link:packages/core/user-profile/core-user-profile-browser", - "@kbn/core-user-profile-browser-internal": "link:packages/core/user-profile/core-user-profile-browser-internal", - "@kbn/core-user-profile-browser-mocks": "link:packages/core/user-profile/core-user-profile-browser-mocks", - "@kbn/core-user-profile-common": "link:packages/core/user-profile/core-user-profile-common", - "@kbn/core-user-profile-server": "link:packages/core/user-profile/core-user-profile-server", - "@kbn/core-user-profile-server-internal": "link:packages/core/user-profile/core-user-profile-server-internal", - "@kbn/core-user-profile-server-mocks": "link:packages/core/user-profile/core-user-profile-server-mocks", + "@kbn/core-usage-data-base-server-internal": "link:src/core/packages/usage-data/base-server-internal", + "@kbn/core-usage-data-server": "link:src/core/packages/usage-data/server", + "@kbn/core-usage-data-server-internal": "link:src/core/packages/usage-data/server-internal", + "@kbn/core-user-profile-browser": "link:src/core/packages/user-profile/browser", + "@kbn/core-user-profile-browser-internal": "link:src/core/packages/user-profile/browser-internal", + "@kbn/core-user-profile-browser-mocks": "link:src/core/packages/user-profile/browser-mocks", + "@kbn/core-user-profile-common": "link:src/core/packages/user-profile/common", + "@kbn/core-user-profile-server": "link:src/core/packages/user-profile/server", + "@kbn/core-user-profile-server-internal": "link:src/core/packages/user-profile/server-internal", + "@kbn/core-user-profile-server-mocks": "link:src/core/packages/user-profile/server-mocks", "@kbn/core-user-settings-server": "link:packages/core/user-settings/core-user-settings-server", "@kbn/core-user-settings-server-internal": "link:packages/core/user-settings/core-user-settings-server-internal", "@kbn/core-user-settings-server-mocks": "link:packages/core/user-settings/core-user-settings-server-mocks", "@kbn/cross-cluster-replication-plugin": "link:x-pack/platform/plugins/private/cross_cluster_replication", "@kbn/crypto": "link:packages/kbn-crypto", - "@kbn/crypto-browser": "link:packages/kbn-crypto-browser", + "@kbn/crypto-browser": "link:src/platform/packages/shared/kbn-crypto-browser", "@kbn/custom-branding-plugin": "link:x-pack/platform/plugins/private/custom_branding", "@kbn/custom-icons": "link:src/platform/packages/shared/kbn-custom-icons", "@kbn/custom-integrations": "link:x-pack/solutions/observability/packages/kbn-custom-integrations", @@ -461,7 +461,7 @@ "@kbn/discover-utils": "link:src/platform/packages/shared/kbn-discover-utils", "@kbn/doc-links": "link:src/platform/packages/shared/kbn-doc-links", "@kbn/dom-drag-drop": "link:packages/kbn-dom-drag-drop", - "@kbn/ebt-tools": "link:packages/kbn-ebt-tools", + "@kbn/ebt-tools": "link:src/platform/packages/shared/kbn-ebt-tools", "@kbn/ecs-data-quality-dashboard": "link:x-pack/solutions/security/packages/ecs_data_quality_dashboard", "@kbn/ecs-data-quality-dashboard-plugin": "link:x-pack/solutions/security/plugins/ecs_data_quality_dashboard", "@kbn/elastic-agent-utils": "link:src/platform/packages/shared/kbn-elastic-agent-utils", @@ -482,9 +482,9 @@ "@kbn/entityManager-app-plugin": "link:x-pack/solutions/observability/plugins/observability_solution/entity_manager_app", "@kbn/entityManager-plugin": "link:x-pack/platform/plugins/shared/entity_manager", "@kbn/error-boundary-example-plugin": "link:examples/error_boundary", - "@kbn/es-errors": "link:packages/kbn-es-errors", + "@kbn/es-errors": "link:src/platform/packages/shared/kbn-es-errors", "@kbn/es-query": "link:src/platform/packages/shared/kbn-es-query", - "@kbn/es-types": "link:packages/kbn-es-types", + "@kbn/es-types": "link:src/platform/packages/shared/kbn-es-types", "@kbn/es-ui-shared-plugin": "link:src/platform/plugins/shared/es_ui_shared", "@kbn/eso-model-version-example": "link:examples/eso_model_version_example", "@kbn/eso-plugin": "link:x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin", @@ -524,7 +524,7 @@ "@kbn/feature-controls-examples-plugin": "link:examples/feature_control_examples", "@kbn/feature-flags-example-plugin": "link:examples/feature_flags_example", "@kbn/feature-usage-test-plugin": "link:x-pack/test/plugin_api_integration/plugins/feature_usage_test", - "@kbn/features-plugin": "link:x-pack/plugins/features", + "@kbn/features-plugin": "link:x-pack/platform/plugins/shared/features", "@kbn/features-provider-plugin": "link:x-pack/test/security_api_integration/plugins/features_provider", "@kbn/fec-alerts-test-plugin": "link:x-pack/test/functional_execution_context/plugins/alerts", "@kbn/field-formats-example-plugin": "link:examples/field_formats_example", @@ -540,7 +540,7 @@ "@kbn/flot-charts": "link:src/platform/packages/shared/kbn-flot-charts", "@kbn/foo-plugin": "link:x-pack/test/ui_capabilities/common/plugins/foo_plugin", "@kbn/formatters": "link:packages/kbn-formatters", - "@kbn/ftr-apis-plugin": "link:src/plugins/ftr_apis", + "@kbn/ftr-apis-plugin": "link:src/platform/plugins/private/ftr_apis", "@kbn/functional-with-es-ssl-cases-test-plugin": "link:x-pack/test/functional_with_es_ssl/plugins/cases", "@kbn/gen-ai-streaming-response-example-plugin": "link:x-pack/examples/gen_ai_streaming_response_example", "@kbn/generate-console-definitions": "link:packages/kbn-generate-console-definitions", @@ -558,16 +558,16 @@ "@kbn/guided-onboarding-example-plugin": "link:examples/guided_onboarding_example", "@kbn/guided-onboarding-plugin": "link:src/platform/plugins/shared/guided_onboarding", "@kbn/handlebars": "link:packages/kbn-handlebars", - "@kbn/hapi-mocks": "link:packages/kbn-hapi-mocks", + "@kbn/hapi-mocks": "link:src/platform/packages/private/kbn-hapi-mocks", "@kbn/hardening-plugin": "link:test/plugin_functional/plugins/hardening", - "@kbn/health-gateway-server": "link:packages/kbn-health-gateway-server", + "@kbn/health-gateway-server": "link:src/platform/packages/private/kbn-health-gateway-server", "@kbn/hello-world-plugin": "link:examples/hello_world", "@kbn/home-plugin": "link:src/platform/plugins/shared/home", "@kbn/home-sample-data-card": "link:packages/home/sample_data_card", "@kbn/home-sample-data-tab": "link:packages/home/sample_data_tab", "@kbn/home-sample-data-types": "link:packages/home/sample_data_types", - "@kbn/i18n": "link:packages/kbn-i18n", - "@kbn/i18n-react": "link:packages/kbn-i18n-react", + "@kbn/i18n": "link:src/platform/packages/shared/kbn-i18n", + "@kbn/i18n-react": "link:src/platform/packages/shared/kbn-i18n-react", "@kbn/iframe-embedded-plugin": "link:x-pack/test/functional_embedded/plugins/iframe_embedded", "@kbn/image-embeddable-plugin": "link:src/platform/plugins/private/image_embeddable", "@kbn/index-adapter": "link:x-pack/solutions/security/packages/index-adapter", @@ -605,7 +605,7 @@ "@kbn/kibana-cors-test-plugin": "link:x-pack/test/functional_cors/plugins/kibana_cors_test", "@kbn/kibana-overview-plugin": "link:src/platform/plugins/private/kibana_overview", "@kbn/kibana-react-plugin": "link:src/platform/plugins/shared/kibana_react", - "@kbn/kibana-usage-collection-plugin": "link:src/plugins/kibana_usage_collection", + "@kbn/kibana-usage-collection-plugin": "link:src/platform/plugins/private/kibana_usage_collection", "@kbn/kibana-utils-plugin": "link:src/platform/plugins/shared/kibana_utils", "@kbn/kubernetes-security-plugin": "link:x-pack/solutions/security/plugins/kubernetes_security", "@kbn/langchain": "link:x-pack/platform/packages/shared/kbn-langchain", @@ -617,14 +617,14 @@ "@kbn/lens-plugin": "link:x-pack/plugins/lens", "@kbn/license-api-guard-plugin": "link:x-pack/platform/plugins/private/license_api_guard", "@kbn/license-management-plugin": "link:x-pack/platform/plugins/shared/license_management", - "@kbn/licensing-plugin": "link:x-pack/plugins/licensing", + "@kbn/licensing-plugin": "link:x-pack/platform/plugins/shared/licensing", "@kbn/links-plugin": "link:src/platform/plugins/private/links", "@kbn/lists-plugin": "link:x-pack/solutions/security/plugins/lists", "@kbn/llm-tasks-plugin": "link:x-pack/platform/plugins/shared/ai_infra/llm_tasks", "@kbn/locator-examples-plugin": "link:examples/locator_examples", "@kbn/locator-explorer-plugin": "link:examples/locator_explorer", - "@kbn/logging": "link:packages/kbn-logging", - "@kbn/logging-mocks": "link:packages/kbn-logging-mocks", + "@kbn/logging": "link:src/platform/packages/shared/kbn-logging", + "@kbn/logging-mocks": "link:src/platform/packages/shared/kbn-logging-mocks", "@kbn/logs-data-access-plugin": "link:x-pack/platform/plugins/shared/logs_data_access", "@kbn/logs-explorer-plugin": "link:x-pack/solutions/observability/plugins/logs_explorer", "@kbn/logs-shared-plugin": "link:x-pack/platform/plugins/shared/logs_shared", @@ -686,7 +686,7 @@ "@kbn/monitoring-collection-plugin": "link:x-pack/platform/plugins/private/monitoring_collection", "@kbn/monitoring-plugin": "link:x-pack/platform/plugins/private/monitoring", "@kbn/navigation-plugin": "link:src/platform/plugins/shared/navigation", - "@kbn/newsfeed-plugin": "link:src/plugins/newsfeed", + "@kbn/newsfeed-plugin": "link:src/platform/plugins/shared/newsfeed", "@kbn/newsfeed-test-plugin": "link:test/common/plugins/newsfeed", "@kbn/no-data-page-plugin": "link:src/platform/plugins/private/no_data_page", "@kbn/notifications-plugin": "link:x-pack/platform/plugins/shared/notifications", @@ -769,7 +769,7 @@ "@kbn/rison": "link:src/platform/packages/shared/kbn-rison", "@kbn/rollup": "link:x-pack/platform/packages/private/rollup", "@kbn/rollup-plugin": "link:x-pack/platform/plugins/private/rollup", - "@kbn/router-to-openapispec": "link:packages/kbn-router-to-openapispec", + "@kbn/router-to-openapispec": "link:src/platform/packages/shared/kbn-router-to-openapispec", "@kbn/router-utils": "link:src/platform/packages/shared/kbn-router-utils", "@kbn/routing-example-plugin": "link:examples/routing_example", "@kbn/rrule": "link:src/platform/packages/shared/kbn-rrule", @@ -786,7 +786,7 @@ "@kbn/saved-objects-finder-plugin": "link:src/platform/plugins/shared/saved_objects_finder", "@kbn/saved-objects-hidden-from-http-apis-type-plugin": "link:test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type", "@kbn/saved-objects-hidden-type-plugin": "link:test/plugin_functional/plugins/saved_objects_hidden_type", - "@kbn/saved-objects-management-plugin": "link:src/plugins/saved_objects_management", + "@kbn/saved-objects-management-plugin": "link:src/platform/plugins/shared/saved_objects_management", "@kbn/saved-objects-plugin": "link:src/platform/plugins/shared/saved_objects", "@kbn/saved-objects-settings": "link:packages/kbn-saved-objects-settings", "@kbn/saved-objects-tagging-oss-plugin": "link:src/platform/plugins/shared/saved_objects_tagging_oss", @@ -859,7 +859,7 @@ "@kbn/securitysolution-rules": "link:src/platform/packages/shared/kbn-securitysolution-rules", "@kbn/securitysolution-t-grid": "link:x-pack/solutions/security/packages/kbn-securitysolution-t-grid", "@kbn/securitysolution-utils": "link:x-pack/solutions/security/packages/kbn-securitysolution-utils", - "@kbn/server-http-tools": "link:packages/kbn-server-http-tools", + "@kbn/server-http-tools": "link:src/platform/packages/shared/kbn-server-http-tools", "@kbn/server-route-repository": "link:src/platform/packages/shared/kbn-server-route-repository", "@kbn/server-route-repository-client": "link:src/platform/packages/shared/kbn-server-route-repository-client", "@kbn/server-route-repository-utils": "link:src/platform/packages/shared/kbn-server-route-repository-utils", @@ -943,7 +943,7 @@ "@kbn/state-containers-examples-plugin": "link:examples/state_containers_examples", "@kbn/status-plugin-a-plugin": "link:test/server_integration/plugins/status_plugin_a", "@kbn/status-plugin-b-plugin": "link:test/server_integration/plugins/status_plugin_b", - "@kbn/std": "link:packages/kbn-std", + "@kbn/std": "link:src/platform/packages/shared/kbn-std", "@kbn/streams-app-plugin": "link:x-pack/solutions/observability/plugins/streams_app", "@kbn/streams-plugin": "link:x-pack/solutions/observability/plugins/streams", "@kbn/streams-schema": "link:x-pack/packages/kbn-streams-schema", @@ -952,10 +952,10 @@ "@kbn/task-manager-fixture-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture", "@kbn/task-manager-performance-plugin": "link:x-pack/test/plugin_api_perf/plugins/task_manager_performance", "@kbn/task-manager-plugin": "link:x-pack/platform/plugins/shared/task_manager", - "@kbn/telemetry-collection-manager-plugin": "link:src/plugins/telemetry_collection_manager", - "@kbn/telemetry-collection-xpack-plugin": "link:x-pack/plugins/telemetry_collection_xpack", - "@kbn/telemetry-management-section-plugin": "link:src/plugins/telemetry_management_section", - "@kbn/telemetry-plugin": "link:src/plugins/telemetry", + "@kbn/telemetry-collection-manager-plugin": "link:src/platform/plugins/shared/telemetry_collection_manager", + "@kbn/telemetry-collection-xpack-plugin": "link:x-pack/platform/plugins/private/telemetry_collection_xpack", + "@kbn/telemetry-management-section-plugin": "link:src/platform/plugins/shared/telemetry_management_section", + "@kbn/telemetry-plugin": "link:src/platform/plugins/shared/telemetry", "@kbn/telemetry-test-plugin": "link:test/plugin_functional/plugins/telemetry", "@kbn/test-feature-usage-plugin": "link:x-pack/test/licensing_plugin/plugins/test_feature_usage", "@kbn/testing-embedded-lens-plugin": "link:x-pack/examples/testing_embedded_lens", @@ -994,17 +994,17 @@ "@kbn/unified-search-plugin": "link:src/plugins/unified_search", "@kbn/unsaved-changes-badge": "link:src/platform/packages/private/kbn-unsaved-changes-badge", "@kbn/unsaved-changes-prompt": "link:src/platform/packages/shared/kbn-unsaved-changes-prompt", - "@kbn/upgrade-assistant-plugin": "link:x-pack/plugins/upgrade_assistant", + "@kbn/upgrade-assistant-plugin": "link:x-pack/platform/plugins/private/upgrade_assistant", "@kbn/uptime-plugin": "link:x-pack/solutions/observability/plugins/uptime", "@kbn/url-drilldown-plugin": "link:x-pack/plugins/drilldowns/url_drilldown", "@kbn/url-forwarding-plugin": "link:src/plugins/url_forwarding", - "@kbn/usage-collection-plugin": "link:src/plugins/usage_collection", + "@kbn/usage-collection-plugin": "link:src/platform/plugins/shared/usage_collection", "@kbn/usage-collection-test-plugin": "link:test/plugin_functional/plugins/usage_collection", "@kbn/use-tracked-promise": "link:packages/kbn-use-tracked-promise", "@kbn/user-profile-components": "link:packages/kbn-user-profile-components", "@kbn/user-profile-examples-plugin": "link:examples/user_profile_examples", "@kbn/user-profiles-consumer-plugin": "link:x-pack/test/security_api_integration/plugins/user_profiles_consumer", - "@kbn/utility-types": "link:packages/kbn-utility-types", + "@kbn/utility-types": "link:src/platform/packages/shared/kbn-utility-types", "@kbn/utility-types-jest": "link:src/platform/packages/shared/kbn-utility-types-jest", "@kbn/utils": "link:src/platform/packages/shared/kbn-utils", "@kbn/ux-plugin": "link:x-pack/solutions/observability/plugins/ux", @@ -1027,7 +1027,7 @@ "@kbn/visualizations-plugin": "link:src/plugins/visualizations", "@kbn/watcher-plugin": "link:x-pack/platform/plugins/private/watcher", "@kbn/xstate-utils": "link:src/platform/packages/shared/kbn-xstate-utils", - "@kbn/zod": "link:packages/kbn-zod", + "@kbn/zod": "link:src/platform/packages/shared/kbn-zod", "@kbn/zod-helpers": "link:src/platform/packages/shared/kbn-zod-helpers", "@langchain/aws": "^0.1.2", "@langchain/community": "0.3.14", diff --git a/packages/README.md b/packages/README.md index dd6bce456d476..c23092e7c35d4 100644 --- a/packages/README.md +++ b/packages/README.md @@ -27,7 +27,7 @@ dependency and account for the relative location of the Kibana repo, so it would instead be: ``` -"@kbn/i18n": "link:../../kibana/packages/kbn-i18n" +"@kbn/i18n": "link:../../kibana/src/platform/packages/shared/kbn-i18n" ``` then run `yarn kbn bootstrap` from the plugin directory. diff --git a/packages/core/deprecations/core-deprecations-browser-internal/jest.config.js b/packages/core/deprecations/core-deprecations-browser-internal/jest.config.js deleted file mode 100644 index aac87e6e27ec2..0000000000000 --- a/packages/core/deprecations/core-deprecations-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/deprecations/core-deprecations-browser-internal'], -}; diff --git a/packages/core/deprecations/core-deprecations-browser/jest.config.js b/packages/core/deprecations/core-deprecations-browser/jest.config.js deleted file mode 100644 index 73e2ee91c6df0..0000000000000 --- a/packages/core/deprecations/core-deprecations-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/deprecations/core-deprecations-browser'], -}; diff --git a/packages/core/deprecations/core-deprecations-common/jest.config.js b/packages/core/deprecations/core-deprecations-common/jest.config.js deleted file mode 100644 index effd314a5038d..0000000000000 --- a/packages/core/deprecations/core-deprecations-common/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/deprecations/core-deprecations-common'], -}; diff --git a/packages/core/deprecations/core-deprecations-server-internal/jest.config.js b/packages/core/deprecations/core-deprecations-server-internal/jest.config.js deleted file mode 100644 index 719054c46d809..0000000000000 --- a/packages/core/deprecations/core-deprecations-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/deprecations/core-deprecations-server-internal'], -}; diff --git a/packages/core/doc-links/core-doc-links-browser-internal/jest.config.js b/packages/core/doc-links/core-doc-links-browser-internal/jest.config.js deleted file mode 100644 index c03ebfca48bf8..0000000000000 --- a/packages/core/doc-links/core-doc-links-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/doc-links/core-doc-links-browser-internal'], -}; diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/jest.config.js b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/jest.config.js deleted file mode 100644 index dfca4bfa9f2fb..0000000000000 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/elasticsearch/core-elasticsearch-client-server-internal'], -}; diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/jest.config.js b/packages/core/elasticsearch/core-elasticsearch-server-internal/jest.config.js deleted file mode 100644 index d5cd8a0002ca8..0000000000000 --- a/packages/core/elasticsearch/core-elasticsearch-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/elasticsearch/core-elasticsearch-server-internal'], -}; diff --git a/packages/core/elasticsearch/core-elasticsearch-server/jest.config.js b/packages/core/elasticsearch/core-elasticsearch-server/jest.config.js deleted file mode 100644 index 3347a82821f2c..0000000000000 --- a/packages/core/elasticsearch/core-elasticsearch-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/elasticsearch/core-elasticsearch-server'], -}; diff --git a/packages/core/environment/core-environment-server-internal/jest.config.js b/packages/core/environment/core-environment-server-internal/jest.config.js deleted file mode 100644 index 8ff5ccd66b245..0000000000000 --- a/packages/core/environment/core-environment-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/environment/core-environment-server-internal'], -}; diff --git a/packages/core/execution-context/core-execution-context-browser-internal/jest.config.js b/packages/core/execution-context/core-execution-context-browser-internal/jest.config.js deleted file mode 100644 index a122164210a9e..0000000000000 --- a/packages/core/execution-context/core-execution-context-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/execution-context/core-execution-context-browser-internal'], -}; diff --git a/packages/core/execution-context/core-execution-context-browser/jest.config.js b/packages/core/execution-context/core-execution-context-browser/jest.config.js deleted file mode 100644 index 5c1d831ecc09a..0000000000000 --- a/packages/core/execution-context/core-execution-context-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/execution-context/core-execution-context-browser'], -}; diff --git a/packages/core/execution-context/core-execution-context-common/jest.config.js b/packages/core/execution-context/core-execution-context-common/jest.config.js deleted file mode 100644 index d6ed874270cd6..0000000000000 --- a/packages/core/execution-context/core-execution-context-common/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/execution-context/core-execution-context-common'], -}; diff --git a/packages/core/execution-context/core-execution-context-server-internal/jest.config.js b/packages/core/execution-context/core-execution-context-server-internal/jest.config.js deleted file mode 100644 index 2928d02bcbed9..0000000000000 --- a/packages/core/execution-context/core-execution-context-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/execution-context/core-execution-context-server-internal'], -}; diff --git a/packages/core/execution-context/core-execution-context-server/jest.config.js b/packages/core/execution-context/core-execution-context-server/jest.config.js deleted file mode 100644 index e27f6f0158a48..0000000000000 --- a/packages/core/execution-context/core-execution-context-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/execution-context/core-execution-context-server'], -}; diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/jest.config.js b/packages/core/fatal-errors/core-fatal-errors-browser-internal/jest.config.js deleted file mode 100644 index bb1e82f044915..0000000000000 --- a/packages/core/fatal-errors/core-fatal-errors-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/fatal-errors/core-fatal-errors-browser-internal'], -}; diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/jest.config.js b/packages/core/fatal-errors/core-fatal-errors-browser/jest.config.js deleted file mode 100644 index 0148310cbf18b..0000000000000 --- a/packages/core/fatal-errors/core-fatal-errors-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/fatal-errors/core-fatal-errors-browser'], -}; diff --git a/packages/core/feature-flags/core-feature-flags-browser-internal/jest.config.js b/packages/core/feature-flags/core-feature-flags-browser-internal/jest.config.js deleted file mode 100644 index be4a9c1b14073..0000000000000 --- a/packages/core/feature-flags/core-feature-flags-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/feature-flags/core-feature-flags-browser-internal'], -}; diff --git a/packages/core/feature-flags/core-feature-flags-browser-mocks/jest.config.js b/packages/core/feature-flags/core-feature-flags-browser-mocks/jest.config.js deleted file mode 100644 index f259faecb6046..0000000000000 --- a/packages/core/feature-flags/core-feature-flags-browser-mocks/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/feature-flags/core-feature-flags-browser-mocks'], -}; diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/jest.config.js b/packages/core/feature-flags/core-feature-flags-server-internal/jest.config.js deleted file mode 100644 index 67b65d2040c54..0000000000000 --- a/packages/core/feature-flags/core-feature-flags-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/feature-flags/core-feature-flags-server-internal'], -}; diff --git a/packages/core/feature-flags/core-feature-flags-server-mocks/jest.config.js b/packages/core/feature-flags/core-feature-flags-server-mocks/jest.config.js deleted file mode 100644 index bc50c37548c95..0000000000000 --- a/packages/core/feature-flags/core-feature-flags-server-mocks/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/feature-flags/core-feature-flags-server-mocks'], -}; diff --git a/packages/core/http/core-http-request-handler-context-server-internal/jest.config.js b/packages/core/http/core-http-request-handler-context-server-internal/jest.config.js deleted file mode 100644 index 7ccfbb169f2ae..0000000000000 --- a/packages/core/http/core-http-request-handler-context-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-request-handler-context-server-internal'], -}; diff --git a/packages/core/http/core-http-request-handler-context-server/jest.config.js b/packages/core/http/core-http-request-handler-context-server/jest.config.js deleted file mode 100644 index fc1ea0974b801..0000000000000 --- a/packages/core/http/core-http-request-handler-context-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-request-handler-context-server'], -}; diff --git a/packages/core/http/core-http-resources-server-internal/jest.config.js b/packages/core/http/core-http-resources-server-internal/jest.config.js deleted file mode 100644 index 4488993c9eaff..0000000000000 --- a/packages/core/http/core-http-resources-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-resources-server-internal'], -}; diff --git a/packages/core/i18n/core-i18n-browser-internal/jest.config.js b/packages/core/i18n/core-i18n-browser-internal/jest.config.js deleted file mode 100644 index 6594f54b4a6cf..0000000000000 --- a/packages/core/i18n/core-i18n-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/i18n/core-i18n-browser-internal'], -}; diff --git a/packages/core/i18n/core-i18n-server/jest.config.js b/packages/core/i18n/core-i18n-server/jest.config.js deleted file mode 100644 index 9e0622d6f8389..0000000000000 --- a/packages/core/i18n/core-i18n-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/i18n/core-i18n-server'], -}; diff --git a/packages/core/i18n/core-i18n-server/tsconfig.json b/packages/core/i18n/core-i18n-server/tsconfig.json deleted file mode 100644 index e7513f6481e89..0000000000000 --- a/packages/core/i18n/core-i18n-server/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/jest.config.js b/packages/core/injected-metadata/core-injected-metadata-browser-internal/jest.config.js deleted file mode 100644 index df07bb9aa5f60..0000000000000 --- a/packages/core/injected-metadata/core-injected-metadata-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/injected-metadata/core-injected-metadata-browser-internal'], -}; diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/jest.config.js b/packages/core/injected-metadata/core-injected-metadata-common-internal/jest.config.js deleted file mode 100644 index 38dbe1dc8a2d6..0000000000000 --- a/packages/core/injected-metadata/core-injected-metadata-common-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/injected-metadata/core-injected-metadata-common-internal'], -}; diff --git a/packages/core/integrations/core-integrations-browser-internal/jest.config.js b/packages/core/integrations/core-integrations-browser-internal/jest.config.js deleted file mode 100644 index b63189d72c7a0..0000000000000 --- a/packages/core/integrations/core-integrations-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/integrations/core-integrations-browser-internal'], -}; diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/jest.config.js b/packages/core/lifecycle/core-lifecycle-browser-internal/jest.config.js deleted file mode 100644 index 08879ad555f4f..0000000000000 --- a/packages/core/lifecycle/core-lifecycle-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/lifecycle/core-lifecycle-browser-internal'], -}; diff --git a/packages/core/lifecycle/core-lifecycle-browser/jest.config.js b/packages/core/lifecycle/core-lifecycle-browser/jest.config.js deleted file mode 100644 index e9c3cd75591a7..0000000000000 --- a/packages/core/lifecycle/core-lifecycle-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/lifecycle/core-lifecycle-browser'], -}; diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/jest.config.js b/packages/core/lifecycle/core-lifecycle-server-internal/jest.config.js deleted file mode 100644 index 590ce4aa7a579..0000000000000 --- a/packages/core/lifecycle/core-lifecycle-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/lifecycle/core-lifecycle-server-internal'], -}; diff --git a/packages/core/lifecycle/core-lifecycle-server/jest.config.js b/packages/core/lifecycle/core-lifecycle-server/jest.config.js deleted file mode 100644 index c78af9f60faba..0000000000000 --- a/packages/core/lifecycle/core-lifecycle-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/lifecycle/core-lifecycle-server'], -}; diff --git a/packages/core/logging/core-logging-common-internal/jest.config.js b/packages/core/logging/core-logging-common-internal/jest.config.js deleted file mode 100644 index 178b1c8580aeb..0000000000000 --- a/packages/core/logging/core-logging-common-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/logging/core-logging-common-internal'], -}; diff --git a/packages/core/logging/core-logging-server-internal/jest.config.js b/packages/core/logging/core-logging-server-internal/jest.config.js deleted file mode 100644 index 69794c68e4e3f..0000000000000 --- a/packages/core/logging/core-logging-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/logging/core-logging-server-internal'], -}; diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/jest.config.js b/packages/core/metrics/core-metrics-collectors-server-internal/jest.config.js deleted file mode 100644 index 8a792577d5973..0000000000000 --- a/packages/core/metrics/core-metrics-collectors-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/metrics/core-metrics-collectors-server-internal'], -}; diff --git a/packages/core/metrics/core-metrics-server-internal/jest.config.js b/packages/core/metrics/core-metrics-server-internal/jest.config.js deleted file mode 100644 index 3d22a4031f40f..0000000000000 --- a/packages/core/metrics/core-metrics-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/metrics/core-metrics-server-internal'], -}; diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js b/packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js deleted file mode 100644 index c8177c0890c00..0000000000000 --- a/packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/mount-utils/core-mount-utils-browser-internal'], -}; diff --git a/packages/core/mount-utils/core-mount-utils-browser/jest.config.js b/packages/core/mount-utils/core-mount-utils-browser/jest.config.js deleted file mode 100644 index 155ca552f97f8..0000000000000 --- a/packages/core/mount-utils/core-mount-utils-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/mount-utils/core-mount-utils-browser'], -}; diff --git a/packages/core/node/core-node-server-internal/jest.config.js b/packages/core/node/core-node-server-internal/jest.config.js deleted file mode 100644 index 5c5ebb4acc407..0000000000000 --- a/packages/core/node/core-node-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/node/core-node-server-internal'], -}; diff --git a/packages/core/node/core-node-server/tsconfig.json b/packages/core/node/core-node-server/tsconfig.json deleted file mode 100644 index e7513f6481e89..0000000000000 --- a/packages/core/node/core-node-server/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/notifications/core-notifications-browser-internal/jest.config.js b/packages/core/notifications/core-notifications-browser-internal/jest.config.js deleted file mode 100644 index 262f30ad0dab6..0000000000000 --- a/packages/core/notifications/core-notifications-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/notifications/core-notifications-browser-internal'], -}; diff --git a/packages/core/notifications/core-notifications-browser/jest.config.js b/packages/core/notifications/core-notifications-browser/jest.config.js deleted file mode 100644 index 12636f77856c5..0000000000000 --- a/packages/core/notifications/core-notifications-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/notifications/core-notifications-browser'], -}; diff --git a/packages/core/overlays/core-overlays-browser-internal/jest.config.js b/packages/core/overlays/core-overlays-browser-internal/jest.config.js deleted file mode 100644 index 7e3863eb1df7f..0000000000000 --- a/packages/core/overlays/core-overlays-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/overlays/core-overlays-browser-internal'], -}; diff --git a/packages/core/overlays/core-overlays-browser/jest.config.js b/packages/core/overlays/core-overlays-browser/jest.config.js deleted file mode 100644 index af2bec17d7949..0000000000000 --- a/packages/core/overlays/core-overlays-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/overlays/core-overlays-browser'], -}; diff --git a/packages/core/plugins/core-plugins-base-server-internal/jest.config.js b/packages/core/plugins/core-plugins-base-server-internal/jest.config.js deleted file mode 100644 index 9fe0344b91f2e..0000000000000 --- a/packages/core/plugins/core-plugins-base-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-base-server-internal'], -}; diff --git a/packages/core/plugins/core-plugins-browser-internal/jest.config.js b/packages/core/plugins/core-plugins-browser-internal/jest.config.js deleted file mode 100644 index 27379c59cd7d6..0000000000000 --- a/packages/core/plugins/core-plugins-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-browser-internal'], -}; diff --git a/packages/core/plugins/core-plugins-contracts-browser/jest.config.js b/packages/core/plugins/core-plugins-contracts-browser/jest.config.js deleted file mode 100644 index eda5c2f762548..0000000000000 --- a/packages/core/plugins/core-plugins-contracts-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-contracts-browser'], -}; diff --git a/packages/core/plugins/core-plugins-contracts-server/jest.config.js b/packages/core/plugins/core-plugins-contracts-server/jest.config.js deleted file mode 100644 index 0a3ee38ea23d9..0000000000000 --- a/packages/core/plugins/core-plugins-contracts-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-contracts-server'], -}; diff --git a/packages/core/plugins/core-plugins-server-internal/jest.config.js b/packages/core/plugins/core-plugins-server-internal/jest.config.js deleted file mode 100644 index bb4f033b12383..0000000000000 --- a/packages/core/plugins/core-plugins-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-server-internal'], -}; diff --git a/packages/core/preboot/core-preboot-server-internal/jest.config.js b/packages/core/preboot/core-preboot-server-internal/jest.config.js deleted file mode 100644 index 3615bf647f5b6..0000000000000 --- a/packages/core/preboot/core-preboot-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/preboot/core-preboot-server-internal'], -}; diff --git a/packages/core/preboot/core-preboot-server/jest.config.js b/packages/core/preboot/core-preboot-server/jest.config.js deleted file mode 100644 index d8ad56f1ea400..0000000000000 --- a/packages/core/preboot/core-preboot-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/preboot/core-preboot-server'], -}; diff --git a/packages/core/preboot/core-preboot-server/tsconfig.json b/packages/core/preboot/core-preboot-server/tsconfig.json deleted file mode 100644 index e7513f6481e89..0000000000000 --- a/packages/core/preboot/core-preboot-server/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/rendering/core-rendering-browser-internal/jest.config.js b/packages/core/rendering/core-rendering-browser-internal/jest.config.js deleted file mode 100644 index 136cceee2f1f2..0000000000000 --- a/packages/core/rendering/core-rendering-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/rendering/core-rendering-browser-internal'], -}; diff --git a/packages/core/rendering/core-rendering-browser/jest.config.js b/packages/core/rendering/core-rendering-browser/jest.config.js deleted file mode 100644 index 13f1819553812..0000000000000 --- a/packages/core/rendering/core-rendering-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/rendering/core-rendering-browser'], -}; diff --git a/packages/core/rendering/core-rendering-server-internal/jest.config.js b/packages/core/rendering/core-rendering-server-internal/jest.config.js deleted file mode 100644 index 41a4ff4fb6b8a..0000000000000 --- a/packages/core/rendering/core-rendering-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/rendering/core-rendering-server-internal'], -}; diff --git a/packages/core/root/core-root-browser-internal/jest.config.js b/packages/core/root/core-root-browser-internal/jest.config.js deleted file mode 100644 index 354b27cceb18a..0000000000000 --- a/packages/core/root/core-root-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/root/core-root-browser-internal'], -}; diff --git a/packages/core/root/core-root-server-internal/jest.config.js b/packages/core/root/core-root-server-internal/jest.config.js deleted file mode 100644 index 3bdb94443629c..0000000000000 --- a/packages/core/root/core-root-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/root/core-root-server-internal'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/jest.config.js b/packages/core/saved-objects/core-saved-objects-api-browser/jest.config.js deleted file mode 100644 index fe9cc7e366f24..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-api-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-api-browser'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/jest.config.js b/packages/core/saved-objects/core-saved-objects-api-server-internal/jest.config.js deleted file mode 100644 index 5c1a922b47336..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-api-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-api-server-internal'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-api-server/jest.config.js b/packages/core/saved-objects/core-saved-objects-api-server/jest.config.js deleted file mode 100644 index 9851e9c771715..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-api-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-api-server'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/jest.config.js b/packages/core/saved-objects/core-saved-objects-base-server-internal/jest.config.js deleted file mode 100644 index 5fe7fa0dd07b2..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-base-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-base-server-internal'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/jest.config.js b/packages/core/saved-objects/core-saved-objects-browser-internal/jest.config.js deleted file mode 100644 index a56574b5d5db3..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-browser-internal'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-browser/jest.config.js b/packages/core/saved-objects/core-saved-objects-browser/jest.config.js deleted file mode 100644 index 65b640763e840..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-browser'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-common/jest.config.js b/packages/core/saved-objects/core-saved-objects-common/jest.config.js deleted file mode 100644 index d35aa938edac9..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-common/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-common'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-common/tsconfig.json b/packages/core/saved-objects/core-saved-objects-common/tsconfig.json deleted file mode 100644 index e7513f6481e89..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-common/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/jest.config.js b/packages/core/saved-objects/core-saved-objects-import-export-server-internal/jest.config.js deleted file mode 100644 index 7ba02dc3f6782..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-import-export-server-internal'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/jest.config.js b/packages/core/saved-objects/core-saved-objects-migration-server-internal/jest.config.js deleted file mode 100644 index aa15bbb4e44b6..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-migration-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-migration-server-internal'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/jest.config.js b/packages/core/saved-objects/core-saved-objects-server-internal/jest.config.js deleted file mode 100644 index d7700d6ed78cb..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-server-internal'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-server/jest.config.js b/packages/core/saved-objects/core-saved-objects-server/jest.config.js deleted file mode 100644 index f30d24eb5919c..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-server'], -}; diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/jest.config.js b/packages/core/saved-objects/core-saved-objects-utils-server/jest.config.js deleted file mode 100644 index a5d1cb100bda7..0000000000000 --- a/packages/core/saved-objects/core-saved-objects-utils-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-utils-server'], -}; diff --git a/packages/core/security/core-security-browser-internal/jest.config.js b/packages/core/security/core-security-browser-internal/jest.config.js deleted file mode 100644 index 50d4054f67f06..0000000000000 --- a/packages/core/security/core-security-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-browser-internal'], -}; diff --git a/packages/core/security/core-security-browser-mocks/jest.config.js b/packages/core/security/core-security-browser-mocks/jest.config.js deleted file mode 100644 index 9c1675c8e50fc..0000000000000 --- a/packages/core/security/core-security-browser-mocks/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-browser-mocks'], -}; diff --git a/packages/core/security/core-security-browser/jest.config.js b/packages/core/security/core-security-browser/jest.config.js deleted file mode 100644 index 6f79f0c76f2b7..0000000000000 --- a/packages/core/security/core-security-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-browser'], -}; diff --git a/packages/core/security/core-security-server-mocks/jest.config.js b/packages/core/security/core-security-server-mocks/jest.config.js deleted file mode 100644 index c9162f4512309..0000000000000 --- a/packages/core/security/core-security-server-mocks/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-server-mocks'], -}; diff --git a/packages/core/status/core-status-common/jest.config.js b/packages/core/status/core-status-common/jest.config.js deleted file mode 100644 index 48ce844bb7d3f..0000000000000 --- a/packages/core/status/core-status-common/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/status/core-status-common'], -}; diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/jest.config.js b/packages/core/test-helpers/core-test-helpers-deprecations-getters/jest.config.js deleted file mode 100644 index 0665db7a6eb5f..0000000000000 --- a/packages/core/test-helpers/core-test-helpers-deprecations-getters/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/test-helpers/core-test-helpers-deprecations-getters'], -}; diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/jest.config.js b/packages/core/test-helpers/core-test-helpers-http-setup-browser/jest.config.js deleted file mode 100644 index 8f09a34b560e0..0000000000000 --- a/packages/core/test-helpers/core-test-helpers-http-setup-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/test-helpers/core-test-helpers-http-setup-browser'], -}; diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/jest.config.js b/packages/core/test-helpers/core-test-helpers-so-type-serializer/jest.config.js deleted file mode 100644 index 3ecbc4098d6a0..0000000000000 --- a/packages/core/test-helpers/core-test-helpers-so-type-serializer/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/test-helpers/core-test-helpers-so-type-serializer'], -}; diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/jest.config.js b/packages/core/test-helpers/core-test-helpers-test-utils/jest.config.js deleted file mode 100644 index 49e5166902b20..0000000000000 --- a/packages/core/test-helpers/core-test-helpers-test-utils/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/test-helpers/core-test-helpers-test-utils'], -}; diff --git a/packages/core/theme/core-theme-browser/jest.config.js b/packages/core/theme/core-theme-browser/jest.config.js deleted file mode 100644 index a0fda222808ab..0000000000000 --- a/packages/core/theme/core-theme-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/theme/core-theme-browser'], -}; diff --git a/packages/core/theme/core-theme-browser/tsconfig.json b/packages/core/theme/core-theme-browser/tsconfig.json deleted file mode 100644 index e7513f6481e89..0000000000000 --- a/packages/core/theme/core-theme-browser/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts b/packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts index 3ee66109134ce..eb4269ebdc1ef 100644 --- a/packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts +++ b/packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts @@ -99,7 +99,7 @@ export interface UiSettingsParams { * Use schema options to specify limits on the value. For example: * `schema.number({ min: 0, max: 100 })` * - * More information about schema in https://github.com/elastic/kibana/blob/main/packages/kbn-config-schema/README.md + * More information about schema in https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-config-schema/README.md */ schema: Type; /** diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/jest.config.js b/packages/core/usage-data/core-usage-data-base-server-internal/jest.config.js deleted file mode 100644 index 3c324088c0a9b..0000000000000 --- a/packages/core/usage-data/core-usage-data-base-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/usage-data/core-usage-data-base-server-internal'], -}; diff --git a/packages/core/usage-data/core-usage-data-server-internal/jest.config.js b/packages/core/usage-data/core-usage-data-server-internal/jest.config.js deleted file mode 100644 index 4cf5231c9be3d..0000000000000 --- a/packages/core/usage-data/core-usage-data-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/usage-data/core-usage-data-server-internal'], -}; diff --git a/packages/core/usage-data/core-usage-data-server/jest.config.js b/packages/core/usage-data/core-usage-data-server/jest.config.js deleted file mode 100644 index 3dc7170da5e9b..0000000000000 --- a/packages/core/usage-data/core-usage-data-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/usage-data/core-usage-data-server'], -}; diff --git a/packages/core/user-profile/core-user-profile-browser-internal/jest.config.js b/packages/core/user-profile/core-user-profile-browser-internal/jest.config.js deleted file mode 100644 index f646f62e75335..0000000000000 --- a/packages/core/user-profile/core-user-profile-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-browser-internal'], -}; diff --git a/packages/core/user-profile/core-user-profile-browser-mocks/jest.config.js b/packages/core/user-profile/core-user-profile-browser-mocks/jest.config.js deleted file mode 100644 index b7b723f8f0d07..0000000000000 --- a/packages/core/user-profile/core-user-profile-browser-mocks/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-browser-mocks'], -}; diff --git a/packages/core/user-profile/core-user-profile-browser/jest.config.js b/packages/core/user-profile/core-user-profile-browser/jest.config.js deleted file mode 100644 index 4f6fadca97fd7..0000000000000 --- a/packages/core/user-profile/core-user-profile-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-browser'], -}; diff --git a/packages/core/user-profile/core-user-profile-common/jest.config.js b/packages/core/user-profile/core-user-profile-common/jest.config.js deleted file mode 100644 index 9998c354d5624..0000000000000 --- a/packages/core/user-profile/core-user-profile-common/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-common'], -}; diff --git a/packages/core/user-profile/core-user-profile-server-internal/jest.config.js b/packages/core/user-profile/core-user-profile-server-internal/jest.config.js deleted file mode 100644 index 06a9620cf8f6c..0000000000000 --- a/packages/core/user-profile/core-user-profile-server-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-server-internal'], -}; diff --git a/packages/core/user-profile/core-user-profile-server-mocks/jest.config.js b/packages/core/user-profile/core-user-profile-server-mocks/jest.config.js deleted file mode 100644 index 73e694d6867d4..0000000000000 --- a/packages/core/user-profile/core-user-profile-server-mocks/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-server-mocks'], -}; diff --git a/packages/core/user-profile/core-user-profile-server/jest.config.js b/packages/core/user-profile/core-user-profile-server/jest.config.js deleted file mode 100644 index 2d577fe6f8e11..0000000000000 --- a/packages/core/user-profile/core-user-profile-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-server'], -}; diff --git a/packages/kbn-crypto-browser/jest.config.js b/packages/kbn-crypto-browser/jest.config.js deleted file mode 100644 index 7f549d7ea1ded..0000000000000 --- a/packages/kbn-crypto-browser/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-crypto-browser'], -}; diff --git a/packages/kbn-crypto-browser/tsconfig.json b/packages/kbn-crypto-browser/tsconfig.json deleted file mode 100644 index 9bd4f35cf62a7..0000000000000 --- a/packages/kbn-crypto-browser/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-ebt-tools/jest.config.js b/packages/kbn-ebt-tools/jest.config.js deleted file mode 100644 index 0ddeecd9fdb32..0000000000000 --- a/packages/kbn-ebt-tools/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-ebt-tools'], -}; diff --git a/packages/kbn-es-errors/tsconfig.json b/packages/kbn-es-errors/tsconfig.json deleted file mode 100644 index 9bd4f35cf62a7..0000000000000 --- a/packages/kbn-es-errors/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-eslint-config/.eslintrc.js b/packages/kbn-eslint-config/.eslintrc.js index 57a116a2b9b68..f5e44037ea0a6 100644 --- a/packages/kbn-eslint-config/.eslintrc.js +++ b/packages/kbn-eslint-config/.eslintrc.js @@ -114,7 +114,7 @@ module.exports = { from: 'react-intl', to: '@kbn/i18n-react', disallowedMessage: `import from @kbn/i18n-react instead`, - exclude: [/packages[\/\\]kbn-i18n-react[\/\\]/], + exclude: [/src[\/\\]platform[\/\\]packages[\/\\]shared[\/\\]kbn-i18n-react/], }, { from: 'zod', diff --git a/packages/kbn-health-gateway-server/jest.config.js b/packages/kbn-health-gateway-server/jest.config.js deleted file mode 100644 index 25732297279b1..0000000000000 --- a/packages/kbn-health-gateway-server/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-health-gateway-server'], -}; diff --git a/packages/kbn-i18n-react/jest.config.js b/packages/kbn-i18n-react/jest.config.js deleted file mode 100644 index 4efbb8468bbc4..0000000000000 --- a/packages/kbn-i18n-react/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-i18n-react'], -}; diff --git a/packages/kbn-i18n/jest.config.js b/packages/kbn-i18n/jest.config.js deleted file mode 100644 index 7e7c5f9bd9e42..0000000000000 --- a/packages/kbn-i18n/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-i18n'], -}; diff --git a/packages/kbn-logging/jest.config.js b/packages/kbn-logging/jest.config.js deleted file mode 100644 index e4d766636d9fc..0000000000000 --- a/packages/kbn-logging/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-logging'], -}; diff --git a/packages/kbn-monaco/BUILD.bazel b/packages/kbn-monaco/BUILD.bazel index 7feda0887a4bd..e552cf0822a83 100644 --- a/packages/kbn-monaco/BUILD.bazel +++ b/packages/kbn-monaco/BUILD.bazel @@ -24,7 +24,7 @@ SRCS = glob( ) SHARED_DEPS = [ - "//packages/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n", "//src/platform/packages/shared/kbn-ui-theme", "//src/platform/packages/shared/kbn-esql-validation-autocomplete", "//src/platform/packages/shared/kbn-esql-ast", diff --git a/packages/kbn-router-to-openapispec/jest.config.js b/packages/kbn-router-to-openapispec/jest.config.js deleted file mode 100644 index 0bc574d2af5c7..0000000000000 --- a/packages/kbn-router-to-openapispec/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-router-to-openapispec'], -}; diff --git a/packages/kbn-server-http-tools/jest.config.js b/packages/kbn-server-http-tools/jest.config.js deleted file mode 100644 index ec92adf4094c6..0000000000000 --- a/packages/kbn-server-http-tools/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-server-http-tools'], -}; diff --git a/packages/kbn-std/jest.config.js b/packages/kbn-std/jest.config.js deleted file mode 100644 index e24ea37abb5c3..0000000000000 --- a/packages/kbn-std/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-std'], -}; diff --git a/packages/kbn-zod/jest.config.js b/packages/kbn-zod/jest.config.js deleted file mode 100644 index 35e719290a314..0000000000000 --- a/packages/kbn-zod/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-zod'], -}; diff --git a/src/core/CONVENTIONS.md b/src/core/CONVENTIONS.md index 67476af87b6de..160fa8acd5b1c 100644 --- a/src/core/CONVENTIONS.md +++ b/src/core/CONVENTIONS.md @@ -285,11 +285,11 @@ export class Plugin { #### Usage Collection -For creating and registering a Usage Collector. Collectors should be defined in a separate directory `server/collectors/`. You can read more about usage collectors on `src/plugins/usage_collection/README.mdx`. +For creating and registering a Usage Collector. Collectors should be defined in a separate directory `server/collectors/`. You can read more about usage collectors on `src/platform/plugins/shared/usage_collection/README.mdx`. ```ts // server/collectors/register.ts -import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; +import { UsageCollectionSetup } from 'src/platform/plugins/shared/usage_collection/server'; import { CallCluster } from 'src/legacy/core_plugins/elasticsearch'; export function registerMyPluginUsageCollector(usageCollection?: UsageCollectionSetup): void { diff --git a/src/core/packages/apps/server-internal/assets/legacy_theme.js b/src/core/packages/apps/server-internal/assets/legacy_theme.js index 4e2adcb204d5d..2ce4311a6e67f 100644 --- a/src/core/packages/apps/server-internal/assets/legacy_theme.js +++ b/src/core/packages/apps/server-internal/assets/legacy_theme.js @@ -25,7 +25,7 @@ function createInlineStyles(content) { } // must be kept in sync with -// packages/core/rendering/core-rendering-server-internal/src/views/styles.tsx +// src/core/packages/rendering/server-internal/src/views/styles.tsx var lightStyles = [ 'html { background-color: #F8FAFD; }', diff --git a/packages/core/base/core-base-common-internal/README.md b/src/core/packages/base/common-internal/README.md similarity index 100% rename from packages/core/base/core-base-common-internal/README.md rename to src/core/packages/base/common-internal/README.md diff --git a/packages/core/base/core-base-common-internal/index.ts b/src/core/packages/base/common-internal/index.ts similarity index 100% rename from packages/core/base/core-base-common-internal/index.ts rename to src/core/packages/base/common-internal/index.ts diff --git a/src/core/packages/base/common-internal/jest.config.js b/src/core/packages/base/common-internal/jest.config.js new file mode 100644 index 0000000000000..a941ae715bdc7 --- /dev/null +++ b/src/core/packages/base/common-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/base/common-internal'], +}; diff --git a/packages/core/base/core-base-common-internal/kibana.jsonc b/src/core/packages/base/common-internal/kibana.jsonc similarity index 100% rename from packages/core/base/core-base-common-internal/kibana.jsonc rename to src/core/packages/base/common-internal/kibana.jsonc diff --git a/packages/core/base/core-base-common-internal/package.json b/src/core/packages/base/common-internal/package.json similarity index 100% rename from packages/core/base/core-base-common-internal/package.json rename to src/core/packages/base/common-internal/package.json diff --git a/packages/core/base/core-base-common-internal/src/core.ts b/src/core/packages/base/common-internal/src/core.ts similarity index 100% rename from packages/core/base/core-base-common-internal/src/core.ts rename to src/core/packages/base/common-internal/src/core.ts diff --git a/packages/core/base/core-base-common-internal/tsconfig.json b/src/core/packages/base/common-internal/tsconfig.json similarity index 79% rename from packages/core/base/core-base-common-internal/tsconfig.json rename to src/core/packages/base/common-internal/tsconfig.json index 0f16c2b9311d8..14019fa2b02b7 100644 --- a/packages/core/base/core-base-common-internal/tsconfig.json +++ b/src/core/packages/base/common-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/base/core-base-server-internal/README.md b/src/core/packages/base/server-internal/README.md similarity index 100% rename from packages/core/base/core-base-server-internal/README.md rename to src/core/packages/base/server-internal/README.md diff --git a/packages/core/base/core-base-server-internal/index.ts b/src/core/packages/base/server-internal/index.ts similarity index 100% rename from packages/core/base/core-base-server-internal/index.ts rename to src/core/packages/base/server-internal/index.ts diff --git a/packages/core/http/core-http-server-utils/jest.config.js b/src/core/packages/base/server-internal/jest.config.js similarity index 85% rename from packages/core/http/core-http-server-utils/jest.config.js rename to src/core/packages/base/server-internal/jest.config.js index eff6f9ba0e4c6..ca22374b8703c 100644 --- a/packages/core/http/core-http-server-utils/jest.config.js +++ b/src/core/packages/base/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-server-utils'], + rootDir: '../../../../..', + roots: ['/src/core/packages/base/server-internal'], }; diff --git a/packages/core/base/core-base-server-internal/kibana.jsonc b/src/core/packages/base/server-internal/kibana.jsonc similarity index 100% rename from packages/core/base/core-base-server-internal/kibana.jsonc rename to src/core/packages/base/server-internal/kibana.jsonc diff --git a/packages/core/base/core-base-server-internal/package.json b/src/core/packages/base/server-internal/package.json similarity index 100% rename from packages/core/base/core-base-server-internal/package.json rename to src/core/packages/base/server-internal/package.json diff --git a/packages/core/base/core-base-server-internal/src/config.ts b/src/core/packages/base/server-internal/src/config.ts similarity index 100% rename from packages/core/base/core-base-server-internal/src/config.ts rename to src/core/packages/base/server-internal/src/config.ts diff --git a/packages/core/base/core-base-server-internal/src/core_context.ts b/src/core/packages/base/server-internal/src/core_context.ts similarity index 100% rename from packages/core/base/core-base-server-internal/src/core_context.ts rename to src/core/packages/base/server-internal/src/core_context.ts diff --git a/packages/core/base/core-base-server-internal/src/errors.ts b/src/core/packages/base/server-internal/src/errors.ts similarity index 100% rename from packages/core/base/core-base-server-internal/src/errors.ts rename to src/core/packages/base/server-internal/src/errors.ts diff --git a/packages/core/base/core-base-server-internal/src/regexp.ts b/src/core/packages/base/server-internal/src/regexp.ts similarity index 100% rename from packages/core/base/core-base-server-internal/src/regexp.ts rename to src/core/packages/base/server-internal/src/regexp.ts diff --git a/packages/core/base/core-base-server-internal/src/services.ts b/src/core/packages/base/server-internal/src/services.ts similarity index 100% rename from packages/core/base/core-base-server-internal/src/services.ts rename to src/core/packages/base/server-internal/src/services.ts diff --git a/packages/core/base/core-base-server-internal/tsconfig.json b/src/core/packages/base/server-internal/tsconfig.json similarity index 87% rename from packages/core/base/core-base-server-internal/tsconfig.json rename to src/core/packages/base/server-internal/tsconfig.json index fa2b8ec8c8cb1..0ff3702d0a6dd 100644 --- a/packages/core/base/core-base-server-internal/tsconfig.json +++ b/src/core/packages/base/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/capabilities/core-capabilities-browser-internal/README.md b/src/core/packages/capabilities/browser-internal/README.md similarity index 100% rename from packages/core/capabilities/core-capabilities-browser-internal/README.md rename to src/core/packages/capabilities/browser-internal/README.md diff --git a/packages/core/capabilities/core-capabilities-browser-internal/index.ts b/src/core/packages/capabilities/browser-internal/index.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-browser-internal/index.ts rename to src/core/packages/capabilities/browser-internal/index.ts diff --git a/packages/core/theme/core-theme-browser-internal/jest.config.js b/src/core/packages/capabilities/browser-internal/jest.config.js similarity index 84% rename from packages/core/theme/core-theme-browser-internal/jest.config.js rename to src/core/packages/capabilities/browser-internal/jest.config.js index 8715f3b531934..4c9c93f190143 100644 --- a/packages/core/theme/core-theme-browser-internal/jest.config.js +++ b/src/core/packages/capabilities/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/theme/core-theme-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/capabilities/browser-internal'], }; diff --git a/packages/core/capabilities/core-capabilities-browser-internal/kibana.jsonc b/src/core/packages/capabilities/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/capabilities/core-capabilities-browser-internal/kibana.jsonc rename to src/core/packages/capabilities/browser-internal/kibana.jsonc diff --git a/packages/core/capabilities/core-capabilities-browser-internal/package.json b/src/core/packages/capabilities/browser-internal/package.json similarity index 100% rename from packages/core/capabilities/core-capabilities-browser-internal/package.json rename to src/core/packages/capabilities/browser-internal/package.json diff --git a/packages/core/capabilities/core-capabilities-browser-internal/src/capabilities_service.test.ts b/src/core/packages/capabilities/browser-internal/src/capabilities_service.test.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-browser-internal/src/capabilities_service.test.ts rename to src/core/packages/capabilities/browser-internal/src/capabilities_service.test.ts diff --git a/packages/core/capabilities/core-capabilities-browser-internal/src/capabilities_service.tsx b/src/core/packages/capabilities/browser-internal/src/capabilities_service.tsx similarity index 100% rename from packages/core/capabilities/core-capabilities-browser-internal/src/capabilities_service.tsx rename to src/core/packages/capabilities/browser-internal/src/capabilities_service.tsx diff --git a/packages/core/capabilities/core-capabilities-browser-internal/tsconfig.json b/src/core/packages/capabilities/browser-internal/tsconfig.json similarity index 88% rename from packages/core/capabilities/core-capabilities-browser-internal/tsconfig.json rename to src/core/packages/capabilities/browser-internal/tsconfig.json index ca9379c024865..e63caab76c3df 100644 --- a/packages/core/capabilities/core-capabilities-browser-internal/tsconfig.json +++ b/src/core/packages/capabilities/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/capabilities/core-capabilities-common/README.md b/src/core/packages/capabilities/common/README.md similarity index 100% rename from packages/core/capabilities/core-capabilities-common/README.md rename to src/core/packages/capabilities/common/README.md diff --git a/packages/core/capabilities/core-capabilities-common/index.ts b/src/core/packages/capabilities/common/index.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-common/index.ts rename to src/core/packages/capabilities/common/index.ts diff --git a/src/core/packages/capabilities/common/jest.config.js b/src/core/packages/capabilities/common/jest.config.js new file mode 100644 index 0000000000000..0886a4b99521c --- /dev/null +++ b/src/core/packages/capabilities/common/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/capabilities/common'], +}; diff --git a/packages/core/capabilities/core-capabilities-common/kibana.jsonc b/src/core/packages/capabilities/common/kibana.jsonc similarity index 100% rename from packages/core/capabilities/core-capabilities-common/kibana.jsonc rename to src/core/packages/capabilities/common/kibana.jsonc diff --git a/packages/core/capabilities/core-capabilities-common/package.json b/src/core/packages/capabilities/common/package.json similarity index 100% rename from packages/core/capabilities/core-capabilities-common/package.json rename to src/core/packages/capabilities/common/package.json diff --git a/packages/core/capabilities/core-capabilities-common/src/capabilities.ts b/src/core/packages/capabilities/common/src/capabilities.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-common/src/capabilities.ts rename to src/core/packages/capabilities/common/src/capabilities.ts diff --git a/packages/core/http/core-http-common/tsconfig.json b/src/core/packages/capabilities/common/tsconfig.json similarity index 78% rename from packages/core/http/core-http-common/tsconfig.json rename to src/core/packages/capabilities/common/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/http/core-http-common/tsconfig.json +++ b/src/core/packages/capabilities/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/capabilities/core-capabilities-server-internal/README.md b/src/core/packages/capabilities/server-internal/README.md similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/README.md rename to src/core/packages/capabilities/server-internal/README.md diff --git a/packages/core/capabilities/core-capabilities-server-internal/index.ts b/src/core/packages/capabilities/server-internal/index.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/index.ts rename to src/core/packages/capabilities/server-internal/index.ts diff --git a/src/core/packages/capabilities/server-internal/jest.config.js b/src/core/packages/capabilities/server-internal/jest.config.js new file mode 100644 index 0000000000000..3fb4df2f05648 --- /dev/null +++ b/src/core/packages/capabilities/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/capabilities/server-internal'], +}; diff --git a/packages/core/capabilities/core-capabilities-server-internal/kibana.jsonc b/src/core/packages/capabilities/server-internal/kibana.jsonc similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/kibana.jsonc rename to src/core/packages/capabilities/server-internal/kibana.jsonc diff --git a/packages/core/capabilities/core-capabilities-server-internal/package.json b/src/core/packages/capabilities/server-internal/package.json similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/package.json rename to src/core/packages/capabilities/server-internal/package.json diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/capabilities_service.test.ts b/src/core/packages/capabilities/server-internal/src/capabilities_service.test.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/capabilities_service.test.ts rename to src/core/packages/capabilities/server-internal/src/capabilities_service.test.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/capabilities_service.ts b/src/core/packages/capabilities/server-internal/src/capabilities_service.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/capabilities_service.ts rename to src/core/packages/capabilities/server-internal/src/capabilities_service.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/merge_capabilities.test.ts b/src/core/packages/capabilities/server-internal/src/merge_capabilities.test.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/merge_capabilities.test.ts rename to src/core/packages/capabilities/server-internal/src/merge_capabilities.test.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/merge_capabilities.ts b/src/core/packages/capabilities/server-internal/src/merge_capabilities.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/merge_capabilities.ts rename to src/core/packages/capabilities/server-internal/src/merge_capabilities.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/resolve_capabilities.test.mocks.ts b/src/core/packages/capabilities/server-internal/src/resolve_capabilities.test.mocks.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/resolve_capabilities.test.mocks.ts rename to src/core/packages/capabilities/server-internal/src/resolve_capabilities.test.mocks.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/resolve_capabilities.test.ts b/src/core/packages/capabilities/server-internal/src/resolve_capabilities.test.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/resolve_capabilities.test.ts rename to src/core/packages/capabilities/server-internal/src/resolve_capabilities.test.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/resolve_capabilities.ts b/src/core/packages/capabilities/server-internal/src/resolve_capabilities.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/resolve_capabilities.ts rename to src/core/packages/capabilities/server-internal/src/resolve_capabilities.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/resolve_helpers.test.ts b/src/core/packages/capabilities/server-internal/src/resolve_helpers.test.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/resolve_helpers.test.ts rename to src/core/packages/capabilities/server-internal/src/resolve_helpers.test.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/resolve_helpers.ts b/src/core/packages/capabilities/server-internal/src/resolve_helpers.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/resolve_helpers.ts rename to src/core/packages/capabilities/server-internal/src/resolve_helpers.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/routes/index.ts b/src/core/packages/capabilities/server-internal/src/routes/index.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/routes/index.ts rename to src/core/packages/capabilities/server-internal/src/routes/index.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/routes/resolve_capabilities.ts b/src/core/packages/capabilities/server-internal/src/routes/resolve_capabilities.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/routes/resolve_capabilities.ts rename to src/core/packages/capabilities/server-internal/src/routes/resolve_capabilities.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/src/types.ts b/src/core/packages/capabilities/server-internal/src/types.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server-internal/src/types.ts rename to src/core/packages/capabilities/server-internal/src/types.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/tsconfig.json b/src/core/packages/capabilities/server-internal/tsconfig.json similarity index 91% rename from packages/core/capabilities/core-capabilities-server-internal/tsconfig.json rename to src/core/packages/capabilities/server-internal/tsconfig.json index 64ee048df3913..9a703cb19a961 100644 --- a/packages/core/capabilities/core-capabilities-server-internal/tsconfig.json +++ b/src/core/packages/capabilities/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/capabilities/core-capabilities-server/README.md b/src/core/packages/capabilities/server/README.md similarity index 100% rename from packages/core/capabilities/core-capabilities-server/README.md rename to src/core/packages/capabilities/server/README.md diff --git a/packages/core/capabilities/core-capabilities-server/index.ts b/src/core/packages/capabilities/server/index.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server/index.ts rename to src/core/packages/capabilities/server/index.ts diff --git a/packages/core/status/core-status-server/jest.config.js b/src/core/packages/capabilities/server/jest.config.js similarity index 85% rename from packages/core/status/core-status-server/jest.config.js rename to src/core/packages/capabilities/server/jest.config.js index 35c6f76da67d4..0f78f632e54b2 100644 --- a/packages/core/status/core-status-server/jest.config.js +++ b/src/core/packages/capabilities/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/status/core-status-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/capabilities/server'], }; diff --git a/packages/core/capabilities/core-capabilities-server/kibana.jsonc b/src/core/packages/capabilities/server/kibana.jsonc similarity index 100% rename from packages/core/capabilities/core-capabilities-server/kibana.jsonc rename to src/core/packages/capabilities/server/kibana.jsonc diff --git a/packages/core/capabilities/core-capabilities-server/package.json b/src/core/packages/capabilities/server/package.json similarity index 100% rename from packages/core/capabilities/core-capabilities-server/package.json rename to src/core/packages/capabilities/server/package.json diff --git a/packages/core/capabilities/core-capabilities-server/src/capabilities.ts b/src/core/packages/capabilities/server/src/capabilities.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server/src/capabilities.ts rename to src/core/packages/capabilities/server/src/capabilities.ts diff --git a/packages/core/capabilities/core-capabilities-server/src/contracts.ts b/src/core/packages/capabilities/server/src/contracts.ts similarity index 100% rename from packages/core/capabilities/core-capabilities-server/src/contracts.ts rename to src/core/packages/capabilities/server/src/contracts.ts diff --git a/packages/core/capabilities/core-capabilities-server/tsconfig.json b/src/core/packages/capabilities/server/tsconfig.json similarity index 85% rename from packages/core/capabilities/core-capabilities-server/tsconfig.json rename to src/core/packages/capabilities/server/tsconfig.json index 1bb52580bb4df..7f5d1a38e36ea 100644 --- a/packages/core/capabilities/core-capabilities-server/tsconfig.json +++ b/src/core/packages/capabilities/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/config/core-config-server-internal/README.md b/src/core/packages/config/server-internal/README.md similarity index 100% rename from packages/core/config/core-config-server-internal/README.md rename to src/core/packages/config/server-internal/README.md diff --git a/packages/core/config/core-config-server-internal/index.ts b/src/core/packages/config/server-internal/index.ts similarity index 100% rename from packages/core/config/core-config-server-internal/index.ts rename to src/core/packages/config/server-internal/index.ts diff --git a/src/core/packages/config/server-internal/jest.config.js b/src/core/packages/config/server-internal/jest.config.js new file mode 100644 index 0000000000000..20d13dd912c31 --- /dev/null +++ b/src/core/packages/config/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/config/server-internal'], +}; diff --git a/packages/core/config/core-config-server-internal/kibana.jsonc b/src/core/packages/config/server-internal/kibana.jsonc similarity index 100% rename from packages/core/config/core-config-server-internal/kibana.jsonc rename to src/core/packages/config/server-internal/kibana.jsonc diff --git a/packages/core/config/core-config-server-internal/package.json b/src/core/packages/config/server-internal/package.json similarity index 100% rename from packages/core/config/core-config-server-internal/package.json rename to src/core/packages/config/server-internal/package.json diff --git a/packages/core/config/core-config-server-internal/src/deprecation/core_deprecations.test.ts b/src/core/packages/config/server-internal/src/deprecation/core_deprecations.test.ts similarity index 100% rename from packages/core/config/core-config-server-internal/src/deprecation/core_deprecations.test.ts rename to src/core/packages/config/server-internal/src/deprecation/core_deprecations.test.ts diff --git a/packages/core/config/core-config-server-internal/src/deprecation/core_deprecations.ts b/src/core/packages/config/server-internal/src/deprecation/core_deprecations.ts similarity index 100% rename from packages/core/config/core-config-server-internal/src/deprecation/core_deprecations.ts rename to src/core/packages/config/server-internal/src/deprecation/core_deprecations.ts diff --git a/packages/core/config/core-config-server-internal/src/deprecation/index.ts b/src/core/packages/config/server-internal/src/deprecation/index.ts similarity index 100% rename from packages/core/config/core-config-server-internal/src/deprecation/index.ts rename to src/core/packages/config/server-internal/src/deprecation/index.ts diff --git a/packages/core/config/core-config-server-internal/src/ensure_valid_configuration.test.ts b/src/core/packages/config/server-internal/src/ensure_valid_configuration.test.ts similarity index 100% rename from packages/core/config/core-config-server-internal/src/ensure_valid_configuration.test.ts rename to src/core/packages/config/server-internal/src/ensure_valid_configuration.test.ts diff --git a/packages/core/config/core-config-server-internal/src/ensure_valid_configuration.ts b/src/core/packages/config/server-internal/src/ensure_valid_configuration.ts similarity index 100% rename from packages/core/config/core-config-server-internal/src/ensure_valid_configuration.ts rename to src/core/packages/config/server-internal/src/ensure_valid_configuration.ts diff --git a/packages/core/config/core-config-server-internal/tsconfig.json b/src/core/packages/config/server-internal/tsconfig.json similarity index 87% rename from packages/core/config/core-config-server-internal/tsconfig.json rename to src/core/packages/config/server-internal/tsconfig.json index 23a51196a73c3..376b5b1921bd8 100644 --- a/packages/core/config/core-config-server-internal/tsconfig.json +++ b/src/core/packages/config/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/deprecations/core-deprecations-browser-internal/README.md b/src/core/packages/deprecations/browser-internal/README.md similarity index 100% rename from packages/core/deprecations/core-deprecations-browser-internal/README.md rename to src/core/packages/deprecations/browser-internal/README.md diff --git a/packages/core/deprecations/core-deprecations-browser-internal/index.ts b/src/core/packages/deprecations/browser-internal/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-browser-internal/index.ts rename to src/core/packages/deprecations/browser-internal/index.ts diff --git a/src/core/packages/deprecations/browser-internal/jest.config.js b/src/core/packages/deprecations/browser-internal/jest.config.js new file mode 100644 index 0000000000000..42d0a7945ee1c --- /dev/null +++ b/src/core/packages/deprecations/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/deprecations/browser-internal'], +}; diff --git a/packages/core/deprecations/core-deprecations-browser-internal/kibana.jsonc b/src/core/packages/deprecations/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/deprecations/core-deprecations-browser-internal/kibana.jsonc rename to src/core/packages/deprecations/browser-internal/kibana.jsonc diff --git a/packages/core/deprecations/core-deprecations-browser-internal/package.json b/src/core/packages/deprecations/browser-internal/package.json similarity index 100% rename from packages/core/deprecations/core-deprecations-browser-internal/package.json rename to src/core/packages/deprecations/browser-internal/package.json diff --git a/packages/core/deprecations/core-deprecations-browser-internal/src/deprecations_client.test.ts b/src/core/packages/deprecations/browser-internal/src/deprecations_client.test.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-browser-internal/src/deprecations_client.test.ts rename to src/core/packages/deprecations/browser-internal/src/deprecations_client.test.ts diff --git a/packages/core/deprecations/core-deprecations-browser-internal/src/deprecations_client.ts b/src/core/packages/deprecations/browser-internal/src/deprecations_client.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-browser-internal/src/deprecations_client.ts rename to src/core/packages/deprecations/browser-internal/src/deprecations_client.ts diff --git a/packages/core/deprecations/core-deprecations-browser-internal/src/deprecations_service.ts b/src/core/packages/deprecations/browser-internal/src/deprecations_service.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-browser-internal/src/deprecations_service.ts rename to src/core/packages/deprecations/browser-internal/src/deprecations_service.ts diff --git a/packages/core/deprecations/core-deprecations-browser-internal/tsconfig.json b/src/core/packages/deprecations/browser-internal/tsconfig.json similarity index 89% rename from packages/core/deprecations/core-deprecations-browser-internal/tsconfig.json rename to src/core/packages/deprecations/browser-internal/tsconfig.json index 38fda3fdccf44..ff53174998dd1 100644 --- a/packages/core/deprecations/core-deprecations-browser-internal/tsconfig.json +++ b/src/core/packages/deprecations/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/deprecations/core-deprecations-browser/README.md b/src/core/packages/deprecations/browser/README.md similarity index 100% rename from packages/core/deprecations/core-deprecations-browser/README.md rename to src/core/packages/deprecations/browser/README.md diff --git a/packages/core/deprecations/core-deprecations-browser/index.ts b/src/core/packages/deprecations/browser/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-browser/index.ts rename to src/core/packages/deprecations/browser/index.ts diff --git a/src/core/packages/deprecations/browser/jest.config.js b/src/core/packages/deprecations/browser/jest.config.js new file mode 100644 index 0000000000000..b638fa237f12d --- /dev/null +++ b/src/core/packages/deprecations/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/deprecations/browser'], +}; diff --git a/packages/core/deprecations/core-deprecations-browser/kibana.jsonc b/src/core/packages/deprecations/browser/kibana.jsonc similarity index 100% rename from packages/core/deprecations/core-deprecations-browser/kibana.jsonc rename to src/core/packages/deprecations/browser/kibana.jsonc diff --git a/packages/core/deprecations/core-deprecations-browser/package.json b/src/core/packages/deprecations/browser/package.json similarity index 100% rename from packages/core/deprecations/core-deprecations-browser/package.json rename to src/core/packages/deprecations/browser/package.json diff --git a/packages/core/deprecations/core-deprecations-browser/src/contracts.ts b/src/core/packages/deprecations/browser/src/contracts.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-browser/src/contracts.ts rename to src/core/packages/deprecations/browser/src/contracts.ts diff --git a/packages/core/deprecations/core-deprecations-browser/src/types.ts b/src/core/packages/deprecations/browser/src/types.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-browser/src/types.ts rename to src/core/packages/deprecations/browser/src/types.ts diff --git a/packages/core/deprecations/core-deprecations-browser/tsconfig.json b/src/core/packages/deprecations/browser/tsconfig.json similarity index 83% rename from packages/core/deprecations/core-deprecations-browser/tsconfig.json rename to src/core/packages/deprecations/browser/tsconfig.json index 60c79345dd69f..c8397200c1fe5 100644 --- a/packages/core/deprecations/core-deprecations-browser/tsconfig.json +++ b/src/core/packages/deprecations/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/deprecations/core-deprecations-common/README.md b/src/core/packages/deprecations/common/README.md similarity index 100% rename from packages/core/deprecations/core-deprecations-common/README.md rename to src/core/packages/deprecations/common/README.md diff --git a/packages/core/deprecations/core-deprecations-common/index.ts b/src/core/packages/deprecations/common/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-common/index.ts rename to src/core/packages/deprecations/common/index.ts diff --git a/src/core/packages/deprecations/common/jest.config.js b/src/core/packages/deprecations/common/jest.config.js new file mode 100644 index 0000000000000..d89919f593f09 --- /dev/null +++ b/src/core/packages/deprecations/common/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/deprecations/common'], +}; diff --git a/packages/core/deprecations/core-deprecations-common/kibana.jsonc b/src/core/packages/deprecations/common/kibana.jsonc similarity index 100% rename from packages/core/deprecations/core-deprecations-common/kibana.jsonc rename to src/core/packages/deprecations/common/kibana.jsonc diff --git a/packages/core/deprecations/core-deprecations-common/package.json b/src/core/packages/deprecations/common/package.json similarity index 100% rename from packages/core/deprecations/core-deprecations-common/package.json rename to src/core/packages/deprecations/common/package.json diff --git a/packages/core/deprecations/core-deprecations-common/src/types.ts b/src/core/packages/deprecations/common/src/types.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-common/src/types.ts rename to src/core/packages/deprecations/common/src/types.ts diff --git a/packages/core/deprecations/core-deprecations-common/tsconfig.json b/src/core/packages/deprecations/common/tsconfig.json similarity index 78% rename from packages/core/deprecations/core-deprecations-common/tsconfig.json rename to src/core/packages/deprecations/common/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/deprecations/core-deprecations-common/tsconfig.json +++ b/src/core/packages/deprecations/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/deprecations/core-deprecations-server-internal/README.md b/src/core/packages/deprecations/server-internal/README.md similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/README.md rename to src/core/packages/deprecations/server-internal/README.md diff --git a/packages/core/deprecations/core-deprecations-server-internal/index.ts b/src/core/packages/deprecations/server-internal/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/index.ts rename to src/core/packages/deprecations/server-internal/index.ts diff --git a/src/core/packages/deprecations/server-internal/jest.config.js b/src/core/packages/deprecations/server-internal/jest.config.js new file mode 100644 index 0000000000000..486cc647a0f7a --- /dev/null +++ b/src/core/packages/deprecations/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/deprecations/server-internal'], +}; diff --git a/packages/core/deprecations/core-deprecations-server-internal/kibana.jsonc b/src/core/packages/deprecations/server-internal/kibana.jsonc similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/kibana.jsonc rename to src/core/packages/deprecations/server-internal/kibana.jsonc diff --git a/packages/core/deprecations/core-deprecations-server-internal/package.json b/src/core/packages/deprecations/server-internal/package.json similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/package.json rename to src/core/packages/deprecations/server-internal/package.json diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecation_config.ts b/src/core/packages/deprecations/server-internal/src/deprecation_config.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecation_config.ts rename to src/core/packages/deprecations/server-internal/src/deprecation_config.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/access/access_deprecations.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/access/access_deprecations.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/access/access_deprecations.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/access/access_deprecations.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/access/i18n_texts.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/access/i18n_texts.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/access/i18n_texts.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/access/i18n_texts.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/access/index.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/access/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/access/index.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/access/index.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/api_deprecation_id.test.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/api_deprecation_id.test.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/api_deprecation_id.test.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/api_deprecation_id.test.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/api_deprecation_id.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/api_deprecation_id.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/api_deprecation_id.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/api_deprecation_id.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/index.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/index.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/index.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/register_api_depercation_info.test.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/register_api_depercation_info.test.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/register_api_depercation_info.test.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/register_api_depercation_info.test.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/register_api_depercation_info.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/register_api_depercation_info.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/register_api_depercation_info.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/register_api_depercation_info.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/route/i18n_texts.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/route/i18n_texts.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/route/i18n_texts.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/route/i18n_texts.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/route/index.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/route/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/route/index.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/route/index.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/route/route_deprecations.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/route/route_deprecations.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/route/route_deprecations.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/route/route_deprecations.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/types.ts b/src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/types.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/api_deprecations/types.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/api_deprecations/types.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/config_deprecations.test.ts b/src/core/packages/deprecations/server-internal/src/deprecations/config_deprecations.test.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/config_deprecations.test.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/config_deprecations.test.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/config_deprecations.ts b/src/core/packages/deprecations/server-internal/src/deprecations/config_deprecations.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/config_deprecations.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/config_deprecations.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations/index.ts b/src/core/packages/deprecations/server-internal/src/deprecations/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations/index.ts rename to src/core/packages/deprecations/server-internal/src/deprecations/index.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations_factory.test.ts b/src/core/packages/deprecations/server-internal/src/deprecations_factory.test.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations_factory.test.ts rename to src/core/packages/deprecations/server-internal/src/deprecations_factory.test.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations_factory.ts b/src/core/packages/deprecations/server-internal/src/deprecations_factory.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations_factory.ts rename to src/core/packages/deprecations/server-internal/src/deprecations_factory.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations_registry.test.ts b/src/core/packages/deprecations/server-internal/src/deprecations_registry.test.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations_registry.test.ts rename to src/core/packages/deprecations/server-internal/src/deprecations_registry.test.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations_registry.ts b/src/core/packages/deprecations/server-internal/src/deprecations_registry.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations_registry.ts rename to src/core/packages/deprecations/server-internal/src/deprecations_registry.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations_route_handler_context.ts b/src/core/packages/deprecations/server-internal/src/deprecations_route_handler_context.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations_route_handler_context.ts rename to src/core/packages/deprecations/server-internal/src/deprecations_route_handler_context.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.test.mocks.ts b/src/core/packages/deprecations/server-internal/src/deprecations_service.test.mocks.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.test.mocks.ts rename to src/core/packages/deprecations/server-internal/src/deprecations_service.test.mocks.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.test.ts b/src/core/packages/deprecations/server-internal/src/deprecations_service.test.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.test.ts rename to src/core/packages/deprecations/server-internal/src/deprecations_service.test.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.ts b/src/core/packages/deprecations/server-internal/src/deprecations_service.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.ts rename to src/core/packages/deprecations/server-internal/src/deprecations_service.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/index.ts b/src/core/packages/deprecations/server-internal/src/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/index.ts rename to src/core/packages/deprecations/server-internal/src/index.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/internal_types.ts b/src/core/packages/deprecations/server-internal/src/internal_types.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/internal_types.ts rename to src/core/packages/deprecations/server-internal/src/internal_types.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/mocks/deprecations_factory.mock.ts b/src/core/packages/deprecations/server-internal/src/mocks/deprecations_factory.mock.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/mocks/deprecations_factory.mock.ts rename to src/core/packages/deprecations/server-internal/src/mocks/deprecations_factory.mock.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/mocks/deprecations_registry.mock.ts b/src/core/packages/deprecations/server-internal/src/mocks/deprecations_registry.mock.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/mocks/deprecations_registry.mock.ts rename to src/core/packages/deprecations/server-internal/src/mocks/deprecations_registry.mock.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/mocks/index.ts b/src/core/packages/deprecations/server-internal/src/mocks/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/mocks/index.ts rename to src/core/packages/deprecations/server-internal/src/mocks/index.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/routes/get.ts b/src/core/packages/deprecations/server-internal/src/routes/get.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/routes/get.ts rename to src/core/packages/deprecations/server-internal/src/routes/get.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/routes/index.ts b/src/core/packages/deprecations/server-internal/src/routes/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/routes/index.ts rename to src/core/packages/deprecations/server-internal/src/routes/index.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/routes/post_validation_handler.ts b/src/core/packages/deprecations/server-internal/src/routes/post_validation_handler.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/routes/post_validation_handler.ts rename to src/core/packages/deprecations/server-internal/src/routes/post_validation_handler.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/src/routes/resolve_deprecated_api.ts b/src/core/packages/deprecations/server-internal/src/routes/resolve_deprecated_api.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server-internal/src/routes/resolve_deprecated_api.ts rename to src/core/packages/deprecations/server-internal/src/routes/resolve_deprecated_api.ts diff --git a/packages/core/deprecations/core-deprecations-server-internal/tsconfig.json b/src/core/packages/deprecations/server-internal/tsconfig.json similarity index 95% rename from packages/core/deprecations/core-deprecations-server-internal/tsconfig.json rename to src/core/packages/deprecations/server-internal/tsconfig.json index 02be6b7cb8198..2d78f90659d3a 100644 --- a/packages/core/deprecations/core-deprecations-server-internal/tsconfig.json +++ b/src/core/packages/deprecations/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/deprecations/core-deprecations-server/README.md b/src/core/packages/deprecations/server/README.md similarity index 100% rename from packages/core/deprecations/core-deprecations-server/README.md rename to src/core/packages/deprecations/server/README.md diff --git a/packages/core/deprecations/core-deprecations-server/index.ts b/src/core/packages/deprecations/server/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server/index.ts rename to src/core/packages/deprecations/server/index.ts diff --git a/src/core/packages/deprecations/server/jest.config.js b/src/core/packages/deprecations/server/jest.config.js new file mode 100644 index 0000000000000..9f8c0835582ef --- /dev/null +++ b/src/core/packages/deprecations/server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/deprecations/server'], +}; diff --git a/packages/core/deprecations/core-deprecations-server/kibana.jsonc b/src/core/packages/deprecations/server/kibana.jsonc similarity index 100% rename from packages/core/deprecations/core-deprecations-server/kibana.jsonc rename to src/core/packages/deprecations/server/kibana.jsonc diff --git a/packages/core/deprecations/core-deprecations-server/package.json b/src/core/packages/deprecations/server/package.json similarity index 100% rename from packages/core/deprecations/core-deprecations-server/package.json rename to src/core/packages/deprecations/server/package.json diff --git a/packages/core/deprecations/core-deprecations-server/src/contracts.ts b/src/core/packages/deprecations/server/src/contracts.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server/src/contracts.ts rename to src/core/packages/deprecations/server/src/contracts.ts diff --git a/packages/core/deprecations/core-deprecations-server/src/index.ts b/src/core/packages/deprecations/server/src/index.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server/src/index.ts rename to src/core/packages/deprecations/server/src/index.ts diff --git a/packages/core/deprecations/core-deprecations-server/src/request_handler_context.ts b/src/core/packages/deprecations/server/src/request_handler_context.ts similarity index 100% rename from packages/core/deprecations/core-deprecations-server/src/request_handler_context.ts rename to src/core/packages/deprecations/server/src/request_handler_context.ts diff --git a/packages/core/deprecations/core-deprecations-server/tsconfig.json b/src/core/packages/deprecations/server/tsconfig.json similarity index 88% rename from packages/core/deprecations/core-deprecations-server/tsconfig.json rename to src/core/packages/deprecations/server/tsconfig.json index 0179bace38bed..c111eac596ce6 100644 --- a/packages/core/deprecations/core-deprecations-server/tsconfig.json +++ b/src/core/packages/deprecations/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/doc-links/core-doc-links-browser-internal/README.md b/src/core/packages/doc-links/browser-internal/README.md similarity index 100% rename from packages/core/doc-links/core-doc-links-browser-internal/README.md rename to src/core/packages/doc-links/browser-internal/README.md diff --git a/packages/core/doc-links/core-doc-links-browser-internal/index.ts b/src/core/packages/doc-links/browser-internal/index.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-browser-internal/index.ts rename to src/core/packages/doc-links/browser-internal/index.ts diff --git a/packages/core/base/core-base-common-internal/jest.config.js b/src/core/packages/doc-links/browser-internal/jest.config.js similarity index 84% rename from packages/core/base/core-base-common-internal/jest.config.js rename to src/core/packages/doc-links/browser-internal/jest.config.js index 3c0666e8aadb6..04f16c6d82e03 100644 --- a/packages/core/base/core-base-common-internal/jest.config.js +++ b/src/core/packages/doc-links/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/base/core-base-common-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/doc-links/browser-internal'], }; diff --git a/packages/core/doc-links/core-doc-links-browser-internal/kibana.jsonc b/src/core/packages/doc-links/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/doc-links/core-doc-links-browser-internal/kibana.jsonc rename to src/core/packages/doc-links/browser-internal/kibana.jsonc diff --git a/packages/core/doc-links/core-doc-links-browser-internal/package.json b/src/core/packages/doc-links/browser-internal/package.json similarity index 100% rename from packages/core/doc-links/core-doc-links-browser-internal/package.json rename to src/core/packages/doc-links/browser-internal/package.json diff --git a/packages/core/doc-links/core-doc-links-browser-internal/src/doc_links_service.test.mocks.ts b/src/core/packages/doc-links/browser-internal/src/doc_links_service.test.mocks.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-browser-internal/src/doc_links_service.test.mocks.ts rename to src/core/packages/doc-links/browser-internal/src/doc_links_service.test.mocks.ts diff --git a/packages/core/doc-links/core-doc-links-browser-internal/src/doc_links_service.test.ts b/src/core/packages/doc-links/browser-internal/src/doc_links_service.test.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-browser-internal/src/doc_links_service.test.ts rename to src/core/packages/doc-links/browser-internal/src/doc_links_service.test.ts diff --git a/packages/core/doc-links/core-doc-links-browser-internal/src/doc_links_service.ts b/src/core/packages/doc-links/browser-internal/src/doc_links_service.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-browser-internal/src/doc_links_service.ts rename to src/core/packages/doc-links/browser-internal/src/doc_links_service.ts diff --git a/packages/core/doc-links/core-doc-links-browser-internal/tsconfig.json b/src/core/packages/doc-links/browser-internal/tsconfig.json similarity index 89% rename from packages/core/doc-links/core-doc-links-browser-internal/tsconfig.json rename to src/core/packages/doc-links/browser-internal/tsconfig.json index 45980da56c3da..b15115b1d42a2 100644 --- a/packages/core/doc-links/core-doc-links-browser-internal/tsconfig.json +++ b/src/core/packages/doc-links/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/doc-links/core-doc-links-browser/README.md b/src/core/packages/doc-links/browser/README.md similarity index 100% rename from packages/core/doc-links/core-doc-links-browser/README.md rename to src/core/packages/doc-links/browser/README.md diff --git a/packages/core/doc-links/core-doc-links-browser/index.ts b/src/core/packages/doc-links/browser/index.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-browser/index.ts rename to src/core/packages/doc-links/browser/index.ts diff --git a/src/core/packages/doc-links/browser/jest.config.js b/src/core/packages/doc-links/browser/jest.config.js new file mode 100644 index 0000000000000..22c8182a69249 --- /dev/null +++ b/src/core/packages/doc-links/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/doc-links/browser'], +}; diff --git a/packages/core/doc-links/core-doc-links-browser/kibana.jsonc b/src/core/packages/doc-links/browser/kibana.jsonc similarity index 100% rename from packages/core/doc-links/core-doc-links-browser/kibana.jsonc rename to src/core/packages/doc-links/browser/kibana.jsonc diff --git a/packages/core/doc-links/core-doc-links-browser/package.json b/src/core/packages/doc-links/browser/package.json similarity index 100% rename from packages/core/doc-links/core-doc-links-browser/package.json rename to src/core/packages/doc-links/browser/package.json diff --git a/packages/core/doc-links/core-doc-links-browser/src/types.ts b/src/core/packages/doc-links/browser/src/types.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-browser/src/types.ts rename to src/core/packages/doc-links/browser/src/types.ts diff --git a/packages/core/doc-links/core-doc-links-browser/tsconfig.json b/src/core/packages/doc-links/browser/tsconfig.json similarity index 82% rename from packages/core/doc-links/core-doc-links-browser/tsconfig.json rename to src/core/packages/doc-links/browser/tsconfig.json index 68b5d3d0d0194..66db56fac98b5 100644 --- a/packages/core/doc-links/core-doc-links-browser/tsconfig.json +++ b/src/core/packages/doc-links/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/doc-links/core-doc-links-server-internal/README.md b/src/core/packages/doc-links/server-internal/README.md similarity index 100% rename from packages/core/doc-links/core-doc-links-server-internal/README.md rename to src/core/packages/doc-links/server-internal/README.md diff --git a/packages/core/doc-links/core-doc-links-server-internal/index.ts b/src/core/packages/doc-links/server-internal/index.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-server-internal/index.ts rename to src/core/packages/doc-links/server-internal/index.ts diff --git a/packages/core/security/core-security-server/jest.config.js b/src/core/packages/doc-links/server-internal/jest.config.js similarity index 85% rename from packages/core/security/core-security-server/jest.config.js rename to src/core/packages/doc-links/server-internal/jest.config.js index b414a597f7666..676bde76eb6fd 100644 --- a/packages/core/security/core-security-server/jest.config.js +++ b/src/core/packages/doc-links/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/doc-links/server-internal'], }; diff --git a/packages/core/doc-links/core-doc-links-server-internal/kibana.jsonc b/src/core/packages/doc-links/server-internal/kibana.jsonc similarity index 100% rename from packages/core/doc-links/core-doc-links-server-internal/kibana.jsonc rename to src/core/packages/doc-links/server-internal/kibana.jsonc diff --git a/packages/core/doc-links/core-doc-links-server-internal/package.json b/src/core/packages/doc-links/server-internal/package.json similarity index 100% rename from packages/core/doc-links/core-doc-links-server-internal/package.json rename to src/core/packages/doc-links/server-internal/package.json diff --git a/packages/core/doc-links/core-doc-links-server-internal/src/doc_links_service.test.mocks.ts b/src/core/packages/doc-links/server-internal/src/doc_links_service.test.mocks.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-server-internal/src/doc_links_service.test.mocks.ts rename to src/core/packages/doc-links/server-internal/src/doc_links_service.test.mocks.ts diff --git a/packages/core/doc-links/core-doc-links-server-internal/src/doc_links_service.test.ts b/src/core/packages/doc-links/server-internal/src/doc_links_service.test.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-server-internal/src/doc_links_service.test.ts rename to src/core/packages/doc-links/server-internal/src/doc_links_service.test.ts diff --git a/packages/core/doc-links/core-doc-links-server-internal/src/doc_links_service.ts b/src/core/packages/doc-links/server-internal/src/doc_links_service.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-server-internal/src/doc_links_service.ts rename to src/core/packages/doc-links/server-internal/src/doc_links_service.ts diff --git a/packages/core/doc-links/core-doc-links-server-internal/tsconfig.json b/src/core/packages/doc-links/server-internal/tsconfig.json similarity index 87% rename from packages/core/doc-links/core-doc-links-server-internal/tsconfig.json rename to src/core/packages/doc-links/server-internal/tsconfig.json index 2cbc824289c1f..af1574cfb3bd3 100644 --- a/packages/core/doc-links/core-doc-links-server-internal/tsconfig.json +++ b/src/core/packages/doc-links/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/doc-links/core-doc-links-server/README.md b/src/core/packages/doc-links/server/README.md similarity index 100% rename from packages/core/doc-links/core-doc-links-server/README.md rename to src/core/packages/doc-links/server/README.md diff --git a/packages/core/doc-links/core-doc-links-server/index.ts b/src/core/packages/doc-links/server/index.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-server/index.ts rename to src/core/packages/doc-links/server/index.ts diff --git a/src/core/packages/doc-links/server/jest.config.js b/src/core/packages/doc-links/server/jest.config.js new file mode 100644 index 0000000000000..a18b0b36de2f1 --- /dev/null +++ b/src/core/packages/doc-links/server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/doc-links/server'], +}; diff --git a/packages/core/doc-links/core-doc-links-server/kibana.jsonc b/src/core/packages/doc-links/server/kibana.jsonc similarity index 100% rename from packages/core/doc-links/core-doc-links-server/kibana.jsonc rename to src/core/packages/doc-links/server/kibana.jsonc diff --git a/packages/core/doc-links/core-doc-links-server/package.json b/src/core/packages/doc-links/server/package.json similarity index 100% rename from packages/core/doc-links/core-doc-links-server/package.json rename to src/core/packages/doc-links/server/package.json diff --git a/packages/core/doc-links/core-doc-links-server/src/types.ts b/src/core/packages/doc-links/server/src/types.ts similarity index 100% rename from packages/core/doc-links/core-doc-links-server/src/types.ts rename to src/core/packages/doc-links/server/src/types.ts diff --git a/packages/core/doc-links/core-doc-links-server/tsconfig.json b/src/core/packages/doc-links/server/tsconfig.json similarity index 82% rename from packages/core/doc-links/core-doc-links-server/tsconfig.json rename to src/core/packages/doc-links/server/tsconfig.json index 68b5d3d0d0194..66db56fac98b5 100644 --- a/packages/core/doc-links/core-doc-links-server/tsconfig.json +++ b/src/core/packages/doc-links/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/README.md b/src/core/packages/elasticsearch/client-server-internal/README.md similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/README.md rename to src/core/packages/elasticsearch/client-server-internal/README.md diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/index.ts b/src/core/packages/elasticsearch/client-server-internal/index.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/index.ts rename to src/core/packages/elasticsearch/client-server-internal/index.ts diff --git a/packages/core/doc-links/core-doc-links-server-internal/jest.config.js b/src/core/packages/elasticsearch/client-server-internal/jest.config.js similarity index 85% rename from packages/core/doc-links/core-doc-links-server-internal/jest.config.js rename to src/core/packages/elasticsearch/client-server-internal/jest.config.js index ed7ced2e2b004..7f148d35a38ee 100644 --- a/packages/core/doc-links/core-doc-links-server-internal/jest.config.js +++ b/src/core/packages/elasticsearch/client-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/doc-links/core-doc-links-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/elasticsearch/client-server-internal'], }; diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/kibana.jsonc b/src/core/packages/elasticsearch/client-server-internal/kibana.jsonc similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/kibana.jsonc rename to src/core/packages/elasticsearch/client-server-internal/kibana.jsonc diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/package.json b/src/core/packages/elasticsearch/client-server-internal/package.json similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/package.json rename to src/core/packages/elasticsearch/client-server-internal/package.json diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/agent_manager.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/agent_manager.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/agent_manager.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/agent_manager.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/agent_manager.ts b/src/core/packages/elasticsearch/client-server-internal/src/agent_manager.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/agent_manager.ts rename to src/core/packages/elasticsearch/client-server-internal/src/agent_manager.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/client_config.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/client_config.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/client_config.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/client_config.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/client_config.ts b/src/core/packages/elasticsearch/client-server-internal/src/client_config.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/client_config.ts rename to src/core/packages/elasticsearch/client-server-internal/src/client_config.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/cluster_client.test.mocks.ts b/src/core/packages/elasticsearch/client-server-internal/src/cluster_client.test.mocks.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/cluster_client.test.mocks.ts rename to src/core/packages/elasticsearch/client-server-internal/src/cluster_client.test.mocks.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/cluster_client.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/cluster_client.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/cluster_client.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/cluster_client.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/cluster_client.ts b/src/core/packages/elasticsearch/client-server-internal/src/cluster_client.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/cluster_client.ts rename to src/core/packages/elasticsearch/client-server-internal/src/cluster_client.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/configure_client.test.mocks.ts b/src/core/packages/elasticsearch/client-server-internal/src/configure_client.test.mocks.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/configure_client.test.mocks.ts rename to src/core/packages/elasticsearch/client-server-internal/src/configure_client.test.mocks.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/configure_client.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/configure_client.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/configure_client.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/configure_client.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/configure_client.ts b/src/core/packages/elasticsearch/client-server-internal/src/configure_client.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/configure_client.ts rename to src/core/packages/elasticsearch/client-server-internal/src/configure_client.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/create_transport.test.mocks.ts b/src/core/packages/elasticsearch/client-server-internal/src/create_transport.test.mocks.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/create_transport.test.mocks.ts rename to src/core/packages/elasticsearch/client-server-internal/src/create_transport.test.mocks.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/create_transport.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/create_transport.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/create_transport.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/create_transport.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/create_transport.ts b/src/core/packages/elasticsearch/client-server-internal/src/create_transport.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/create_transport.ts rename to src/core/packages/elasticsearch/client-server-internal/src/create_transport.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_agents_sockets_stats.test.mocks.ts b/src/core/packages/elasticsearch/client-server-internal/src/get_agents_sockets_stats.test.mocks.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_agents_sockets_stats.test.mocks.ts rename to src/core/packages/elasticsearch/client-server-internal/src/get_agents_sockets_stats.test.mocks.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_agents_sockets_stats.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/get_agents_sockets_stats.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_agents_sockets_stats.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/get_agents_sockets_stats.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_agents_sockets_stats.ts b/src/core/packages/elasticsearch/client-server-internal/src/get_agents_sockets_stats.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_agents_sockets_stats.ts rename to src/core/packages/elasticsearch/client-server-internal/src/get_agents_sockets_stats.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/get_ecs_response_log.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/get_ecs_response_log.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.ts b/src/core/packages/elasticsearch/client-server-internal/src/get_ecs_response_log.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.ts rename to src/core/packages/elasticsearch/client-server-internal/src/get_ecs_response_log.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/headers.ts b/src/core/packages/elasticsearch/client-server-internal/src/headers.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/headers.ts rename to src/core/packages/elasticsearch/client-server-internal/src/headers.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/log_query_and_deprecation.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/log_query_and_deprecation.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/log_query_and_deprecation.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/log_query_and_deprecation.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/log_query_and_deprecation.ts b/src/core/packages/elasticsearch/client-server-internal/src/log_query_and_deprecation.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/log_query_and_deprecation.ts rename to src/core/packages/elasticsearch/client-server-internal/src/log_query_and_deprecation.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/patch_client.ts b/src/core/packages/elasticsearch/client-server-internal/src/patch_client.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/patch_client.ts rename to src/core/packages/elasticsearch/client-server-internal/src/patch_client.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/retry_unauthorized.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/retry_unauthorized.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/retry_unauthorized.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/retry_unauthorized.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/retry_unauthorized.ts b/src/core/packages/elasticsearch/client-server-internal/src/retry_unauthorized.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/retry_unauthorized.ts rename to src/core/packages/elasticsearch/client-server-internal/src/retry_unauthorized.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/scoped_cluster_client.test.ts b/src/core/packages/elasticsearch/client-server-internal/src/scoped_cluster_client.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/scoped_cluster_client.test.ts rename to src/core/packages/elasticsearch/client-server-internal/src/scoped_cluster_client.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/scoped_cluster_client.ts b/src/core/packages/elasticsearch/client-server-internal/src/scoped_cluster_client.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/scoped_cluster_client.ts rename to src/core/packages/elasticsearch/client-server-internal/src/scoped_cluster_client.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/tsconfig.json b/src/core/packages/elasticsearch/client-server-internal/tsconfig.json similarity index 91% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/tsconfig.json rename to src/core/packages/elasticsearch/client-server-internal/tsconfig.json index de4169d034e65..4aeb745085e64 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/tsconfig.json +++ b/src/core/packages/elasticsearch/client-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/README.md b/src/core/packages/elasticsearch/server-internal/README.md similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/README.md rename to src/core/packages/elasticsearch/server-internal/README.md diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/index.ts b/src/core/packages/elasticsearch/server-internal/index.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/index.ts rename to src/core/packages/elasticsearch/server-internal/index.ts diff --git a/src/core/packages/elasticsearch/server-internal/jest.config.js b/src/core/packages/elasticsearch/server-internal/jest.config.js new file mode 100644 index 0000000000000..3968cd93deb53 --- /dev/null +++ b/src/core/packages/elasticsearch/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/elasticsearch/server-internal'], +}; diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/kibana.jsonc b/src/core/packages/elasticsearch/server-internal/kibana.jsonc similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/kibana.jsonc rename to src/core/packages/elasticsearch/server-internal/kibana.jsonc diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/package.json b/src/core/packages/elasticsearch/server-internal/package.json similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/package.json rename to src/core/packages/elasticsearch/server-internal/package.json diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/default_headers.test.ts b/src/core/packages/elasticsearch/server-internal/src/default_headers.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/default_headers.test.ts rename to src/core/packages/elasticsearch/server-internal/src/default_headers.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/default_headers.ts b/src/core/packages/elasticsearch/server-internal/src/default_headers.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/default_headers.ts rename to src/core/packages/elasticsearch/server-internal/src/default_headers.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_config.test.mocks.ts b/src/core/packages/elasticsearch/server-internal/src/elasticsearch_config.test.mocks.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_config.test.mocks.ts rename to src/core/packages/elasticsearch/server-internal/src/elasticsearch_config.test.mocks.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_config.test.ts b/src/core/packages/elasticsearch/server-internal/src/elasticsearch_config.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_config.test.ts rename to src/core/packages/elasticsearch/server-internal/src/elasticsearch_config.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_config.ts b/src/core/packages/elasticsearch/server-internal/src/elasticsearch_config.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_config.ts rename to src/core/packages/elasticsearch/server-internal/src/elasticsearch_config.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_route_handler_context.ts b/src/core/packages/elasticsearch/server-internal/src/elasticsearch_route_handler_context.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_route_handler_context.ts rename to src/core/packages/elasticsearch/server-internal/src/elasticsearch_route_handler_context.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.test.mocks.ts b/src/core/packages/elasticsearch/server-internal/src/elasticsearch_service.test.mocks.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.test.mocks.ts rename to src/core/packages/elasticsearch/server-internal/src/elasticsearch_service.test.mocks.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.test.ts b/src/core/packages/elasticsearch/server-internal/src/elasticsearch_service.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.test.ts rename to src/core/packages/elasticsearch/server-internal/src/elasticsearch_service.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.ts b/src/core/packages/elasticsearch/server-internal/src/elasticsearch_service.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.ts rename to src/core/packages/elasticsearch/server-internal/src/elasticsearch_service.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_capabilities.test.ts b/src/core/packages/elasticsearch/server-internal/src/get_capabilities.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_capabilities.test.ts rename to src/core/packages/elasticsearch/server-internal/src/get_capabilities.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_capabilities.ts b/src/core/packages/elasticsearch/server-internal/src/get_capabilities.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_capabilities.ts rename to src/core/packages/elasticsearch/server-internal/src/get_capabilities.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_cluster_info.test.ts b/src/core/packages/elasticsearch/server-internal/src/get_cluster_info.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_cluster_info.test.ts rename to src/core/packages/elasticsearch/server-internal/src/get_cluster_info.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_cluster_info.ts b/src/core/packages/elasticsearch/server-internal/src/get_cluster_info.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_cluster_info.ts rename to src/core/packages/elasticsearch/server-internal/src/get_cluster_info.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_scripting_enabled.test.mocks.ts b/src/core/packages/elasticsearch/server-internal/src/is_scripting_enabled.test.mocks.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_scripting_enabled.test.mocks.ts rename to src/core/packages/elasticsearch/server-internal/src/is_scripting_enabled.test.mocks.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_scripting_enabled.test.ts b/src/core/packages/elasticsearch/server-internal/src/is_scripting_enabled.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_scripting_enabled.test.ts rename to src/core/packages/elasticsearch/server-internal/src/is_scripting_enabled.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_scripting_enabled.ts b/src/core/packages/elasticsearch/server-internal/src/is_scripting_enabled.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_scripting_enabled.ts rename to src/core/packages/elasticsearch/server-internal/src/is_scripting_enabled.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_valid_connection.test.ts b/src/core/packages/elasticsearch/server-internal/src/is_valid_connection.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_valid_connection.test.ts rename to src/core/packages/elasticsearch/server-internal/src/is_valid_connection.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_valid_connection.ts b/src/core/packages/elasticsearch/server-internal/src/is_valid_connection.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_valid_connection.ts rename to src/core/packages/elasticsearch/server-internal/src/is_valid_connection.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/merge_config.test.ts b/src/core/packages/elasticsearch/server-internal/src/merge_config.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/merge_config.test.ts rename to src/core/packages/elasticsearch/server-internal/src/merge_config.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/merge_config.ts b/src/core/packages/elasticsearch/server-internal/src/merge_config.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/merge_config.ts rename to src/core/packages/elasticsearch/server-internal/src/merge_config.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.test.ts b/src/core/packages/elasticsearch/server-internal/src/register_analytics_context_provider.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.test.ts rename to src/core/packages/elasticsearch/server-internal/src/register_analytics_context_provider.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.ts b/src/core/packages/elasticsearch/server-internal/src/register_analytics_context_provider.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.ts rename to src/core/packages/elasticsearch/server-internal/src/register_analytics_context_provider.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/retry_call_cluster.test.ts b/src/core/packages/elasticsearch/server-internal/src/retry_call_cluster.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/retry_call_cluster.test.ts rename to src/core/packages/elasticsearch/server-internal/src/retry_call_cluster.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/retry_call_cluster.ts b/src/core/packages/elasticsearch/server-internal/src/retry_call_cluster.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/retry_call_cluster.ts rename to src/core/packages/elasticsearch/server-internal/src/retry_call_cluster.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/retryable_es_client_errors.test.ts b/src/core/packages/elasticsearch/server-internal/src/retryable_es_client_errors.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/retryable_es_client_errors.test.ts rename to src/core/packages/elasticsearch/server-internal/src/retryable_es_client_errors.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/retryable_es_client_errors.ts b/src/core/packages/elasticsearch/server-internal/src/retryable_es_client_errors.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/retryable_es_client_errors.ts rename to src/core/packages/elasticsearch/server-internal/src/retryable_es_client_errors.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/status.test.ts b/src/core/packages/elasticsearch/server-internal/src/status.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/status.test.ts rename to src/core/packages/elasticsearch/server-internal/src/status.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/status.ts b/src/core/packages/elasticsearch/server-internal/src/status.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/status.ts rename to src/core/packages/elasticsearch/server-internal/src/status.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/supported_server_response_check.test.ts b/src/core/packages/elasticsearch/server-internal/src/supported_server_response_check.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/supported_server_response_check.test.ts rename to src/core/packages/elasticsearch/server-internal/src/supported_server_response_check.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/supported_server_response_check.ts b/src/core/packages/elasticsearch/server-internal/src/supported_server_response_check.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/supported_server_response_check.ts rename to src/core/packages/elasticsearch/server-internal/src/supported_server_response_check.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/types.ts b/src/core/packages/elasticsearch/server-internal/src/types.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/types.ts rename to src/core/packages/elasticsearch/server-internal/src/types.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.test.ts b/src/core/packages/elasticsearch/server-internal/src/version_check/ensure_es_version.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.test.ts rename to src/core/packages/elasticsearch/server-internal/src/version_check/ensure_es_version.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts b/src/core/packages/elasticsearch/server-internal/src/version_check/ensure_es_version.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts rename to src/core/packages/elasticsearch/server-internal/src/version_check/ensure_es_version.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/es_kibana_version_compatability.test.ts b/src/core/packages/elasticsearch/server-internal/src/version_check/es_kibana_version_compatability.test.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/es_kibana_version_compatability.test.ts rename to src/core/packages/elasticsearch/server-internal/src/version_check/es_kibana_version_compatability.test.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/es_kibana_version_compatability.ts b/src/core/packages/elasticsearch/server-internal/src/version_check/es_kibana_version_compatability.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/es_kibana_version_compatability.ts rename to src/core/packages/elasticsearch/server-internal/src/version_check/es_kibana_version_compatability.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/tsconfig.json b/src/core/packages/elasticsearch/server-internal/tsconfig.json similarity index 95% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/tsconfig.json rename to src/core/packages/elasticsearch/server-internal/tsconfig.json index 7b444c90f62c9..cc9debba44954 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server-internal/tsconfig.json +++ b/src/core/packages/elasticsearch/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/elasticsearch/core-elasticsearch-server/README.md b/src/core/packages/elasticsearch/server/README.md similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/README.md rename to src/core/packages/elasticsearch/server/README.md diff --git a/packages/core/elasticsearch/core-elasticsearch-server/index.ts b/src/core/packages/elasticsearch/server/index.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/index.ts rename to src/core/packages/elasticsearch/server/index.ts diff --git a/packages/core/logging/core-logging-server/jest.config.js b/src/core/packages/elasticsearch/server/jest.config.js similarity index 85% rename from packages/core/logging/core-logging-server/jest.config.js rename to src/core/packages/elasticsearch/server/jest.config.js index b9bb942a43d75..82501a4eeb0d4 100644 --- a/packages/core/logging/core-logging-server/jest.config.js +++ b/src/core/packages/elasticsearch/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/logging/core-logging-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/elasticsearch/server'], }; diff --git a/packages/core/elasticsearch/core-elasticsearch-server/kibana.jsonc b/src/core/packages/elasticsearch/server/kibana.jsonc similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/kibana.jsonc rename to src/core/packages/elasticsearch/server/kibana.jsonc diff --git a/packages/core/elasticsearch/core-elasticsearch-server/package.json b/src/core/packages/elasticsearch/server/package.json similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/package.json rename to src/core/packages/elasticsearch/server/package.json diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/client/client.ts b/src/core/packages/elasticsearch/server/src/client/client.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/client/client.ts rename to src/core/packages/elasticsearch/server/src/client/client.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts b/src/core/packages/elasticsearch/server/src/client/client_config.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts rename to src/core/packages/elasticsearch/server/src/client/client_config.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/client/cluster_client.ts b/src/core/packages/elasticsearch/server/src/client/cluster_client.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/client/cluster_client.ts rename to src/core/packages/elasticsearch/server/src/client/cluster_client.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/client/index.ts b/src/core/packages/elasticsearch/server/src/client/index.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/client/index.ts rename to src/core/packages/elasticsearch/server/src/client/index.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/client/scopeable_request.ts b/src/core/packages/elasticsearch/server/src/client/scopeable_request.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/client/scopeable_request.ts rename to src/core/packages/elasticsearch/server/src/client/scopeable_request.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/client/scoped_cluster_client.ts b/src/core/packages/elasticsearch/server/src/client/scoped_cluster_client.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/client/scoped_cluster_client.ts rename to src/core/packages/elasticsearch/server/src/client/scoped_cluster_client.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts b/src/core/packages/elasticsearch/server/src/client/unauthorized_error_handler.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts rename to src/core/packages/elasticsearch/server/src/client/unauthorized_error_handler.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts b/src/core/packages/elasticsearch/server/src/contracts.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts rename to src/core/packages/elasticsearch/server/src/contracts.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/elasticsearch_config.ts b/src/core/packages/elasticsearch/server/src/elasticsearch_config.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/elasticsearch_config.ts rename to src/core/packages/elasticsearch/server/src/elasticsearch_config.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/src/request_handler_context.ts b/src/core/packages/elasticsearch/server/src/request_handler_context.ts similarity index 100% rename from packages/core/elasticsearch/core-elasticsearch-server/src/request_handler_context.ts rename to src/core/packages/elasticsearch/server/src/request_handler_context.ts diff --git a/packages/core/elasticsearch/core-elasticsearch-server/tsconfig.json b/src/core/packages/elasticsearch/server/tsconfig.json similarity index 86% rename from packages/core/elasticsearch/core-elasticsearch-server/tsconfig.json rename to src/core/packages/elasticsearch/server/tsconfig.json index c3320c12cff9b..449a51eb2683a 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server/tsconfig.json +++ b/src/core/packages/elasticsearch/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/environment/core-environment-server-internal/README.md b/src/core/packages/environment/server-internal/README.md similarity index 100% rename from packages/core/environment/core-environment-server-internal/README.md rename to src/core/packages/environment/server-internal/README.md diff --git a/packages/core/environment/core-environment-server-internal/index.ts b/src/core/packages/environment/server-internal/index.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/index.ts rename to src/core/packages/environment/server-internal/index.ts diff --git a/packages/core/config/core-config-server-internal/jest.config.js b/src/core/packages/environment/server-internal/jest.config.js similarity index 84% rename from packages/core/config/core-config-server-internal/jest.config.js rename to src/core/packages/environment/server-internal/jest.config.js index a9b0fc1152b94..b0b256289c23a 100644 --- a/packages/core/config/core-config-server-internal/jest.config.js +++ b/src/core/packages/environment/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/config/core-config-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/environment/server-internal'], }; diff --git a/packages/core/environment/core-environment-server-internal/kibana.jsonc b/src/core/packages/environment/server-internal/kibana.jsonc similarity index 100% rename from packages/core/environment/core-environment-server-internal/kibana.jsonc rename to src/core/packages/environment/server-internal/kibana.jsonc diff --git a/packages/core/environment/core-environment-server-internal/package.json b/src/core/packages/environment/server-internal/package.json similarity index 100% rename from packages/core/environment/core-environment-server-internal/package.json rename to src/core/packages/environment/server-internal/package.json diff --git a/packages/core/environment/core-environment-server-internal/src/create_data_folder.test.ts b/src/core/packages/environment/server-internal/src/create_data_folder.test.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/create_data_folder.test.ts rename to src/core/packages/environment/server-internal/src/create_data_folder.test.ts diff --git a/packages/core/environment/core-environment-server-internal/src/create_data_folder.ts b/src/core/packages/environment/server-internal/src/create_data_folder.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/create_data_folder.ts rename to src/core/packages/environment/server-internal/src/create_data_folder.ts diff --git a/packages/core/environment/core-environment-server-internal/src/environment_service.test.ts b/src/core/packages/environment/server-internal/src/environment_service.test.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/environment_service.test.ts rename to src/core/packages/environment/server-internal/src/environment_service.test.ts diff --git a/packages/core/environment/core-environment-server-internal/src/environment_service.ts b/src/core/packages/environment/server-internal/src/environment_service.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/environment_service.ts rename to src/core/packages/environment/server-internal/src/environment_service.ts diff --git a/packages/core/environment/core-environment-server-internal/src/fs.ts b/src/core/packages/environment/server-internal/src/fs.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/fs.ts rename to src/core/packages/environment/server-internal/src/fs.ts diff --git a/packages/core/environment/core-environment-server-internal/src/pid_config.ts b/src/core/packages/environment/server-internal/src/pid_config.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/pid_config.ts rename to src/core/packages/environment/server-internal/src/pid_config.ts diff --git a/packages/core/environment/core-environment-server-internal/src/resolve_uuid.test.ts b/src/core/packages/environment/server-internal/src/resolve_uuid.test.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/resolve_uuid.test.ts rename to src/core/packages/environment/server-internal/src/resolve_uuid.test.ts diff --git a/packages/core/environment/core-environment-server-internal/src/resolve_uuid.ts b/src/core/packages/environment/server-internal/src/resolve_uuid.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/resolve_uuid.ts rename to src/core/packages/environment/server-internal/src/resolve_uuid.ts diff --git a/packages/core/environment/core-environment-server-internal/src/types.ts b/src/core/packages/environment/server-internal/src/types.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/types.ts rename to src/core/packages/environment/server-internal/src/types.ts diff --git a/packages/core/environment/core-environment-server-internal/src/write_pid_file.test.ts b/src/core/packages/environment/server-internal/src/write_pid_file.test.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/write_pid_file.test.ts rename to src/core/packages/environment/server-internal/src/write_pid_file.test.ts diff --git a/packages/core/environment/core-environment-server-internal/src/write_pid_file.ts b/src/core/packages/environment/server-internal/src/write_pid_file.ts similarity index 100% rename from packages/core/environment/core-environment-server-internal/src/write_pid_file.ts rename to src/core/packages/environment/server-internal/src/write_pid_file.ts diff --git a/packages/core/environment/core-environment-server-internal/tsconfig.json b/src/core/packages/environment/server-internal/tsconfig.json similarity index 90% rename from packages/core/environment/core-environment-server-internal/tsconfig.json rename to src/core/packages/environment/server-internal/tsconfig.json index b1853e14a9ead..3bdfd400a8d5f 100644 --- a/packages/core/environment/core-environment-server-internal/tsconfig.json +++ b/src/core/packages/environment/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/execution-context/core-execution-context-browser-internal/README.md b/src/core/packages/execution-context/browser-internal/README.md similarity index 100% rename from packages/core/execution-context/core-execution-context-browser-internal/README.md rename to src/core/packages/execution-context/browser-internal/README.md diff --git a/packages/core/execution-context/core-execution-context-browser-internal/index.ts b/src/core/packages/execution-context/browser-internal/index.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-browser-internal/index.ts rename to src/core/packages/execution-context/browser-internal/index.ts diff --git a/src/core/packages/execution-context/browser-internal/jest.config.js b/src/core/packages/execution-context/browser-internal/jest.config.js new file mode 100644 index 0000000000000..94da748128fad --- /dev/null +++ b/src/core/packages/execution-context/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/execution-context/browser-internal'], +}; diff --git a/packages/core/execution-context/core-execution-context-browser-internal/kibana.jsonc b/src/core/packages/execution-context/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/execution-context/core-execution-context-browser-internal/kibana.jsonc rename to src/core/packages/execution-context/browser-internal/kibana.jsonc diff --git a/packages/core/execution-context/core-execution-context-browser-internal/package.json b/src/core/packages/execution-context/browser-internal/package.json similarity index 100% rename from packages/core/execution-context/core-execution-context-browser-internal/package.json rename to src/core/packages/execution-context/browser-internal/package.json diff --git a/packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_container.test.ts b/src/core/packages/execution-context/browser-internal/src/execution_context_container.test.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_container.test.ts rename to src/core/packages/execution-context/browser-internal/src/execution_context_container.test.ts diff --git a/packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_container.ts b/src/core/packages/execution-context/browser-internal/src/execution_context_container.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_container.ts rename to src/core/packages/execution-context/browser-internal/src/execution_context_container.ts diff --git a/packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts b/src/core/packages/execution-context/browser-internal/src/execution_context_service.test.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts rename to src/core/packages/execution-context/browser-internal/src/execution_context_service.test.ts diff --git a/packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts b/src/core/packages/execution-context/browser-internal/src/execution_context_service.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts rename to src/core/packages/execution-context/browser-internal/src/execution_context_service.ts diff --git a/packages/core/execution-context/core-execution-context-browser-internal/tsconfig.json b/src/core/packages/execution-context/browser-internal/tsconfig.json similarity index 89% rename from packages/core/execution-context/core-execution-context-browser-internal/tsconfig.json rename to src/core/packages/execution-context/browser-internal/tsconfig.json index a8301ada1eaa4..d3b7ad21ff2e7 100644 --- a/packages/core/execution-context/core-execution-context-browser-internal/tsconfig.json +++ b/src/core/packages/execution-context/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/execution-context/core-execution-context-browser/README.md b/src/core/packages/execution-context/browser/README.md similarity index 100% rename from packages/core/execution-context/core-execution-context-browser/README.md rename to src/core/packages/execution-context/browser/README.md diff --git a/packages/core/execution-context/core-execution-context-browser/index.ts b/src/core/packages/execution-context/browser/index.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-browser/index.ts rename to src/core/packages/execution-context/browser/index.ts diff --git a/packages/core/security/core-security-common/jest.config.js b/src/core/packages/execution-context/browser/jest.config.js similarity index 84% rename from packages/core/security/core-security-common/jest.config.js rename to src/core/packages/execution-context/browser/jest.config.js index 0ffac7e5d321c..bea039c7be93c 100644 --- a/packages/core/security/core-security-common/jest.config.js +++ b/src/core/packages/execution-context/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-common'], + rootDir: '../../../../..', + roots: ['/src/core/packages/execution-context/browser'], }; diff --git a/packages/core/execution-context/core-execution-context-browser/kibana.jsonc b/src/core/packages/execution-context/browser/kibana.jsonc similarity index 100% rename from packages/core/execution-context/core-execution-context-browser/kibana.jsonc rename to src/core/packages/execution-context/browser/kibana.jsonc diff --git a/packages/core/execution-context/core-execution-context-browser/package.json b/src/core/packages/execution-context/browser/package.json similarity index 100% rename from packages/core/execution-context/core-execution-context-browser/package.json rename to src/core/packages/execution-context/browser/package.json diff --git a/packages/core/execution-context/core-execution-context-browser/src/types.ts b/src/core/packages/execution-context/browser/src/types.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-browser/src/types.ts rename to src/core/packages/execution-context/browser/src/types.ts diff --git a/packages/core/execution-context/core-execution-context-server/tsconfig.json b/src/core/packages/execution-context/browser/tsconfig.json similarity index 83% rename from packages/core/execution-context/core-execution-context-server/tsconfig.json rename to src/core/packages/execution-context/browser/tsconfig.json index b240bd7f5bc8e..3c4ff6e35705f 100644 --- a/packages/core/execution-context/core-execution-context-server/tsconfig.json +++ b/src/core/packages/execution-context/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/execution-context/core-execution-context-common/README.md b/src/core/packages/execution-context/common/README.md similarity index 100% rename from packages/core/execution-context/core-execution-context-common/README.md rename to src/core/packages/execution-context/common/README.md diff --git a/packages/core/execution-context/core-execution-context-common/index.ts b/src/core/packages/execution-context/common/index.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-common/index.ts rename to src/core/packages/execution-context/common/index.ts diff --git a/packages/core/plugins/core-plugins-browser/jest.config.js b/src/core/packages/execution-context/common/jest.config.js similarity index 84% rename from packages/core/plugins/core-plugins-browser/jest.config.js rename to src/core/packages/execution-context/common/jest.config.js index 3815ad0fd6b85..c59b94362969d 100644 --- a/packages/core/plugins/core-plugins-browser/jest.config.js +++ b/src/core/packages/execution-context/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-browser'], + rootDir: '../../../../..', + roots: ['/src/core/packages/execution-context/common'], }; diff --git a/packages/core/execution-context/core-execution-context-common/kibana.jsonc b/src/core/packages/execution-context/common/kibana.jsonc similarity index 100% rename from packages/core/execution-context/core-execution-context-common/kibana.jsonc rename to src/core/packages/execution-context/common/kibana.jsonc diff --git a/packages/core/execution-context/core-execution-context-common/package.json b/src/core/packages/execution-context/common/package.json similarity index 100% rename from packages/core/execution-context/core-execution-context-common/package.json rename to src/core/packages/execution-context/common/package.json diff --git a/packages/core/execution-context/core-execution-context-common/src/types.ts b/src/core/packages/execution-context/common/src/types.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-common/src/types.ts rename to src/core/packages/execution-context/common/src/types.ts diff --git a/packages/core/execution-context/core-execution-context-common/tsconfig.json b/src/core/packages/execution-context/common/tsconfig.json similarity index 78% rename from packages/core/execution-context/core-execution-context-common/tsconfig.json rename to src/core/packages/execution-context/common/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/execution-context/core-execution-context-common/tsconfig.json +++ b/src/core/packages/execution-context/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/execution-context/core-execution-context-server-internal/README.md b/src/core/packages/execution-context/server-internal/README.md similarity index 100% rename from packages/core/execution-context/core-execution-context-server-internal/README.md rename to src/core/packages/execution-context/server-internal/README.md diff --git a/packages/core/execution-context/core-execution-context-server-internal/index.ts b/src/core/packages/execution-context/server-internal/index.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-server-internal/index.ts rename to src/core/packages/execution-context/server-internal/index.ts diff --git a/packages/core/http/core-http-router-server-internal/jest.config.js b/src/core/packages/execution-context/server-internal/jest.config.js similarity index 85% rename from packages/core/http/core-http-router-server-internal/jest.config.js rename to src/core/packages/execution-context/server-internal/jest.config.js index 270d78ff2b1a1..535bb554f6c95 100644 --- a/packages/core/http/core-http-router-server-internal/jest.config.js +++ b/src/core/packages/execution-context/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-router-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/execution-context/server-internal'], }; diff --git a/packages/core/execution-context/core-execution-context-server-internal/kibana.jsonc b/src/core/packages/execution-context/server-internal/kibana.jsonc similarity index 100% rename from packages/core/execution-context/core-execution-context-server-internal/kibana.jsonc rename to src/core/packages/execution-context/server-internal/kibana.jsonc diff --git a/packages/core/execution-context/core-execution-context-server-internal/package.json b/src/core/packages/execution-context/server-internal/package.json similarity index 100% rename from packages/core/execution-context/core-execution-context-server-internal/package.json rename to src/core/packages/execution-context/server-internal/package.json diff --git a/packages/core/execution-context/core-execution-context-server-internal/src/execution_context_config.ts b/src/core/packages/execution-context/server-internal/src/execution_context_config.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-server-internal/src/execution_context_config.ts rename to src/core/packages/execution-context/server-internal/src/execution_context_config.ts diff --git a/packages/core/execution-context/core-execution-context-server-internal/src/execution_context_container.test.ts b/src/core/packages/execution-context/server-internal/src/execution_context_container.test.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-server-internal/src/execution_context_container.test.ts rename to src/core/packages/execution-context/server-internal/src/execution_context_container.test.ts diff --git a/packages/core/execution-context/core-execution-context-server-internal/src/execution_context_container.ts b/src/core/packages/execution-context/server-internal/src/execution_context_container.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-server-internal/src/execution_context_container.ts rename to src/core/packages/execution-context/server-internal/src/execution_context_container.ts diff --git a/packages/core/execution-context/core-execution-context-server-internal/src/execution_context_service.test.ts b/src/core/packages/execution-context/server-internal/src/execution_context_service.test.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-server-internal/src/execution_context_service.test.ts rename to src/core/packages/execution-context/server-internal/src/execution_context_service.test.ts diff --git a/packages/core/execution-context/core-execution-context-server-internal/src/execution_context_service.ts b/src/core/packages/execution-context/server-internal/src/execution_context_service.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-server-internal/src/execution_context_service.ts rename to src/core/packages/execution-context/server-internal/src/execution_context_service.ts diff --git a/packages/core/execution-context/core-execution-context-server-internal/tsconfig.json b/src/core/packages/execution-context/server-internal/tsconfig.json similarity index 90% rename from packages/core/execution-context/core-execution-context-server-internal/tsconfig.json rename to src/core/packages/execution-context/server-internal/tsconfig.json index ecaf9eb98cc59..f415dea692f5d 100644 --- a/packages/core/execution-context/core-execution-context-server-internal/tsconfig.json +++ b/src/core/packages/execution-context/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/execution-context/core-execution-context-server/README.md b/src/core/packages/execution-context/server/README.md similarity index 100% rename from packages/core/execution-context/core-execution-context-server/README.md rename to src/core/packages/execution-context/server/README.md diff --git a/packages/core/execution-context/core-execution-context-server/index.ts b/src/core/packages/execution-context/server/index.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-server/index.ts rename to src/core/packages/execution-context/server/index.ts diff --git a/packages/core/doc-links/core-doc-links-server/jest.config.js b/src/core/packages/execution-context/server/jest.config.js similarity index 84% rename from packages/core/doc-links/core-doc-links-server/jest.config.js rename to src/core/packages/execution-context/server/jest.config.js index 5eb59ccebe703..ba38dc072463b 100644 --- a/packages/core/doc-links/core-doc-links-server/jest.config.js +++ b/src/core/packages/execution-context/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/doc-links/core-doc-links-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/execution-context/server'], }; diff --git a/packages/core/execution-context/core-execution-context-server/kibana.jsonc b/src/core/packages/execution-context/server/kibana.jsonc similarity index 100% rename from packages/core/execution-context/core-execution-context-server/kibana.jsonc rename to src/core/packages/execution-context/server/kibana.jsonc diff --git a/packages/core/execution-context/core-execution-context-server/package.json b/src/core/packages/execution-context/server/package.json similarity index 100% rename from packages/core/execution-context/core-execution-context-server/package.json rename to src/core/packages/execution-context/server/package.json diff --git a/packages/core/execution-context/core-execution-context-server/src/contracts.ts b/src/core/packages/execution-context/server/src/contracts.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-server/src/contracts.ts rename to src/core/packages/execution-context/server/src/contracts.ts diff --git a/packages/core/execution-context/core-execution-context-server/src/types.ts b/src/core/packages/execution-context/server/src/types.ts similarity index 100% rename from packages/core/execution-context/core-execution-context-server/src/types.ts rename to src/core/packages/execution-context/server/src/types.ts diff --git a/packages/core/execution-context/core-execution-context-browser/tsconfig.json b/src/core/packages/execution-context/server/tsconfig.json similarity index 83% rename from packages/core/execution-context/core-execution-context-browser/tsconfig.json rename to src/core/packages/execution-context/server/tsconfig.json index b240bd7f5bc8e..3c4ff6e35705f 100644 --- a/packages/core/execution-context/core-execution-context-browser/tsconfig.json +++ b/src/core/packages/execution-context/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/README.md b/src/core/packages/fatal-errors/browser-internal/README.md similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/README.md rename to src/core/packages/fatal-errors/browser-internal/README.md diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/index.ts b/src/core/packages/fatal-errors/browser-internal/index.ts similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/index.ts rename to src/core/packages/fatal-errors/browser-internal/index.ts diff --git a/src/core/packages/fatal-errors/browser-internal/jest.config.js b/src/core/packages/fatal-errors/browser-internal/jest.config.js new file mode 100644 index 0000000000000..757ef1fa4c8aa --- /dev/null +++ b/src/core/packages/fatal-errors/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/fatal-errors/browser-internal'], +}; diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/kibana.jsonc b/src/core/packages/fatal-errors/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/kibana.jsonc rename to src/core/packages/fatal-errors/browser-internal/kibana.jsonc diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/package.json b/src/core/packages/fatal-errors/browser-internal/package.json similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/package.json rename to src/core/packages/fatal-errors/browser-internal/package.json diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/__snapshots__/fatal_errors_screen.test.tsx.snap b/src/core/packages/fatal-errors/browser-internal/src/__snapshots__/fatal_errors_screen.test.tsx.snap similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/src/__snapshots__/fatal_errors_screen.test.tsx.snap rename to src/core/packages/fatal-errors/browser-internal/src/__snapshots__/fatal_errors_screen.test.tsx.snap diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/__snapshots__/fatal_errors_service.test.ts.snap b/src/core/packages/fatal-errors/browser-internal/src/__snapshots__/fatal_errors_service.test.ts.snap similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/src/__snapshots__/fatal_errors_service.test.ts.snap rename to src/core/packages/fatal-errors/browser-internal/src/__snapshots__/fatal_errors_service.test.ts.snap diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_screen.test.tsx b/src/core/packages/fatal-errors/browser-internal/src/fatal_errors_screen.test.tsx similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_screen.test.tsx rename to src/core/packages/fatal-errors/browser-internal/src/fatal_errors_screen.test.tsx diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_screen.tsx b/src/core/packages/fatal-errors/browser-internal/src/fatal_errors_screen.tsx similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_screen.tsx rename to src/core/packages/fatal-errors/browser-internal/src/fatal_errors_screen.tsx diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_service.test.mocks.ts b/src/core/packages/fatal-errors/browser-internal/src/fatal_errors_service.test.mocks.ts similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_service.test.mocks.ts rename to src/core/packages/fatal-errors/browser-internal/src/fatal_errors_service.test.mocks.ts diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_service.test.ts b/src/core/packages/fatal-errors/browser-internal/src/fatal_errors_service.test.ts similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_service.test.ts rename to src/core/packages/fatal-errors/browser-internal/src/fatal_errors_service.test.ts diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_service.tsx b/src/core/packages/fatal-errors/browser-internal/src/fatal_errors_service.tsx similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_service.tsx rename to src/core/packages/fatal-errors/browser-internal/src/fatal_errors_service.tsx diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/get_error_info.test.ts b/src/core/packages/fatal-errors/browser-internal/src/get_error_info.test.ts similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/src/get_error_info.test.ts rename to src/core/packages/fatal-errors/browser-internal/src/get_error_info.test.ts diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/get_error_info.ts b/src/core/packages/fatal-errors/browser-internal/src/get_error_info.ts similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/src/get_error_info.ts rename to src/core/packages/fatal-errors/browser-internal/src/get_error_info.ts diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/tsconfig.json b/src/core/packages/fatal-errors/browser-internal/tsconfig.json similarity index 93% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/tsconfig.json rename to src/core/packages/fatal-errors/browser-internal/tsconfig.json index 3f4a96970a8c5..e53dde1c66a78 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-internal/tsconfig.json +++ b/src/core/packages/fatal-errors/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/README.md b/src/core/packages/fatal-errors/browser/README.md similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser/README.md rename to src/core/packages/fatal-errors/browser/README.md diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/index.ts b/src/core/packages/fatal-errors/browser/index.ts similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser/index.ts rename to src/core/packages/fatal-errors/browser/index.ts diff --git a/src/core/packages/fatal-errors/browser/jest.config.js b/src/core/packages/fatal-errors/browser/jest.config.js new file mode 100644 index 0000000000000..c3a8c9da2ee15 --- /dev/null +++ b/src/core/packages/fatal-errors/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/fatal-errors/browser'], +}; diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/kibana.jsonc b/src/core/packages/fatal-errors/browser/kibana.jsonc similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser/kibana.jsonc rename to src/core/packages/fatal-errors/browser/kibana.jsonc diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/package.json b/src/core/packages/fatal-errors/browser/package.json similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser/package.json rename to src/core/packages/fatal-errors/browser/package.json diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/src/contract.ts b/src/core/packages/fatal-errors/browser/src/contract.ts similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser/src/contract.ts rename to src/core/packages/fatal-errors/browser/src/contract.ts diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/src/get_error_info.ts b/src/core/packages/fatal-errors/browser/src/get_error_info.ts similarity index 100% rename from packages/core/fatal-errors/core-fatal-errors-browser/src/get_error_info.ts rename to src/core/packages/fatal-errors/browser/src/get_error_info.ts diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/tsconfig.json b/src/core/packages/fatal-errors/browser/tsconfig.json similarity index 79% rename from packages/core/fatal-errors/core-fatal-errors-browser/tsconfig.json rename to src/core/packages/fatal-errors/browser/tsconfig.json index 0f16c2b9311d8..14019fa2b02b7 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser/tsconfig.json +++ b/src/core/packages/fatal-errors/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/feature-flags/core-feature-flags-browser-internal/README.md b/src/core/packages/feature-flags/browser-internal/README.md similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-internal/README.md rename to src/core/packages/feature-flags/browser-internal/README.md diff --git a/packages/core/feature-flags/core-feature-flags-browser-internal/index.ts b/src/core/packages/feature-flags/browser-internal/index.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-internal/index.ts rename to src/core/packages/feature-flags/browser-internal/index.ts diff --git a/packages/analytics/utils/analytics_collection_utils/jest.config.js b/src/core/packages/feature-flags/browser-internal/jest.config.js similarity index 83% rename from packages/analytics/utils/analytics_collection_utils/jest.config.js rename to src/core/packages/feature-flags/browser-internal/jest.config.js index eb4383bfe99b1..9555558cc3936 100644 --- a/packages/analytics/utils/analytics_collection_utils/jest.config.js +++ b/src/core/packages/feature-flags/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/analytics/utils/analytics_collection_utils'], + rootDir: '../../../../..', + roots: ['/src/core/packages/feature-flags/browser-internal'], }; diff --git a/packages/core/feature-flags/core-feature-flags-browser-internal/kibana.jsonc b/src/core/packages/feature-flags/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-internal/kibana.jsonc rename to src/core/packages/feature-flags/browser-internal/kibana.jsonc diff --git a/packages/core/feature-flags/core-feature-flags-browser-internal/package.json b/src/core/packages/feature-flags/browser-internal/package.json similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-internal/package.json rename to src/core/packages/feature-flags/browser-internal/package.json diff --git a/packages/core/feature-flags/core-feature-flags-browser-internal/src/feature_flags_service.test.ts b/src/core/packages/feature-flags/browser-internal/src/feature_flags_service.test.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-internal/src/feature_flags_service.test.ts rename to src/core/packages/feature-flags/browser-internal/src/feature_flags_service.test.ts diff --git a/packages/core/feature-flags/core-feature-flags-browser-internal/src/feature_flags_service.ts b/src/core/packages/feature-flags/browser-internal/src/feature_flags_service.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-internal/src/feature_flags_service.ts rename to src/core/packages/feature-flags/browser-internal/src/feature_flags_service.ts diff --git a/packages/core/feature-flags/core-feature-flags-browser-internal/tsconfig.json b/src/core/packages/feature-flags/browser-internal/tsconfig.json similarity index 90% rename from packages/core/feature-flags/core-feature-flags-browser-internal/tsconfig.json rename to src/core/packages/feature-flags/browser-internal/tsconfig.json index 3ed73d73e75a3..2138b5a7a2cce 100644 --- a/packages/core/feature-flags/core-feature-flags-browser-internal/tsconfig.json +++ b/src/core/packages/feature-flags/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/feature-flags/core-feature-flags-browser-mocks/README.md b/src/core/packages/feature-flags/browser-mocks/README.md similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-mocks/README.md rename to src/core/packages/feature-flags/browser-mocks/README.md diff --git a/packages/core/feature-flags/core-feature-flags-browser-mocks/index.ts b/src/core/packages/feature-flags/browser-mocks/index.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-mocks/index.ts rename to src/core/packages/feature-flags/browser-mocks/index.ts diff --git a/src/core/packages/feature-flags/browser-mocks/jest.config.js b/src/core/packages/feature-flags/browser-mocks/jest.config.js new file mode 100644 index 0000000000000..9ae4839edb4c0 --- /dev/null +++ b/src/core/packages/feature-flags/browser-mocks/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/feature-flags/browser-mocks'], +}; diff --git a/packages/core/feature-flags/core-feature-flags-browser-mocks/kibana.jsonc b/src/core/packages/feature-flags/browser-mocks/kibana.jsonc similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-mocks/kibana.jsonc rename to src/core/packages/feature-flags/browser-mocks/kibana.jsonc diff --git a/packages/core/feature-flags/core-feature-flags-browser-mocks/package.json b/src/core/packages/feature-flags/browser-mocks/package.json similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser-mocks/package.json rename to src/core/packages/feature-flags/browser-mocks/package.json diff --git a/packages/core/feature-flags/core-feature-flags-browser-mocks/tsconfig.json b/src/core/packages/feature-flags/browser-mocks/tsconfig.json similarity index 87% rename from packages/core/feature-flags/core-feature-flags-browser-mocks/tsconfig.json rename to src/core/packages/feature-flags/browser-mocks/tsconfig.json index b7d1b3ca28cbb..d1c8f6d2b668e 100644 --- a/packages/core/feature-flags/core-feature-flags-browser-mocks/tsconfig.json +++ b/src/core/packages/feature-flags/browser-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/feature-flags/core-feature-flags-browser/README.md b/src/core/packages/feature-flags/browser/README.md similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser/README.md rename to src/core/packages/feature-flags/browser/README.md diff --git a/packages/core/feature-flags/core-feature-flags-browser/index.ts b/src/core/packages/feature-flags/browser/index.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser/index.ts rename to src/core/packages/feature-flags/browser/index.ts diff --git a/packages/core/feature-flags/core-feature-flags-browser/kibana.jsonc b/src/core/packages/feature-flags/browser/kibana.jsonc similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser/kibana.jsonc rename to src/core/packages/feature-flags/browser/kibana.jsonc diff --git a/packages/core/feature-flags/core-feature-flags-browser/package.json b/src/core/packages/feature-flags/browser/package.json similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser/package.json rename to src/core/packages/feature-flags/browser/package.json diff --git a/packages/core/feature-flags/core-feature-flags-browser/src/types.ts b/src/core/packages/feature-flags/browser/src/types.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-browser/src/types.ts rename to src/core/packages/feature-flags/browser/src/types.ts diff --git a/packages/core/feature-flags/core-feature-flags-browser/tsconfig.json b/src/core/packages/feature-flags/browser/tsconfig.json similarity index 81% rename from packages/core/feature-flags/core-feature-flags-browser/tsconfig.json rename to src/core/packages/feature-flags/browser/tsconfig.json index 9fa73d55be770..5f27cb2c19456 100644 --- a/packages/core/feature-flags/core-feature-flags-browser/tsconfig.json +++ b/src/core/packages/feature-flags/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/README.md b/src/core/packages/feature-flags/server-internal/README.md similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-internal/README.md rename to src/core/packages/feature-flags/server-internal/README.md diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/index.ts b/src/core/packages/feature-flags/server-internal/index.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-internal/index.ts rename to src/core/packages/feature-flags/server-internal/index.ts diff --git a/src/core/packages/feature-flags/server-internal/jest.config.js b/src/core/packages/feature-flags/server-internal/jest.config.js new file mode 100644 index 0000000000000..5e0aff608cafa --- /dev/null +++ b/src/core/packages/feature-flags/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/feature-flags/server-internal'], +}; diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/kibana.jsonc b/src/core/packages/feature-flags/server-internal/kibana.jsonc similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-internal/kibana.jsonc rename to src/core/packages/feature-flags/server-internal/kibana.jsonc diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/package.json b/src/core/packages/feature-flags/server-internal/package.json similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-internal/package.json rename to src/core/packages/feature-flags/server-internal/package.json diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/src/feature_flags_config.ts b/src/core/packages/feature-flags/server-internal/src/feature_flags_config.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-internal/src/feature_flags_config.ts rename to src/core/packages/feature-flags/server-internal/src/feature_flags_config.ts diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/src/feature_flags_request_handler_context.ts b/src/core/packages/feature-flags/server-internal/src/feature_flags_request_handler_context.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-internal/src/feature_flags_request_handler_context.ts rename to src/core/packages/feature-flags/server-internal/src/feature_flags_request_handler_context.ts diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/src/feature_flags_service.test.ts b/src/core/packages/feature-flags/server-internal/src/feature_flags_service.test.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-internal/src/feature_flags_service.test.ts rename to src/core/packages/feature-flags/server-internal/src/feature_flags_service.test.ts diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/src/feature_flags_service.ts b/src/core/packages/feature-flags/server-internal/src/feature_flags_service.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-internal/src/feature_flags_service.ts rename to src/core/packages/feature-flags/server-internal/src/feature_flags_service.ts diff --git a/packages/core/feature-flags/core-feature-flags-server-internal/tsconfig.json b/src/core/packages/feature-flags/server-internal/tsconfig.json similarity index 88% rename from packages/core/feature-flags/core-feature-flags-server-internal/tsconfig.json rename to src/core/packages/feature-flags/server-internal/tsconfig.json index 72a97ef56eb4f..1550eded44bc4 100644 --- a/packages/core/feature-flags/core-feature-flags-server-internal/tsconfig.json +++ b/src/core/packages/feature-flags/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/feature-flags/core-feature-flags-server-mocks/README.md b/src/core/packages/feature-flags/server-mocks/README.md similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-mocks/README.md rename to src/core/packages/feature-flags/server-mocks/README.md diff --git a/packages/core/feature-flags/core-feature-flags-server-mocks/index.ts b/src/core/packages/feature-flags/server-mocks/index.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-mocks/index.ts rename to src/core/packages/feature-flags/server-mocks/index.ts diff --git a/src/core/packages/feature-flags/server-mocks/jest.config.js b/src/core/packages/feature-flags/server-mocks/jest.config.js new file mode 100644 index 0000000000000..3208942064b2a --- /dev/null +++ b/src/core/packages/feature-flags/server-mocks/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/feature-flags/server-mocks'], +}; diff --git a/packages/core/feature-flags/core-feature-flags-server-mocks/kibana.jsonc b/src/core/packages/feature-flags/server-mocks/kibana.jsonc similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-mocks/kibana.jsonc rename to src/core/packages/feature-flags/server-mocks/kibana.jsonc diff --git a/packages/core/feature-flags/core-feature-flags-server-mocks/package.json b/src/core/packages/feature-flags/server-mocks/package.json similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server-mocks/package.json rename to src/core/packages/feature-flags/server-mocks/package.json diff --git a/packages/core/feature-flags/core-feature-flags-server-mocks/tsconfig.json b/src/core/packages/feature-flags/server-mocks/tsconfig.json similarity index 86% rename from packages/core/feature-flags/core-feature-flags-server-mocks/tsconfig.json rename to src/core/packages/feature-flags/server-mocks/tsconfig.json index c672eb28c83a9..5d03035ce36f8 100644 --- a/packages/core/feature-flags/core-feature-flags-server-mocks/tsconfig.json +++ b/src/core/packages/feature-flags/server-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/feature-flags/core-feature-flags-server/README.md b/src/core/packages/feature-flags/server/README.md similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server/README.md rename to src/core/packages/feature-flags/server/README.md diff --git a/packages/core/feature-flags/core-feature-flags-server/index.ts b/src/core/packages/feature-flags/server/index.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server/index.ts rename to src/core/packages/feature-flags/server/index.ts diff --git a/packages/core/feature-flags/core-feature-flags-server/kibana.jsonc b/src/core/packages/feature-flags/server/kibana.jsonc similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server/kibana.jsonc rename to src/core/packages/feature-flags/server/kibana.jsonc diff --git a/packages/core/feature-flags/core-feature-flags-server/package.json b/src/core/packages/feature-flags/server/package.json similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server/package.json rename to src/core/packages/feature-flags/server/package.json diff --git a/packages/core/feature-flags/core-feature-flags-server/src/contracts.ts b/src/core/packages/feature-flags/server/src/contracts.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server/src/contracts.ts rename to src/core/packages/feature-flags/server/src/contracts.ts diff --git a/packages/core/feature-flags/core-feature-flags-server/src/feature_flag_definition.ts b/src/core/packages/feature-flags/server/src/feature_flag_definition.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server/src/feature_flag_definition.ts rename to src/core/packages/feature-flags/server/src/feature_flag_definition.ts diff --git a/packages/core/feature-flags/core-feature-flags-server/src/request_handler_context.ts b/src/core/packages/feature-flags/server/src/request_handler_context.ts similarity index 100% rename from packages/core/feature-flags/core-feature-flags-server/src/request_handler_context.ts rename to src/core/packages/feature-flags/server/src/request_handler_context.ts diff --git a/packages/core/feature-flags/core-feature-flags-server/tsconfig.json b/src/core/packages/feature-flags/server/tsconfig.json similarity index 79% rename from packages/core/feature-flags/core-feature-flags-server/tsconfig.json rename to src/core/packages/feature-flags/server/tsconfig.json index f5bb1b00512e4..d0e7f26cb6cee 100644 --- a/packages/core/feature-flags/core-feature-flags-server/tsconfig.json +++ b/src/core/packages/feature-flags/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-browser-internal/README.md b/src/core/packages/http/browser-internal/README.md similarity index 100% rename from packages/core/http/core-http-browser-internal/README.md rename to src/core/packages/http/browser-internal/README.md diff --git a/packages/core/http/core-http-browser-internal/index.ts b/src/core/packages/http/browser-internal/index.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/index.ts rename to src/core/packages/http/browser-internal/index.ts diff --git a/src/core/packages/http/browser-internal/jest.config.js b/src/core/packages/http/browser-internal/jest.config.js new file mode 100644 index 0000000000000..3b0493d0e7e6a --- /dev/null +++ b/src/core/packages/http/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/http/browser-internal'], +}; diff --git a/packages/core/http/core-http-browser-internal/kibana.jsonc b/src/core/packages/http/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-browser-internal/kibana.jsonc rename to src/core/packages/http/browser-internal/kibana.jsonc diff --git a/packages/core/http/core-http-browser-internal/package.json b/src/core/packages/http/browser-internal/package.json similarity index 100% rename from packages/core/http/core-http-browser-internal/package.json rename to src/core/packages/http/browser-internal/package.json diff --git a/packages/core/http/core-http-browser-internal/src/_import_objects.ndjson b/src/core/packages/http/browser-internal/src/_import_objects.ndjson similarity index 100% rename from packages/core/http/core-http-browser-internal/src/_import_objects.ndjson rename to src/core/packages/http/browser-internal/src/_import_objects.ndjson diff --git a/packages/core/http/core-http-browser-internal/src/anonymous_paths_service.test.ts b/src/core/packages/http/browser-internal/src/anonymous_paths_service.test.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/anonymous_paths_service.test.ts rename to src/core/packages/http/browser-internal/src/anonymous_paths_service.test.ts diff --git a/packages/core/http/core-http-browser-internal/src/anonymous_paths_service.ts b/src/core/packages/http/browser-internal/src/anonymous_paths_service.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/anonymous_paths_service.ts rename to src/core/packages/http/browser-internal/src/anonymous_paths_service.ts diff --git a/packages/core/http/core-http-browser-internal/src/base_path.test.ts b/src/core/packages/http/browser-internal/src/base_path.test.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/base_path.test.ts rename to src/core/packages/http/browser-internal/src/base_path.test.ts diff --git a/packages/core/http/core-http-browser-internal/src/base_path.ts b/src/core/packages/http/browser-internal/src/base_path.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/base_path.ts rename to src/core/packages/http/browser-internal/src/base_path.ts diff --git a/packages/core/http/core-http-browser-internal/src/external_url_service.test.ts b/src/core/packages/http/browser-internal/src/external_url_service.test.ts similarity index 99% rename from packages/core/http/core-http-browser-internal/src/external_url_service.test.ts rename to src/core/packages/http/browser-internal/src/external_url_service.test.ts index 8b595185b26bb..fef1566f3eafa 100644 --- a/packages/core/http/core-http-browser-internal/src/external_url_service.test.ts +++ b/src/core/packages/http/browser-internal/src/external_url_service.test.ts @@ -129,7 +129,7 @@ describe('External Url Service', () => { it('allows relative URLs that attempt to bypass the server base path', () => { const { setup } = setupService({ location, serverBasePath, policy }); - const urlCandidate = `/some/../../path?foo=bar`; + const urlCandidate = `/some/../../../path?foo=bar`; const result = setup.validateUrl(`${serverBasePath}${urlCandidate}`); expect(result).toBeInstanceOf(URL); @@ -155,7 +155,7 @@ describe('External Url Service', () => { it('disallows relative URLs that attempt to bypass the server base path', () => { const { setup } = setupService({ location, serverBasePath, policy }); - const urlCandidate = `/some/../../path?foo=bar`; + const urlCandidate = `/some/../../../path?foo=bar`; const result = setup.validateUrl(`${serverBasePath}${urlCandidate}`); expect(result).toBeNull(); @@ -196,7 +196,7 @@ describe('External Url Service', () => { describe('handles bypass of base path via relative URL', () => { it('does not allow relative URLs that escape base path', () => { const { setup } = setupService({ location, serverBasePath, policy: [] }); - const urlCandidate = `../../base_path_escape`; + const urlCandidate = `../../../base_path_escape`; const result = setup.validateUrl(urlCandidate); expect(result).toBeNull(); diff --git a/packages/core/http/core-http-browser-internal/src/external_url_service.ts b/src/core/packages/http/browser-internal/src/external_url_service.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/external_url_service.ts rename to src/core/packages/http/browser-internal/src/external_url_service.ts diff --git a/packages/core/http/core-http-browser-internal/src/fetch.test.ts b/src/core/packages/http/browser-internal/src/fetch.test.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/fetch.test.ts rename to src/core/packages/http/browser-internal/src/fetch.test.ts diff --git a/packages/core/http/core-http-browser-internal/src/fetch.ts b/src/core/packages/http/browser-internal/src/fetch.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/fetch.ts rename to src/core/packages/http/browser-internal/src/fetch.ts diff --git a/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts b/src/core/packages/http/browser-internal/src/http_fetch_error.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/http_fetch_error.ts rename to src/core/packages/http/browser-internal/src/http_fetch_error.ts diff --git a/packages/core/http/core-http-browser-internal/src/http_intercept_controller.ts b/src/core/packages/http/browser-internal/src/http_intercept_controller.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/http_intercept_controller.ts rename to src/core/packages/http/browser-internal/src/http_intercept_controller.ts diff --git a/packages/core/http/core-http-browser-internal/src/http_intercept_halt_error.ts b/src/core/packages/http/browser-internal/src/http_intercept_halt_error.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/http_intercept_halt_error.ts rename to src/core/packages/http/browser-internal/src/http_intercept_halt_error.ts diff --git a/packages/core/http/core-http-browser-internal/src/http_service.test.mocks.ts b/src/core/packages/http/browser-internal/src/http_service.test.mocks.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/http_service.test.mocks.ts rename to src/core/packages/http/browser-internal/src/http_service.test.mocks.ts diff --git a/packages/core/http/core-http-browser-internal/src/http_service.test.ts b/src/core/packages/http/browser-internal/src/http_service.test.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/http_service.test.ts rename to src/core/packages/http/browser-internal/src/http_service.test.ts diff --git a/packages/core/http/core-http-browser-internal/src/http_service.ts b/src/core/packages/http/browser-internal/src/http_service.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/http_service.ts rename to src/core/packages/http/browser-internal/src/http_service.ts diff --git a/packages/core/http/core-http-browser-internal/src/intercept.ts b/src/core/packages/http/browser-internal/src/intercept.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/intercept.ts rename to src/core/packages/http/browser-internal/src/intercept.ts diff --git a/packages/core/http/core-http-browser-internal/src/loading_count_service.mock.ts b/src/core/packages/http/browser-internal/src/loading_count_service.mock.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/loading_count_service.mock.ts rename to src/core/packages/http/browser-internal/src/loading_count_service.mock.ts diff --git a/packages/core/http/core-http-browser-internal/src/loading_count_service.test.ts b/src/core/packages/http/browser-internal/src/loading_count_service.test.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/loading_count_service.test.ts rename to src/core/packages/http/browser-internal/src/loading_count_service.test.ts diff --git a/packages/core/http/core-http-browser-internal/src/loading_count_service.ts b/src/core/packages/http/browser-internal/src/loading_count_service.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/loading_count_service.ts rename to src/core/packages/http/browser-internal/src/loading_count_service.ts diff --git a/packages/core/http/core-http-browser-internal/src/static_assets.test.ts b/src/core/packages/http/browser-internal/src/static_assets.test.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/static_assets.test.ts rename to src/core/packages/http/browser-internal/src/static_assets.test.ts diff --git a/packages/core/http/core-http-browser-internal/src/static_assets.ts b/src/core/packages/http/browser-internal/src/static_assets.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/static_assets.ts rename to src/core/packages/http/browser-internal/src/static_assets.ts diff --git a/packages/core/http/core-http-browser-internal/src/types.ts b/src/core/packages/http/browser-internal/src/types.ts similarity index 100% rename from packages/core/http/core-http-browser-internal/src/types.ts rename to src/core/packages/http/browser-internal/src/types.ts diff --git a/packages/core/http/core-http-browser-internal/tsconfig.json b/src/core/packages/http/browser-internal/tsconfig.json similarity index 93% rename from packages/core/http/core-http-browser-internal/tsconfig.json rename to src/core/packages/http/browser-internal/tsconfig.json index 382c591951eb7..aae9fc99d8b11 100644 --- a/packages/core/http/core-http-browser-internal/tsconfig.json +++ b/src/core/packages/http/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-browser/README.md b/src/core/packages/http/browser/README.md similarity index 100% rename from packages/core/http/core-http-browser/README.md rename to src/core/packages/http/browser/README.md diff --git a/packages/core/http/core-http-browser/index.ts b/src/core/packages/http/browser/index.ts similarity index 100% rename from packages/core/http/core-http-browser/index.ts rename to src/core/packages/http/browser/index.ts diff --git a/packages/cloud/jest.config.js b/src/core/packages/http/browser/jest.config.js similarity index 85% rename from packages/cloud/jest.config.js rename to src/core/packages/http/browser/jest.config.js index f1d60eda4027a..60bd218c750f0 100644 --- a/packages/cloud/jest.config.js +++ b/src/core/packages/http/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/cloud'], + rootDir: '../../../../..', + roots: ['/src/core/packages/http/browser'], }; diff --git a/packages/core/http/core-http-browser/kibana.jsonc b/src/core/packages/http/browser/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-browser/kibana.jsonc rename to src/core/packages/http/browser/kibana.jsonc diff --git a/packages/core/http/core-http-browser/package.json b/src/core/packages/http/browser/package.json similarity index 100% rename from packages/core/http/core-http-browser/package.json rename to src/core/packages/http/browser/package.json diff --git a/packages/core/http/core-http-browser/src/types.ts b/src/core/packages/http/browser/src/types.ts similarity index 100% rename from packages/core/http/core-http-browser/src/types.ts rename to src/core/packages/http/browser/src/types.ts diff --git a/packages/core/http/core-http-browser/src/utils.ts b/src/core/packages/http/browser/src/utils.ts similarity index 100% rename from packages/core/http/core-http-browser/src/utils.ts rename to src/core/packages/http/browser/src/utils.ts diff --git a/packages/core/http/core-http-browser/tsconfig.json b/src/core/packages/http/browser/tsconfig.json similarity index 85% rename from packages/core/http/core-http-browser/tsconfig.json rename to src/core/packages/http/browser/tsconfig.json index bcdc457d22e5c..dcdc42a26c8e6 100644 --- a/packages/core/http/core-http-browser/tsconfig.json +++ b/src/core/packages/http/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-common/README.md b/src/core/packages/http/common/README.md similarity index 100% rename from packages/core/http/core-http-common/README.md rename to src/core/packages/http/common/README.md diff --git a/packages/core/http/core-http-common/index.ts b/src/core/packages/http/common/index.ts similarity index 100% rename from packages/core/http/core-http-common/index.ts rename to src/core/packages/http/common/index.ts diff --git a/packages/kbn-config-schema/jest.config.js b/src/core/packages/http/common/jest.config.js similarity index 86% rename from packages/kbn-config-schema/jest.config.js rename to src/core/packages/http/common/jest.config.js index cf3b95d2d7b38..f41f6058a8711 100644 --- a/packages/kbn-config-schema/jest.config.js +++ b/src/core/packages/http/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-config-schema'], + rootDir: '../../../../..', + roots: ['/src/core/packages/http/common'], }; diff --git a/packages/core/http/core-http-common/kibana.jsonc b/src/core/packages/http/common/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-common/kibana.jsonc rename to src/core/packages/http/common/kibana.jsonc diff --git a/packages/core/http/core-http-common/package.json b/src/core/packages/http/common/package.json similarity index 100% rename from packages/core/http/core-http-common/package.json rename to src/core/packages/http/common/package.json diff --git a/packages/core/http/core-http-common/src/constants.ts b/src/core/packages/http/common/src/constants.ts similarity index 100% rename from packages/core/http/core-http-common/src/constants.ts rename to src/core/packages/http/common/src/constants.ts diff --git a/packages/core/http/core-http-common/src/external_url_policy.ts b/src/core/packages/http/common/src/external_url_policy.ts similarity index 100% rename from packages/core/http/core-http-common/src/external_url_policy.ts rename to src/core/packages/http/common/src/external_url_policy.ts diff --git a/packages/core/http/core-http-common/src/versioning.ts b/src/core/packages/http/common/src/versioning.ts similarity index 100% rename from packages/core/http/core-http-common/src/versioning.ts rename to src/core/packages/http/common/src/versioning.ts diff --git a/packages/core/capabilities/core-capabilities-common/tsconfig.json b/src/core/packages/http/common/tsconfig.json similarity index 78% rename from packages/core/capabilities/core-capabilities-common/tsconfig.json rename to src/core/packages/http/common/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/capabilities/core-capabilities-common/tsconfig.json +++ b/src/core/packages/http/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-context-server-internal/README.md b/src/core/packages/http/context-server-internal/README.md similarity index 100% rename from packages/core/http/core-http-context-server-internal/README.md rename to src/core/packages/http/context-server-internal/README.md diff --git a/packages/core/http/core-http-context-server-internal/index.ts b/src/core/packages/http/context-server-internal/index.ts similarity index 100% rename from packages/core/http/core-http-context-server-internal/index.ts rename to src/core/packages/http/context-server-internal/index.ts diff --git a/src/core/packages/http/context-server-internal/jest.config.js b/src/core/packages/http/context-server-internal/jest.config.js new file mode 100644 index 0000000000000..63cdc973eaa7f --- /dev/null +++ b/src/core/packages/http/context-server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/http/context-server-internal'], +}; diff --git a/packages/core/http/core-http-context-server-internal/kibana.jsonc b/src/core/packages/http/context-server-internal/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-context-server-internal/kibana.jsonc rename to src/core/packages/http/context-server-internal/kibana.jsonc diff --git a/packages/core/http/core-http-context-server-internal/package.json b/src/core/packages/http/context-server-internal/package.json similarity index 100% rename from packages/core/http/core-http-context-server-internal/package.json rename to src/core/packages/http/context-server-internal/package.json diff --git a/packages/core/http/core-http-context-server-internal/src/context_container.test.ts b/src/core/packages/http/context-server-internal/src/context_container.test.ts similarity index 100% rename from packages/core/http/core-http-context-server-internal/src/context_container.test.ts rename to src/core/packages/http/context-server-internal/src/context_container.test.ts diff --git a/packages/core/http/core-http-context-server-internal/src/context_container.ts b/src/core/packages/http/context-server-internal/src/context_container.ts similarity index 100% rename from packages/core/http/core-http-context-server-internal/src/context_container.ts rename to src/core/packages/http/context-server-internal/src/context_container.ts diff --git a/packages/core/http/core-http-context-server-internal/src/context_service.test.mocks.ts b/src/core/packages/http/context-server-internal/src/context_service.test.mocks.ts similarity index 100% rename from packages/core/http/core-http-context-server-internal/src/context_service.test.mocks.ts rename to src/core/packages/http/context-server-internal/src/context_service.test.mocks.ts diff --git a/packages/core/http/core-http-context-server-internal/src/context_service.test.ts b/src/core/packages/http/context-server-internal/src/context_service.test.ts similarity index 100% rename from packages/core/http/core-http-context-server-internal/src/context_service.test.ts rename to src/core/packages/http/context-server-internal/src/context_service.test.ts diff --git a/packages/core/http/core-http-context-server-internal/src/context_service.ts b/src/core/packages/http/context-server-internal/src/context_service.ts similarity index 100% rename from packages/core/http/core-http-context-server-internal/src/context_service.ts rename to src/core/packages/http/context-server-internal/src/context_service.ts diff --git a/packages/core/http/core-http-context-server-internal/tsconfig.json b/src/core/packages/http/context-server-internal/tsconfig.json similarity index 88% rename from packages/core/http/core-http-context-server-internal/tsconfig.json rename to src/core/packages/http/context-server-internal/tsconfig.json index 0caeb0d5e0093..6443773f9a9b1 100644 --- a/packages/core/http/core-http-context-server-internal/tsconfig.json +++ b/src/core/packages/http/context-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-request-handler-context-server-internal/README.md b/src/core/packages/http/request-handler-context-server-internal/README.md similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/README.md rename to src/core/packages/http/request-handler-context-server-internal/README.md diff --git a/packages/core/http/core-http-request-handler-context-server-internal/index.ts b/src/core/packages/http/request-handler-context-server-internal/index.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/index.ts rename to src/core/packages/http/request-handler-context-server-internal/index.ts diff --git a/src/core/packages/http/request-handler-context-server-internal/jest.config.js b/src/core/packages/http/request-handler-context-server-internal/jest.config.js new file mode 100644 index 0000000000000..5668e9fbf9499 --- /dev/null +++ b/src/core/packages/http/request-handler-context-server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/http/request-handler-context-server-internal'], +}; diff --git a/packages/core/http/core-http-request-handler-context-server-internal/kibana.jsonc b/src/core/packages/http/request-handler-context-server-internal/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/kibana.jsonc rename to src/core/packages/http/request-handler-context-server-internal/kibana.jsonc diff --git a/packages/core/http/core-http-request-handler-context-server-internal/package.json b/src/core/packages/http/request-handler-context-server-internal/package.json similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/package.json rename to src/core/packages/http/request-handler-context-server-internal/package.json diff --git a/packages/core/http/core-http-request-handler-context-server-internal/src/core_route_handler_context.test.ts b/src/core/packages/http/request-handler-context-server-internal/src/core_route_handler_context.test.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/src/core_route_handler_context.test.ts rename to src/core/packages/http/request-handler-context-server-internal/src/core_route_handler_context.test.ts diff --git a/packages/core/http/core-http-request-handler-context-server-internal/src/core_route_handler_context.ts b/src/core/packages/http/request-handler-context-server-internal/src/core_route_handler_context.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/src/core_route_handler_context.ts rename to src/core/packages/http/request-handler-context-server-internal/src/core_route_handler_context.ts diff --git a/packages/core/http/core-http-request-handler-context-server-internal/src/index.ts b/src/core/packages/http/request-handler-context-server-internal/src/index.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/src/index.ts rename to src/core/packages/http/request-handler-context-server-internal/src/index.ts diff --git a/packages/core/http/core-http-request-handler-context-server-internal/src/preboot_core_route_handler_context.test.ts b/src/core/packages/http/request-handler-context-server-internal/src/preboot_core_route_handler_context.test.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/src/preboot_core_route_handler_context.test.ts rename to src/core/packages/http/request-handler-context-server-internal/src/preboot_core_route_handler_context.test.ts diff --git a/packages/core/http/core-http-request-handler-context-server-internal/src/preboot_core_route_handler_context.ts b/src/core/packages/http/request-handler-context-server-internal/src/preboot_core_route_handler_context.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/src/preboot_core_route_handler_context.ts rename to src/core/packages/http/request-handler-context-server-internal/src/preboot_core_route_handler_context.ts diff --git a/packages/core/http/core-http-request-handler-context-server-internal/src/test_helpers/core_route_handler_context_params.mock.ts b/src/core/packages/http/request-handler-context-server-internal/src/test_helpers/core_route_handler_context_params.mock.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/src/test_helpers/core_route_handler_context_params.mock.ts rename to src/core/packages/http/request-handler-context-server-internal/src/test_helpers/core_route_handler_context_params.mock.ts diff --git a/packages/core/http/core-http-request-handler-context-server-internal/src/test_helpers/index.ts b/src/core/packages/http/request-handler-context-server-internal/src/test_helpers/index.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/src/test_helpers/index.ts rename to src/core/packages/http/request-handler-context-server-internal/src/test_helpers/index.ts diff --git a/packages/core/http/core-http-request-handler-context-server-internal/src/test_helpers/preboot_core_route_handler_context_params.mock.ts b/src/core/packages/http/request-handler-context-server-internal/src/test_helpers/preboot_core_route_handler_context_params.mock.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server-internal/src/test_helpers/preboot_core_route_handler_context_params.mock.ts rename to src/core/packages/http/request-handler-context-server-internal/src/test_helpers/preboot_core_route_handler_context_params.mock.ts diff --git a/packages/core/http/core-http-request-handler-context-server-internal/tsconfig.json b/src/core/packages/http/request-handler-context-server-internal/tsconfig.json similarity index 95% rename from packages/core/http/core-http-request-handler-context-server-internal/tsconfig.json rename to src/core/packages/http/request-handler-context-server-internal/tsconfig.json index 99c86608d99de..0f7d05034003f 100644 --- a/packages/core/http/core-http-request-handler-context-server-internal/tsconfig.json +++ b/src/core/packages/http/request-handler-context-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-request-handler-context-server/README.md b/src/core/packages/http/request-handler-context-server/README.md similarity index 100% rename from packages/core/http/core-http-request-handler-context-server/README.md rename to src/core/packages/http/request-handler-context-server/README.md diff --git a/packages/core/http/core-http-request-handler-context-server/index.ts b/src/core/packages/http/request-handler-context-server/index.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server/index.ts rename to src/core/packages/http/request-handler-context-server/index.ts diff --git a/src/core/packages/http/request-handler-context-server/jest.config.js b/src/core/packages/http/request-handler-context-server/jest.config.js new file mode 100644 index 0000000000000..db0cc3c5ea443 --- /dev/null +++ b/src/core/packages/http/request-handler-context-server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/http/request-handler-context-server'], +}; diff --git a/packages/core/http/core-http-request-handler-context-server/kibana.jsonc b/src/core/packages/http/request-handler-context-server/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-request-handler-context-server/kibana.jsonc rename to src/core/packages/http/request-handler-context-server/kibana.jsonc diff --git a/packages/core/http/core-http-request-handler-context-server/package.json b/src/core/packages/http/request-handler-context-server/package.json similarity index 100% rename from packages/core/http/core-http-request-handler-context-server/package.json rename to src/core/packages/http/request-handler-context-server/package.json diff --git a/packages/core/http/core-http-request-handler-context-server/src/index.ts b/src/core/packages/http/request-handler-context-server/src/index.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server/src/index.ts rename to src/core/packages/http/request-handler-context-server/src/index.ts diff --git a/packages/core/http/core-http-request-handler-context-server/src/preboot_request_handler_context.ts b/src/core/packages/http/request-handler-context-server/src/preboot_request_handler_context.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server/src/preboot_request_handler_context.ts rename to src/core/packages/http/request-handler-context-server/src/preboot_request_handler_context.ts diff --git a/packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts b/src/core/packages/http/request-handler-context-server/src/request_handler_context.ts similarity index 100% rename from packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts rename to src/core/packages/http/request-handler-context-server/src/request_handler_context.ts diff --git a/packages/core/http/core-http-request-handler-context-server/tsconfig.json b/src/core/packages/http/request-handler-context-server/tsconfig.json similarity index 90% rename from packages/core/http/core-http-request-handler-context-server/tsconfig.json rename to src/core/packages/http/request-handler-context-server/tsconfig.json index 905a13801f223..f799bfe0e0c7f 100644 --- a/packages/core/http/core-http-request-handler-context-server/tsconfig.json +++ b/src/core/packages/http/request-handler-context-server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-resources-server-internal/README.md b/src/core/packages/http/resources-server-internal/README.md similarity index 100% rename from packages/core/http/core-http-resources-server-internal/README.md rename to src/core/packages/http/resources-server-internal/README.md diff --git a/packages/core/http/core-http-resources-server-internal/index.ts b/src/core/packages/http/resources-server-internal/index.ts similarity index 100% rename from packages/core/http/core-http-resources-server-internal/index.ts rename to src/core/packages/http/resources-server-internal/index.ts diff --git a/packages/core/status/core-status-server-internal/jest.config.js b/src/core/packages/http/resources-server-internal/jest.config.js similarity index 85% rename from packages/core/status/core-status-server-internal/jest.config.js rename to src/core/packages/http/resources-server-internal/jest.config.js index 441483ccd584c..8923c52f51d95 100644 --- a/packages/core/status/core-status-server-internal/jest.config.js +++ b/src/core/packages/http/resources-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/status/core-status-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/http/resources-server-internal'], }; diff --git a/packages/core/http/core-http-resources-server-internal/kibana.jsonc b/src/core/packages/http/resources-server-internal/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-resources-server-internal/kibana.jsonc rename to src/core/packages/http/resources-server-internal/kibana.jsonc diff --git a/packages/core/http/core-http-resources-server-internal/package.json b/src/core/packages/http/resources-server-internal/package.json similarity index 100% rename from packages/core/http/core-http-resources-server-internal/package.json rename to src/core/packages/http/resources-server-internal/package.json diff --git a/packages/core/http/core-http-resources-server-internal/src/http_resources_service.test.ts b/src/core/packages/http/resources-server-internal/src/http_resources_service.test.ts similarity index 100% rename from packages/core/http/core-http-resources-server-internal/src/http_resources_service.test.ts rename to src/core/packages/http/resources-server-internal/src/http_resources_service.test.ts diff --git a/packages/core/http/core-http-resources-server-internal/src/http_resources_service.ts b/src/core/packages/http/resources-server-internal/src/http_resources_service.ts similarity index 100% rename from packages/core/http/core-http-resources-server-internal/src/http_resources_service.ts rename to src/core/packages/http/resources-server-internal/src/http_resources_service.ts diff --git a/packages/core/http/core-http-resources-server-internal/src/index.ts b/src/core/packages/http/resources-server-internal/src/index.ts similarity index 100% rename from packages/core/http/core-http-resources-server-internal/src/index.ts rename to src/core/packages/http/resources-server-internal/src/index.ts diff --git a/packages/core/http/core-http-resources-server-internal/src/test_helpers/http_resources_service_test_mocks.ts b/src/core/packages/http/resources-server-internal/src/test_helpers/http_resources_service_test_mocks.ts similarity index 100% rename from packages/core/http/core-http-resources-server-internal/src/test_helpers/http_resources_service_test_mocks.ts rename to src/core/packages/http/resources-server-internal/src/test_helpers/http_resources_service_test_mocks.ts diff --git a/packages/core/http/core-http-resources-server-internal/src/types.ts b/src/core/packages/http/resources-server-internal/src/types.ts similarity index 100% rename from packages/core/http/core-http-resources-server-internal/src/types.ts rename to src/core/packages/http/resources-server-internal/src/types.ts diff --git a/packages/core/http/core-http-resources-server-internal/tsconfig.json b/src/core/packages/http/resources-server-internal/tsconfig.json similarity index 92% rename from packages/core/http/core-http-resources-server-internal/tsconfig.json rename to src/core/packages/http/resources-server-internal/tsconfig.json index 31dd86729ffd2..6c3c03815356c 100644 --- a/packages/core/http/core-http-resources-server-internal/tsconfig.json +++ b/src/core/packages/http/resources-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-resources-server/README.md b/src/core/packages/http/resources-server/README.md similarity index 100% rename from packages/core/http/core-http-resources-server/README.md rename to src/core/packages/http/resources-server/README.md diff --git a/packages/core/http/core-http-resources-server/index.ts b/src/core/packages/http/resources-server/index.ts similarity index 100% rename from packages/core/http/core-http-resources-server/index.ts rename to src/core/packages/http/resources-server/index.ts diff --git a/src/core/packages/http/resources-server/jest.config.js b/src/core/packages/http/resources-server/jest.config.js new file mode 100644 index 0000000000000..52941f6b2503f --- /dev/null +++ b/src/core/packages/http/resources-server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/http/resources-server'], +}; diff --git a/packages/core/http/core-http-resources-server/kibana.jsonc b/src/core/packages/http/resources-server/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-resources-server/kibana.jsonc rename to src/core/packages/http/resources-server/kibana.jsonc diff --git a/packages/core/http/core-http-resources-server/package.json b/src/core/packages/http/resources-server/package.json similarity index 100% rename from packages/core/http/core-http-resources-server/package.json rename to src/core/packages/http/resources-server/package.json diff --git a/packages/core/http/core-http-resources-server/src/index.ts b/src/core/packages/http/resources-server/src/index.ts similarity index 100% rename from packages/core/http/core-http-resources-server/src/index.ts rename to src/core/packages/http/resources-server/src/index.ts diff --git a/packages/core/http/core-http-resources-server/src/types.ts b/src/core/packages/http/resources-server/src/types.ts similarity index 100% rename from packages/core/http/core-http-resources-server/src/types.ts rename to src/core/packages/http/resources-server/src/types.ts diff --git a/packages/core/http/core-http-resources-server/tsconfig.json b/src/core/packages/http/resources-server/tsconfig.json similarity index 85% rename from packages/core/http/core-http-resources-server/tsconfig.json rename to src/core/packages/http/resources-server/tsconfig.json index 3f8e3b88aece5..162de37d434dc 100644 --- a/packages/core/http/core-http-resources-server/tsconfig.json +++ b/src/core/packages/http/resources-server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-router-server-internal/README.md b/src/core/packages/http/router-server-internal/README.md similarity index 100% rename from packages/core/http/core-http-router-server-internal/README.md rename to src/core/packages/http/router-server-internal/README.md diff --git a/packages/core/http/core-http-router-server-internal/index.ts b/src/core/packages/http/router-server-internal/index.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/index.ts rename to src/core/packages/http/router-server-internal/index.ts diff --git a/src/core/packages/http/router-server-internal/jest.config.js b/src/core/packages/http/router-server-internal/jest.config.js new file mode 100644 index 0000000000000..5f57ddc25b045 --- /dev/null +++ b/src/core/packages/http/router-server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/http/router-server-internal'], +}; diff --git a/packages/core/http/core-http-router-server-internal/kibana.jsonc b/src/core/packages/http/router-server-internal/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-router-server-internal/kibana.jsonc rename to src/core/packages/http/router-server-internal/kibana.jsonc diff --git a/packages/core/http/core-http-router-server-internal/package.json b/src/core/packages/http/router-server-internal/package.json similarity index 100% rename from packages/core/http/core-http-router-server-internal/package.json rename to src/core/packages/http/router-server-internal/package.json diff --git a/packages/core/http/core-http-router-server-internal/src/error_wrapper.test.ts b/src/core/packages/http/router-server-internal/src/error_wrapper.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/error_wrapper.test.ts rename to src/core/packages/http/router-server-internal/src/error_wrapper.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/error_wrapper.ts b/src/core/packages/http/router-server-internal/src/error_wrapper.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/error_wrapper.ts rename to src/core/packages/http/router-server-internal/src/error_wrapper.ts diff --git a/packages/core/http/core-http-router-server-internal/src/headers.ts b/src/core/packages/http/router-server-internal/src/headers.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/headers.ts rename to src/core/packages/http/router-server-internal/src/headers.ts diff --git a/packages/core/http/core-http-router-server-internal/src/patch_requests.ts b/src/core/packages/http/router-server-internal/src/patch_requests.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/patch_requests.ts rename to src/core/packages/http/router-server-internal/src/patch_requests.ts diff --git a/packages/core/http/core-http-router-server-internal/src/request.test.ts b/src/core/packages/http/router-server-internal/src/request.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/request.test.ts rename to src/core/packages/http/router-server-internal/src/request.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/request.ts b/src/core/packages/http/router-server-internal/src/request.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/request.ts rename to src/core/packages/http/router-server-internal/src/request.ts diff --git a/packages/core/http/core-http-router-server-internal/src/response.test.ts b/src/core/packages/http/router-server-internal/src/response.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/response.test.ts rename to src/core/packages/http/router-server-internal/src/response.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/response.ts b/src/core/packages/http/router-server-internal/src/response.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/response.ts rename to src/core/packages/http/router-server-internal/src/response.ts diff --git a/packages/core/http/core-http-router-server-internal/src/response_adapter.ts b/src/core/packages/http/router-server-internal/src/response_adapter.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/response_adapter.ts rename to src/core/packages/http/router-server-internal/src/response_adapter.ts diff --git a/packages/core/http/core-http-router-server-internal/src/route.ts b/src/core/packages/http/router-server-internal/src/route.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/route.ts rename to src/core/packages/http/router-server-internal/src/route.ts diff --git a/packages/core/http/core-http-router-server-internal/src/router.test.ts b/src/core/packages/http/router-server-internal/src/router.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/router.test.ts rename to src/core/packages/http/router-server-internal/src/router.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/router.test.util.ts b/src/core/packages/http/router-server-internal/src/router.test.util.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/router.test.util.ts rename to src/core/packages/http/router-server-internal/src/router.test.util.ts diff --git a/packages/core/http/core-http-router-server-internal/src/router.ts b/src/core/packages/http/router-server-internal/src/router.ts similarity index 99% rename from packages/core/http/core-http-router-server-internal/src/router.ts rename to src/core/packages/http/router-server-internal/src/router.ts index d1640a4db6db1..014a6eefb9206 100644 --- a/packages/core/http/core-http-router-server-internal/src/router.ts +++ b/src/core/packages/http/router-server-internal/src/router.ts @@ -239,7 +239,7 @@ export class Router, route.options), validationSchemas: route.validate, - // @ts-ignore using isVersioned: false in the type instead of boolean + // @ts-expect-error using isVersioned: false in the type instead of boolean // for typeguarding between versioned and unversioned RouterRoute types isVersioned, }); diff --git a/packages/core/http/core-http-router-server-internal/src/security_route_config_validator.test.ts b/src/core/packages/http/router-server-internal/src/security_route_config_validator.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/security_route_config_validator.test.ts rename to src/core/packages/http/router-server-internal/src/security_route_config_validator.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/security_route_config_validator.ts b/src/core/packages/http/router-server-internal/src/security_route_config_validator.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/security_route_config_validator.ts rename to src/core/packages/http/router-server-internal/src/security_route_config_validator.ts diff --git a/packages/core/http/core-http-router-server-internal/src/socket.test.ts b/src/core/packages/http/router-server-internal/src/socket.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/socket.test.ts rename to src/core/packages/http/router-server-internal/src/socket.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/socket.ts b/src/core/packages/http/router-server-internal/src/socket.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/socket.ts rename to src/core/packages/http/router-server-internal/src/socket.ts diff --git a/packages/core/http/core-http-router-server-internal/src/strip_illegal_http2_headers.test.ts b/src/core/packages/http/router-server-internal/src/strip_illegal_http2_headers.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/strip_illegal_http2_headers.test.ts rename to src/core/packages/http/router-server-internal/src/strip_illegal_http2_headers.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/strip_illegal_http2_headers.ts b/src/core/packages/http/router-server-internal/src/strip_illegal_http2_headers.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/strip_illegal_http2_headers.ts rename to src/core/packages/http/router-server-internal/src/strip_illegal_http2_headers.ts diff --git a/packages/core/http/core-http-router-server-internal/src/util.test.ts b/src/core/packages/http/router-server-internal/src/util.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/util.test.ts rename to src/core/packages/http/router-server-internal/src/util.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/util.ts b/src/core/packages/http/router-server-internal/src/util.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/util.ts rename to src/core/packages/http/router-server-internal/src/util.ts diff --git a/packages/core/http/core-http-router-server-internal/src/validator.test.ts b/src/core/packages/http/router-server-internal/src/validator.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/validator.test.ts rename to src/core/packages/http/router-server-internal/src/validator.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/validator.ts b/src/core/packages/http/router-server-internal/src/validator.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/validator.ts rename to src/core/packages/http/router-server-internal/src/validator.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_route.test.ts b/src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_route.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_route.test.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_route.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_route.test.util.ts b/src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_route.test.util.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_route.test.util.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_route.test.util.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_route.ts b/src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_route.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_route.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_route.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.test.ts b/src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_router.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.test.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_router.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.ts b/src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_router.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/core_versioned_router.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/handler_resolvers.test.ts b/src/core/packages/http/router-server-internal/src/versioned_router/handler_resolvers.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/handler_resolvers.test.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/handler_resolvers.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/handler_resolvers.ts b/src/core/packages/http/router-server-internal/src/versioned_router/handler_resolvers.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/handler_resolvers.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/handler_resolvers.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/index.ts b/src/core/packages/http/router-server-internal/src/versioned_router/index.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/index.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/index.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/mocks.ts b/src/core/packages/http/router-server-internal/src/versioned_router/mocks.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/mocks.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/mocks.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/route_version_utils.test.ts b/src/core/packages/http/router-server-internal/src/versioned_router/route_version_utils.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/route_version_utils.test.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/route_version_utils.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/route_version_utils.ts b/src/core/packages/http/router-server-internal/src/versioned_router/route_version_utils.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/route_version_utils.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/route_version_utils.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/types.ts b/src/core/packages/http/router-server-internal/src/versioned_router/types.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/types.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/types.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/util.test.ts b/src/core/packages/http/router-server-internal/src/versioned_router/util.test.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/util.test.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/util.test.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/util.ts b/src/core/packages/http/router-server-internal/src/versioned_router/util.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/util.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/util.ts diff --git a/packages/core/http/core-http-router-server-internal/src/versioned_router/validate.ts b/src/core/packages/http/router-server-internal/src/versioned_router/validate.ts similarity index 100% rename from packages/core/http/core-http-router-server-internal/src/versioned_router/validate.ts rename to src/core/packages/http/router-server-internal/src/versioned_router/validate.ts diff --git a/packages/core/http/core-http-router-server-internal/tsconfig.json b/src/core/packages/http/router-server-internal/tsconfig.json similarity index 90% rename from packages/core/http/core-http-router-server-internal/tsconfig.json rename to src/core/packages/http/router-server-internal/tsconfig.json index 5224fd5db16b5..7887583e6e462 100644 --- a/packages/core/http/core-http-router-server-internal/tsconfig.json +++ b/src/core/packages/http/router-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-server-internal/README.md b/src/core/packages/http/server-internal/README.md similarity index 100% rename from packages/core/http/core-http-server-internal/README.md rename to src/core/packages/http/server-internal/README.md diff --git a/packages/core/http/core-http-server-internal/index.ts b/src/core/packages/http/server-internal/index.ts similarity index 100% rename from packages/core/http/core-http-server-internal/index.ts rename to src/core/packages/http/server-internal/index.ts diff --git a/packages/core/metrics/core-metrics-server/jest.config.js b/src/core/packages/http/server-internal/jest.config.js similarity index 85% rename from packages/core/metrics/core-metrics-server/jest.config.js rename to src/core/packages/http/server-internal/jest.config.js index ed815652a90c0..de8efc4859bcf 100644 --- a/packages/core/metrics/core-metrics-server/jest.config.js +++ b/src/core/packages/http/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/metrics/core-metrics-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/http/server-internal'], }; diff --git a/packages/core/http/core-http-server-internal/kibana.jsonc b/src/core/packages/http/server-internal/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-server-internal/kibana.jsonc rename to src/core/packages/http/server-internal/kibana.jsonc diff --git a/packages/core/http/core-http-server-internal/package.json b/src/core/packages/http/server-internal/package.json similarity index 100% rename from packages/core/http/core-http-server-internal/package.json rename to src/core/packages/http/server-internal/package.json diff --git a/packages/core/http/core-http-server-internal/src/__fixtures/static/compression_available.json b/src/core/packages/http/server-internal/src/__fixtures/static/compression_available.json similarity index 100% rename from packages/core/http/core-http-server-internal/src/__fixtures/static/compression_available.json rename to src/core/packages/http/server-internal/src/__fixtures/static/compression_available.json diff --git a/packages/core/http/core-http-server-internal/src/__fixtures/static/compression_available.json.gz b/src/core/packages/http/server-internal/src/__fixtures/static/compression_available.json.gz similarity index 100% rename from packages/core/http/core-http-server-internal/src/__fixtures/static/compression_available.json.gz rename to src/core/packages/http/server-internal/src/__fixtures/static/compression_available.json.gz diff --git a/packages/core/http/core-http-server-internal/src/__fixtures/static/some_json.json b/src/core/packages/http/server-internal/src/__fixtures/static/some_json.json similarity index 100% rename from packages/core/http/core-http-server-internal/src/__fixtures/static/some_json.json rename to src/core/packages/http/server-internal/src/__fixtures/static/some_json.json diff --git a/packages/core/http/core-http-server-internal/src/__snapshots__/http_config.test.ts.snap b/src/core/packages/http/server-internal/src/__snapshots__/http_config.test.ts.snap similarity index 100% rename from packages/core/http/core-http-server-internal/src/__snapshots__/http_config.test.ts.snap rename to src/core/packages/http/server-internal/src/__snapshots__/http_config.test.ts.snap diff --git a/packages/core/http/core-http-server-internal/src/__snapshots__/http_service.test.ts.snap b/src/core/packages/http/server-internal/src/__snapshots__/http_service.test.ts.snap similarity index 100% rename from packages/core/http/core-http-server-internal/src/__snapshots__/http_service.test.ts.snap rename to src/core/packages/http/server-internal/src/__snapshots__/http_service.test.ts.snap diff --git a/packages/core/http/core-http-server-internal/src/__snapshots__/https_redirect_server.test.ts.snap b/src/core/packages/http/server-internal/src/__snapshots__/https_redirect_server.test.ts.snap similarity index 100% rename from packages/core/http/core-http-server-internal/src/__snapshots__/https_redirect_server.test.ts.snap rename to src/core/packages/http/server-internal/src/__snapshots__/https_redirect_server.test.ts.snap diff --git a/packages/core/http/core-http-server-internal/src/auth_headers_storage.test.ts b/src/core/packages/http/server-internal/src/auth_headers_storage.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/auth_headers_storage.test.ts rename to src/core/packages/http/server-internal/src/auth_headers_storage.test.ts diff --git a/packages/core/http/core-http-server-internal/src/auth_headers_storage.ts b/src/core/packages/http/server-internal/src/auth_headers_storage.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/auth_headers_storage.ts rename to src/core/packages/http/server-internal/src/auth_headers_storage.ts diff --git a/packages/core/http/core-http-server-internal/src/auth_state_storage.ts b/src/core/packages/http/server-internal/src/auth_state_storage.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/auth_state_storage.ts rename to src/core/packages/http/server-internal/src/auth_state_storage.ts diff --git a/packages/core/http/core-http-server-internal/src/base_path_service.test.ts b/src/core/packages/http/server-internal/src/base_path_service.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/base_path_service.test.ts rename to src/core/packages/http/server-internal/src/base_path_service.test.ts diff --git a/packages/core/http/core-http-server-internal/src/base_path_service.ts b/src/core/packages/http/server-internal/src/base_path_service.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/base_path_service.ts rename to src/core/packages/http/server-internal/src/base_path_service.ts diff --git a/packages/core/http/core-http-server-internal/src/cdn_config/cdn_config.test.ts b/src/core/packages/http/server-internal/src/cdn_config/cdn_config.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/cdn_config/cdn_config.test.ts rename to src/core/packages/http/server-internal/src/cdn_config/cdn_config.test.ts diff --git a/packages/core/http/core-http-server-internal/src/cdn_config/cdn_config.ts b/src/core/packages/http/server-internal/src/cdn_config/cdn_config.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/cdn_config/cdn_config.ts rename to src/core/packages/http/server-internal/src/cdn_config/cdn_config.ts diff --git a/packages/core/http/core-http-server-internal/src/cdn_config/index.ts b/src/core/packages/http/server-internal/src/cdn_config/index.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/cdn_config/index.ts rename to src/core/packages/http/server-internal/src/cdn_config/index.ts diff --git a/packages/core/http/core-http-server-internal/src/cookie_session_storage.ts b/src/core/packages/http/server-internal/src/cookie_session_storage.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/cookie_session_storage.ts rename to src/core/packages/http/server-internal/src/cookie_session_storage.ts diff --git a/packages/core/http/core-http-server-internal/src/csp/config.test.ts b/src/core/packages/http/server-internal/src/csp/config.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/csp/config.test.ts rename to src/core/packages/http/server-internal/src/csp/config.test.ts diff --git a/packages/core/http/core-http-server-internal/src/csp/config.ts b/src/core/packages/http/server-internal/src/csp/config.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/csp/config.ts rename to src/core/packages/http/server-internal/src/csp/config.ts diff --git a/packages/core/http/core-http-server-internal/src/csp/csp_config.test.ts b/src/core/packages/http/server-internal/src/csp/csp_config.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/csp/csp_config.test.ts rename to src/core/packages/http/server-internal/src/csp/csp_config.test.ts diff --git a/packages/core/http/core-http-server-internal/src/csp/csp_config.ts b/src/core/packages/http/server-internal/src/csp/csp_config.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/csp/csp_config.ts rename to src/core/packages/http/server-internal/src/csp/csp_config.ts diff --git a/packages/core/http/core-http-server-internal/src/csp/csp_directives.test.ts b/src/core/packages/http/server-internal/src/csp/csp_directives.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/csp/csp_directives.test.ts rename to src/core/packages/http/server-internal/src/csp/csp_directives.test.ts diff --git a/packages/core/http/core-http-server-internal/src/csp/csp_directives.ts b/src/core/packages/http/server-internal/src/csp/csp_directives.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/csp/csp_directives.ts rename to src/core/packages/http/server-internal/src/csp/csp_directives.ts diff --git a/packages/core/http/core-http-server-internal/src/csp/index.ts b/src/core/packages/http/server-internal/src/csp/index.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/csp/index.ts rename to src/core/packages/http/server-internal/src/csp/index.ts diff --git a/packages/core/http/core-http-server-internal/src/external_url/config.test.ts b/src/core/packages/http/server-internal/src/external_url/config.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/external_url/config.test.ts rename to src/core/packages/http/server-internal/src/external_url/config.test.ts diff --git a/packages/core/http/core-http-server-internal/src/external_url/config.ts b/src/core/packages/http/server-internal/src/external_url/config.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/external_url/config.ts rename to src/core/packages/http/server-internal/src/external_url/config.ts diff --git a/packages/core/http/core-http-server-internal/src/external_url/external_url_config.ts b/src/core/packages/http/server-internal/src/external_url/external_url_config.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/external_url/external_url_config.ts rename to src/core/packages/http/server-internal/src/external_url/external_url_config.ts diff --git a/packages/core/http/core-http-server-internal/src/external_url/index.ts b/src/core/packages/http/server-internal/src/external_url/index.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/external_url/index.ts rename to src/core/packages/http/server-internal/src/external_url/index.ts diff --git a/packages/core/http/core-http-server-internal/src/http_config.test.ts b/src/core/packages/http/server-internal/src/http_config.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/http_config.test.ts rename to src/core/packages/http/server-internal/src/http_config.test.ts diff --git a/packages/core/http/core-http-server-internal/src/http_config.ts b/src/core/packages/http/server-internal/src/http_config.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/http_config.ts rename to src/core/packages/http/server-internal/src/http_config.ts diff --git a/packages/core/http/core-http-server-internal/src/http_server.test.mocks.ts b/src/core/packages/http/server-internal/src/http_server.test.mocks.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/http_server.test.mocks.ts rename to src/core/packages/http/server-internal/src/http_server.test.mocks.ts diff --git a/packages/core/http/core-http-server-internal/src/http_server.test.ts b/src/core/packages/http/server-internal/src/http_server.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/http_server.test.ts rename to src/core/packages/http/server-internal/src/http_server.test.ts diff --git a/packages/core/http/core-http-server-internal/src/http_server.ts b/src/core/packages/http/server-internal/src/http_server.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/http_server.ts rename to src/core/packages/http/server-internal/src/http_server.ts diff --git a/packages/core/http/core-http-server-internal/src/http_service.test.mocks.ts b/src/core/packages/http/server-internal/src/http_service.test.mocks.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/http_service.test.mocks.ts rename to src/core/packages/http/server-internal/src/http_service.test.mocks.ts diff --git a/packages/core/http/core-http-server-internal/src/http_service.test.ts b/src/core/packages/http/server-internal/src/http_service.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/http_service.test.ts rename to src/core/packages/http/server-internal/src/http_service.test.ts diff --git a/packages/core/http/core-http-server-internal/src/http_service.ts b/src/core/packages/http/server-internal/src/http_service.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/http_service.ts rename to src/core/packages/http/server-internal/src/http_service.ts diff --git a/packages/core/http/core-http-server-internal/src/https_redirect_server.test.ts b/src/core/packages/http/server-internal/src/https_redirect_server.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/https_redirect_server.test.ts rename to src/core/packages/http/server-internal/src/https_redirect_server.test.ts diff --git a/packages/core/http/core-http-server-internal/src/https_redirect_server.ts b/src/core/packages/http/server-internal/src/https_redirect_server.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/https_redirect_server.ts rename to src/core/packages/http/server-internal/src/https_redirect_server.ts diff --git a/packages/core/http/core-http-server-internal/src/lifecycle/auth.ts b/src/core/packages/http/server-internal/src/lifecycle/auth.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/lifecycle/auth.ts rename to src/core/packages/http/server-internal/src/lifecycle/auth.ts diff --git a/packages/core/http/core-http-server-internal/src/lifecycle/on_post_auth.ts b/src/core/packages/http/server-internal/src/lifecycle/on_post_auth.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/lifecycle/on_post_auth.ts rename to src/core/packages/http/server-internal/src/lifecycle/on_post_auth.ts diff --git a/packages/core/http/core-http-server-internal/src/lifecycle/on_pre_auth.ts b/src/core/packages/http/server-internal/src/lifecycle/on_pre_auth.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/lifecycle/on_pre_auth.ts rename to src/core/packages/http/server-internal/src/lifecycle/on_pre_auth.ts diff --git a/packages/core/http/core-http-server-internal/src/lifecycle/on_pre_response.ts b/src/core/packages/http/server-internal/src/lifecycle/on_pre_response.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/lifecycle/on_pre_response.ts rename to src/core/packages/http/server-internal/src/lifecycle/on_pre_response.ts diff --git a/packages/core/http/core-http-server-internal/src/lifecycle/on_pre_routing.ts b/src/core/packages/http/server-internal/src/lifecycle/on_pre_routing.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/lifecycle/on_pre_routing.ts rename to src/core/packages/http/server-internal/src/lifecycle/on_pre_routing.ts diff --git a/packages/core/http/core-http-server-internal/src/lifecycle_handlers.test.ts b/src/core/packages/http/server-internal/src/lifecycle_handlers.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/lifecycle_handlers.test.ts rename to src/core/packages/http/server-internal/src/lifecycle_handlers.test.ts diff --git a/packages/core/http/core-http-server-internal/src/lifecycle_handlers.ts b/src/core/packages/http/server-internal/src/lifecycle_handlers.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/lifecycle_handlers.ts rename to src/core/packages/http/server-internal/src/lifecycle_handlers.ts diff --git a/packages/core/http/core-http-server-internal/src/logging/get_payload_size.test.ts b/src/core/packages/http/server-internal/src/logging/get_payload_size.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/logging/get_payload_size.test.ts rename to src/core/packages/http/server-internal/src/logging/get_payload_size.test.ts diff --git a/packages/core/http/core-http-server-internal/src/logging/get_payload_size.ts b/src/core/packages/http/server-internal/src/logging/get_payload_size.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/logging/get_payload_size.ts rename to src/core/packages/http/server-internal/src/logging/get_payload_size.ts diff --git a/packages/core/http/core-http-server-internal/src/logging/get_response_log.test.ts b/src/core/packages/http/server-internal/src/logging/get_response_log.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/logging/get_response_log.test.ts rename to src/core/packages/http/server-internal/src/logging/get_response_log.test.ts diff --git a/packages/core/http/core-http-server-internal/src/logging/get_response_log.ts b/src/core/packages/http/server-internal/src/logging/get_response_log.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/logging/get_response_log.ts rename to src/core/packages/http/server-internal/src/logging/get_response_log.ts diff --git a/packages/core/http/core-http-server-internal/src/logging/index.ts b/src/core/packages/http/server-internal/src/logging/index.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/logging/index.ts rename to src/core/packages/http/server-internal/src/logging/index.ts diff --git a/packages/core/http/core-http-server-internal/src/permissions_policy/config.ts b/src/core/packages/http/server-internal/src/permissions_policy/config.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/permissions_policy/config.ts rename to src/core/packages/http/server-internal/src/permissions_policy/config.ts diff --git a/packages/core/http/core-http-server-internal/src/permissions_policy/index.ts b/src/core/packages/http/server-internal/src/permissions_policy/index.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/permissions_policy/index.ts rename to src/core/packages/http/server-internal/src/permissions_policy/index.ts diff --git a/packages/core/http/core-http-server-internal/src/register_lifecycle_handlers.test.ts b/src/core/packages/http/server-internal/src/register_lifecycle_handlers.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/register_lifecycle_handlers.test.ts rename to src/core/packages/http/server-internal/src/register_lifecycle_handlers.test.ts diff --git a/packages/core/http/core-http-server-internal/src/register_lifecycle_handlers.ts b/src/core/packages/http/server-internal/src/register_lifecycle_handlers.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/register_lifecycle_handlers.ts rename to src/core/packages/http/server-internal/src/register_lifecycle_handlers.ts diff --git a/packages/core/http/core-http-server-internal/src/security_response_headers_config.test.ts b/src/core/packages/http/server-internal/src/security_response_headers_config.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/security_response_headers_config.test.ts rename to src/core/packages/http/server-internal/src/security_response_headers_config.test.ts diff --git a/packages/core/http/core-http-server-internal/src/security_response_headers_config.ts b/src/core/packages/http/server-internal/src/security_response_headers_config.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/security_response_headers_config.ts rename to src/core/packages/http/server-internal/src/security_response_headers_config.ts diff --git a/packages/core/http/core-http-server-internal/src/static_assets/index.ts b/src/core/packages/http/server-internal/src/static_assets/index.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/static_assets/index.ts rename to src/core/packages/http/server-internal/src/static_assets/index.ts diff --git a/packages/core/http/core-http-server-internal/src/static_assets/static_assets.test.ts b/src/core/packages/http/server-internal/src/static_assets/static_assets.test.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/static_assets/static_assets.test.ts rename to src/core/packages/http/server-internal/src/static_assets/static_assets.test.ts diff --git a/packages/core/http/core-http-server-internal/src/static_assets/static_assets.ts b/src/core/packages/http/server-internal/src/static_assets/static_assets.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/static_assets/static_assets.ts rename to src/core/packages/http/server-internal/src/static_assets/static_assets.ts diff --git a/packages/core/http/core-http-server-internal/src/static_assets/util.ts b/src/core/packages/http/server-internal/src/static_assets/util.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/static_assets/util.ts rename to src/core/packages/http/server-internal/src/static_assets/util.ts diff --git a/packages/core/http/core-http-server-internal/src/types.ts b/src/core/packages/http/server-internal/src/types.ts similarity index 100% rename from packages/core/http/core-http-server-internal/src/types.ts rename to src/core/packages/http/server-internal/src/types.ts diff --git a/packages/core/http/core-http-server-internal/tsconfig.json b/src/core/packages/http/server-internal/tsconfig.json similarity index 95% rename from packages/core/http/core-http-server-internal/tsconfig.json rename to src/core/packages/http/server-internal/tsconfig.json index 8e76d71f341da..d318d85bde77e 100644 --- a/packages/core/http/core-http-server-internal/tsconfig.json +++ b/src/core/packages/http/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-server-utils/README.md b/src/core/packages/http/server-utils/README.md similarity index 100% rename from packages/core/http/core-http-server-utils/README.md rename to src/core/packages/http/server-utils/README.md diff --git a/packages/core/http/core-http-server-utils/index.ts b/src/core/packages/http/server-utils/index.ts similarity index 100% rename from packages/core/http/core-http-server-utils/index.ts rename to src/core/packages/http/server-utils/index.ts diff --git a/src/core/packages/http/server-utils/jest.config.js b/src/core/packages/http/server-utils/jest.config.js new file mode 100644 index 0000000000000..e310d5cb0c78e --- /dev/null +++ b/src/core/packages/http/server-utils/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/http/server-utils'], +}; diff --git a/packages/core/http/core-http-server-utils/kibana.jsonc b/src/core/packages/http/server-utils/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-server-utils/kibana.jsonc rename to src/core/packages/http/server-utils/kibana.jsonc diff --git a/packages/core/http/core-http-server-utils/package.json b/src/core/packages/http/server-utils/package.json similarity index 100% rename from packages/core/http/core-http-server-utils/package.json rename to src/core/packages/http/server-utils/package.json diff --git a/packages/core/http/core-http-server-utils/src/request.ts b/src/core/packages/http/server-utils/src/request.ts similarity index 100% rename from packages/core/http/core-http-server-utils/src/request.ts rename to src/core/packages/http/server-utils/src/request.ts diff --git a/packages/core/http/core-http-server-utils/tsconfig.json b/src/core/packages/http/server-utils/tsconfig.json similarity index 84% rename from packages/core/http/core-http-server-utils/tsconfig.json rename to src/core/packages/http/server-utils/tsconfig.json index 0a0e4516c8c5d..21a43245dc49a 100644 --- a/packages/core/http/core-http-server-utils/tsconfig.json +++ b/src/core/packages/http/server-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/http/core-http-server/README.md b/src/core/packages/http/server/README.md similarity index 100% rename from packages/core/http/core-http-server/README.md rename to src/core/packages/http/server/README.md diff --git a/packages/core/http/core-http-server/index.ts b/src/core/packages/http/server/index.ts similarity index 100% rename from packages/core/http/core-http-server/index.ts rename to src/core/packages/http/server/index.ts diff --git a/packages/kbn-es-types/jest.config.js b/src/core/packages/http/server/jest.config.js similarity index 86% rename from packages/kbn-es-types/jest.config.js rename to src/core/packages/http/server/jest.config.js index de90d5a76ef1f..9e7d88447e6ef 100644 --- a/packages/kbn-es-types/jest.config.js +++ b/src/core/packages/http/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-es-types'], + rootDir: '../../../../..', + roots: ['/src/core/packages/http/server'], }; diff --git a/packages/core/http/core-http-server/kibana.jsonc b/src/core/packages/http/server/kibana.jsonc similarity index 100% rename from packages/core/http/core-http-server/kibana.jsonc rename to src/core/packages/http/server/kibana.jsonc diff --git a/packages/core/http/core-http-server/package.json b/src/core/packages/http/server/package.json similarity index 100% rename from packages/core/http/core-http-server/package.json rename to src/core/packages/http/server/package.json diff --git a/packages/core/http/core-http-server/src/auth_headers.ts b/src/core/packages/http/server/src/auth_headers.ts similarity index 100% rename from packages/core/http/core-http-server/src/auth_headers.ts rename to src/core/packages/http/server/src/auth_headers.ts diff --git a/packages/core/http/core-http-server/src/auth_state.ts b/src/core/packages/http/server/src/auth_state.ts similarity index 100% rename from packages/core/http/core-http-server/src/auth_state.ts rename to src/core/packages/http/server/src/auth_state.ts diff --git a/packages/core/http/core-http-server/src/base_path.ts b/src/core/packages/http/server/src/base_path.ts similarity index 100% rename from packages/core/http/core-http-server/src/base_path.ts rename to src/core/packages/http/server/src/base_path.ts diff --git a/packages/core/http/core-http-server/src/csp.ts b/src/core/packages/http/server/src/csp.ts similarity index 100% rename from packages/core/http/core-http-server/src/csp.ts rename to src/core/packages/http/server/src/csp.ts diff --git a/packages/core/http/core-http-server/src/elu_monitor.ts b/src/core/packages/http/server/src/elu_monitor.ts similarity index 100% rename from packages/core/http/core-http-server/src/elu_monitor.ts rename to src/core/packages/http/server/src/elu_monitor.ts diff --git a/packages/core/http/core-http-server/src/external_url.ts b/src/core/packages/http/server/src/external_url.ts similarity index 100% rename from packages/core/http/core-http-server/src/external_url.ts rename to src/core/packages/http/server/src/external_url.ts diff --git a/packages/core/http/core-http-server/src/http_contract.ts b/src/core/packages/http/server/src/http_contract.ts similarity index 100% rename from packages/core/http/core-http-server/src/http_contract.ts rename to src/core/packages/http/server/src/http_contract.ts diff --git a/packages/core/http/core-http-server/src/lifecycle/auth.ts b/src/core/packages/http/server/src/lifecycle/auth.ts similarity index 100% rename from packages/core/http/core-http-server/src/lifecycle/auth.ts rename to src/core/packages/http/server/src/lifecycle/auth.ts diff --git a/packages/core/http/core-http-server/src/lifecycle/index.ts b/src/core/packages/http/server/src/lifecycle/index.ts similarity index 100% rename from packages/core/http/core-http-server/src/lifecycle/index.ts rename to src/core/packages/http/server/src/lifecycle/index.ts diff --git a/packages/core/http/core-http-server/src/lifecycle/on_post_auth.ts b/src/core/packages/http/server/src/lifecycle/on_post_auth.ts similarity index 100% rename from packages/core/http/core-http-server/src/lifecycle/on_post_auth.ts rename to src/core/packages/http/server/src/lifecycle/on_post_auth.ts diff --git a/packages/core/http/core-http-server/src/lifecycle/on_pre_auth.ts b/src/core/packages/http/server/src/lifecycle/on_pre_auth.ts similarity index 100% rename from packages/core/http/core-http-server/src/lifecycle/on_pre_auth.ts rename to src/core/packages/http/server/src/lifecycle/on_pre_auth.ts diff --git a/packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts b/src/core/packages/http/server/src/lifecycle/on_pre_response.ts similarity index 100% rename from packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts rename to src/core/packages/http/server/src/lifecycle/on_pre_response.ts diff --git a/packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts b/src/core/packages/http/server/src/lifecycle/on_pre_routing.ts similarity index 100% rename from packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts rename to src/core/packages/http/server/src/lifecycle/on_pre_routing.ts diff --git a/packages/core/http/core-http-server/src/router/context_container.ts b/src/core/packages/http/server/src/router/context_container.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/context_container.ts rename to src/core/packages/http/server/src/router/context_container.ts diff --git a/packages/core/http/core-http-server/src/router/context_provider.ts b/src/core/packages/http/server/src/router/context_provider.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/context_provider.ts rename to src/core/packages/http/server/src/router/context_provider.ts diff --git a/packages/core/http/core-http-server/src/router/headers.ts b/src/core/packages/http/server/src/router/headers.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/headers.ts rename to src/core/packages/http/server/src/router/headers.ts diff --git a/packages/core/http/core-http-server/src/router/index.ts b/src/core/packages/http/server/src/router/index.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/index.ts rename to src/core/packages/http/server/src/router/index.ts diff --git a/packages/core/http/core-http-server/src/router/raw_request.ts b/src/core/packages/http/server/src/router/raw_request.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/raw_request.ts rename to src/core/packages/http/server/src/router/raw_request.ts diff --git a/packages/core/http/core-http-server/src/router/request.ts b/src/core/packages/http/server/src/router/request.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/request.ts rename to src/core/packages/http/server/src/router/request.ts diff --git a/packages/core/http/core-http-server/src/router/request_handler.ts b/src/core/packages/http/server/src/router/request_handler.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/request_handler.ts rename to src/core/packages/http/server/src/router/request_handler.ts diff --git a/packages/core/http/core-http-server/src/router/request_handler_context.ts b/src/core/packages/http/server/src/router/request_handler_context.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/request_handler_context.ts rename to src/core/packages/http/server/src/router/request_handler_context.ts diff --git a/packages/core/http/core-http-server/src/router/response.test.ts b/src/core/packages/http/server/src/router/response.test.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/response.test.ts rename to src/core/packages/http/server/src/router/response.test.ts diff --git a/packages/core/http/core-http-server/src/router/response.ts b/src/core/packages/http/server/src/router/response.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/response.ts rename to src/core/packages/http/server/src/router/response.ts diff --git a/packages/core/http/core-http-server/src/router/response_factory.ts b/src/core/packages/http/server/src/router/response_factory.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/response_factory.ts rename to src/core/packages/http/server/src/router/response_factory.ts diff --git a/packages/core/http/core-http-server/src/router/route.ts b/src/core/packages/http/server/src/router/route.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/route.ts rename to src/core/packages/http/server/src/router/route.ts diff --git a/packages/core/http/core-http-server/src/router/route_validator.ts b/src/core/packages/http/server/src/router/route_validator.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/route_validator.ts rename to src/core/packages/http/server/src/router/route_validator.ts diff --git a/packages/core/http/core-http-server/src/router/router.ts b/src/core/packages/http/server/src/router/router.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/router.ts rename to src/core/packages/http/server/src/router/router.ts diff --git a/packages/core/http/core-http-server/src/router/socket.ts b/src/core/packages/http/server/src/router/socket.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/socket.ts rename to src/core/packages/http/server/src/router/socket.ts diff --git a/packages/core/http/core-http-server/src/router/utils.test.ts b/src/core/packages/http/server/src/router/utils.test.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/utils.test.ts rename to src/core/packages/http/server/src/router/utils.test.ts diff --git a/packages/core/http/core-http-server/src/router/utils.ts b/src/core/packages/http/server/src/router/utils.ts similarity index 100% rename from packages/core/http/core-http-server/src/router/utils.ts rename to src/core/packages/http/server/src/router/utils.ts diff --git a/packages/core/http/core-http-server/src/session_storage.ts b/src/core/packages/http/server/src/session_storage.ts similarity index 100% rename from packages/core/http/core-http-server/src/session_storage.ts rename to src/core/packages/http/server/src/session_storage.ts diff --git a/packages/core/http/core-http-server/src/static_assets.ts b/src/core/packages/http/server/src/static_assets.ts similarity index 100% rename from packages/core/http/core-http-server/src/static_assets.ts rename to src/core/packages/http/server/src/static_assets.ts diff --git a/packages/core/http/core-http-server/src/versioning/README.md b/src/core/packages/http/server/src/versioning/README.md similarity index 100% rename from packages/core/http/core-http-server/src/versioning/README.md rename to src/core/packages/http/server/src/versioning/README.md diff --git a/packages/core/http/core-http-server/src/versioning/index.ts b/src/core/packages/http/server/src/versioning/index.ts similarity index 100% rename from packages/core/http/core-http-server/src/versioning/index.ts rename to src/core/packages/http/server/src/versioning/index.ts diff --git a/packages/core/http/core-http-server/src/versioning/types.ts b/src/core/packages/http/server/src/versioning/types.ts similarity index 100% rename from packages/core/http/core-http-server/src/versioning/types.ts rename to src/core/packages/http/server/src/versioning/types.ts diff --git a/packages/core/http/core-http-server/tsconfig.json b/src/core/packages/http/server/tsconfig.json similarity index 87% rename from packages/core/http/core-http-server/tsconfig.json rename to src/core/packages/http/server/tsconfig.json index 50a0ce973eb4e..964aafe1a080e 100644 --- a/packages/core/http/core-http-server/tsconfig.json +++ b/src/core/packages/http/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/i18n/core-i18n-browser-internal/README.md b/src/core/packages/i18n/browser-internal/README.md similarity index 100% rename from packages/core/i18n/core-i18n-browser-internal/README.md rename to src/core/packages/i18n/browser-internal/README.md diff --git a/packages/core/i18n/core-i18n-browser-internal/index.ts b/src/core/packages/i18n/browser-internal/index.ts similarity index 100% rename from packages/core/i18n/core-i18n-browser-internal/index.ts rename to src/core/packages/i18n/browser-internal/index.ts diff --git a/src/core/packages/i18n/browser-internal/jest.config.js b/src/core/packages/i18n/browser-internal/jest.config.js new file mode 100644 index 0000000000000..c3b564c016692 --- /dev/null +++ b/src/core/packages/i18n/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/i18n/browser-internal'], +}; diff --git a/packages/core/i18n/core-i18n-browser-internal/kibana.jsonc b/src/core/packages/i18n/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/i18n/core-i18n-browser-internal/kibana.jsonc rename to src/core/packages/i18n/browser-internal/kibana.jsonc diff --git a/packages/core/i18n/core-i18n-browser-internal/package.json b/src/core/packages/i18n/browser-internal/package.json similarity index 100% rename from packages/core/i18n/core-i18n-browser-internal/package.json rename to src/core/packages/i18n/browser-internal/package.json diff --git a/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap b/src/core/packages/i18n/browser-internal/src/__snapshots__/i18n_service.test.tsx.snap similarity index 100% rename from packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap rename to src/core/packages/i18n/browser-internal/src/__snapshots__/i18n_service.test.tsx.snap diff --git a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.test.ts b/src/core/packages/i18n/browser-internal/src/i18n_eui_mapping.test.ts similarity index 100% rename from packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.test.ts rename to src/core/packages/i18n/browser-internal/src/i18n_eui_mapping.test.ts diff --git a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx b/src/core/packages/i18n/browser-internal/src/i18n_eui_mapping.tsx similarity index 100% rename from packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx rename to src/core/packages/i18n/browser-internal/src/i18n_eui_mapping.tsx diff --git a/packages/core/i18n/core-i18n-browser-internal/src/i18n_service.test.tsx b/src/core/packages/i18n/browser-internal/src/i18n_service.test.tsx similarity index 100% rename from packages/core/i18n/core-i18n-browser-internal/src/i18n_service.test.tsx rename to src/core/packages/i18n/browser-internal/src/i18n_service.test.tsx diff --git a/packages/core/i18n/core-i18n-browser-internal/src/i18n_service.tsx b/src/core/packages/i18n/browser-internal/src/i18n_service.tsx similarity index 100% rename from packages/core/i18n/core-i18n-browser-internal/src/i18n_service.tsx rename to src/core/packages/i18n/browser-internal/src/i18n_service.tsx diff --git a/packages/core/i18n/core-i18n-browser-internal/tsconfig.json b/src/core/packages/i18n/browser-internal/tsconfig.json similarity index 85% rename from packages/core/i18n/core-i18n-browser-internal/tsconfig.json rename to src/core/packages/i18n/browser-internal/tsconfig.json index fe90039b68112..6ab84058fc78f 100644 --- a/packages/core/i18n/core-i18n-browser-internal/tsconfig.json +++ b/src/core/packages/i18n/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/i18n/core-i18n-browser/README.md b/src/core/packages/i18n/browser/README.md similarity index 100% rename from packages/core/i18n/core-i18n-browser/README.md rename to src/core/packages/i18n/browser/README.md diff --git a/packages/core/i18n/core-i18n-browser/index.ts b/src/core/packages/i18n/browser/index.ts similarity index 100% rename from packages/core/i18n/core-i18n-browser/index.ts rename to src/core/packages/i18n/browser/index.ts diff --git a/packages/kbn-config/jest.config.js b/src/core/packages/i18n/browser/jest.config.js similarity index 85% rename from packages/kbn-config/jest.config.js rename to src/core/packages/i18n/browser/jest.config.js index 09a4d4e774ca8..d49bf28b3edc7 100644 --- a/packages/kbn-config/jest.config.js +++ b/src/core/packages/i18n/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-config'], + rootDir: '../../../../..', + roots: ['/src/core/packages/i18n/browser'], }; diff --git a/packages/core/i18n/core-i18n-browser/kibana.jsonc b/src/core/packages/i18n/browser/kibana.jsonc similarity index 100% rename from packages/core/i18n/core-i18n-browser/kibana.jsonc rename to src/core/packages/i18n/browser/kibana.jsonc diff --git a/packages/core/i18n/core-i18n-browser/package.json b/src/core/packages/i18n/browser/package.json similarity index 100% rename from packages/core/i18n/core-i18n-browser/package.json rename to src/core/packages/i18n/browser/package.json diff --git a/packages/core/i18n/core-i18n-browser/src/types.ts b/src/core/packages/i18n/browser/src/types.ts similarity index 100% rename from packages/core/i18n/core-i18n-browser/src/types.ts rename to src/core/packages/i18n/browser/src/types.ts diff --git a/packages/core/i18n/core-i18n-browser/tsconfig.json b/src/core/packages/i18n/browser/tsconfig.json similarity index 80% rename from packages/core/i18n/core-i18n-browser/tsconfig.json rename to src/core/packages/i18n/browser/tsconfig.json index 6f535b8372d54..560e494ba5c84 100644 --- a/packages/core/i18n/core-i18n-browser/tsconfig.json +++ b/src/core/packages/i18n/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/i18n/core-i18n-server-internal/README.md b/src/core/packages/i18n/server-internal/README.md similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/README.md rename to src/core/packages/i18n/server-internal/README.md diff --git a/packages/core/i18n/core-i18n-server-internal/index.ts b/src/core/packages/i18n/server-internal/index.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/index.ts rename to src/core/packages/i18n/server-internal/index.ts diff --git a/src/core/packages/i18n/server-internal/jest.config.js b/src/core/packages/i18n/server-internal/jest.config.js new file mode 100644 index 0000000000000..ab999bb98113a --- /dev/null +++ b/src/core/packages/i18n/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/i18n/server-internal'], +}; diff --git a/packages/core/i18n/core-i18n-server-internal/kibana.jsonc b/src/core/packages/i18n/server-internal/kibana.jsonc similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/kibana.jsonc rename to src/core/packages/i18n/server-internal/kibana.jsonc diff --git a/packages/core/i18n/core-i18n-server-internal/package.json b/src/core/packages/i18n/server-internal/package.json similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/package.json rename to src/core/packages/i18n/server-internal/package.json diff --git a/packages/core/i18n/core-i18n-server-internal/src/constants.ts b/src/core/packages/i18n/server-internal/src/constants.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/constants.ts rename to src/core/packages/i18n/server-internal/src/constants.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/get_kibana_translation_files.test.ts b/src/core/packages/i18n/server-internal/src/get_kibana_translation_files.test.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/get_kibana_translation_files.test.ts rename to src/core/packages/i18n/server-internal/src/get_kibana_translation_files.test.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/get_kibana_translation_files.ts b/src/core/packages/i18n/server-internal/src/get_kibana_translation_files.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/get_kibana_translation_files.ts rename to src/core/packages/i18n/server-internal/src/get_kibana_translation_files.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/get_translation_paths.test.mocks.ts b/src/core/packages/i18n/server-internal/src/get_translation_paths.test.mocks.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/get_translation_paths.test.mocks.ts rename to src/core/packages/i18n/server-internal/src/get_translation_paths.test.mocks.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/get_translation_paths.test.ts b/src/core/packages/i18n/server-internal/src/get_translation_paths.test.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/get_translation_paths.test.ts rename to src/core/packages/i18n/server-internal/src/get_translation_paths.test.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/get_translation_paths.ts b/src/core/packages/i18n/server-internal/src/get_translation_paths.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/get_translation_paths.ts rename to src/core/packages/i18n/server-internal/src/get_translation_paths.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/i18n_config.ts b/src/core/packages/i18n/server-internal/src/i18n_config.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/i18n_config.ts rename to src/core/packages/i18n/server-internal/src/i18n_config.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/i18n_service.test.mocks.ts b/src/core/packages/i18n/server-internal/src/i18n_service.test.mocks.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/i18n_service.test.mocks.ts rename to src/core/packages/i18n/server-internal/src/i18n_service.test.mocks.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/i18n_service.test.ts b/src/core/packages/i18n/server-internal/src/i18n_service.test.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/i18n_service.test.ts rename to src/core/packages/i18n/server-internal/src/i18n_service.test.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/i18n_service.ts b/src/core/packages/i18n/server-internal/src/i18n_service.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/i18n_service.ts rename to src/core/packages/i18n/server-internal/src/i18n_service.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/index.ts b/src/core/packages/i18n/server-internal/src/index.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/index.ts rename to src/core/packages/i18n/server-internal/src/index.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/init_translations.ts b/src/core/packages/i18n/server-internal/src/init_translations.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/init_translations.ts rename to src/core/packages/i18n/server-internal/src/init_translations.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/routes/index.ts b/src/core/packages/i18n/server-internal/src/routes/index.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/routes/index.ts rename to src/core/packages/i18n/server-internal/src/routes/index.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/routes/translations.test.ts b/src/core/packages/i18n/server-internal/src/routes/translations.test.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/routes/translations.test.ts rename to src/core/packages/i18n/server-internal/src/routes/translations.test.ts diff --git a/packages/core/i18n/core-i18n-server-internal/src/routes/translations.ts b/src/core/packages/i18n/server-internal/src/routes/translations.ts similarity index 100% rename from packages/core/i18n/core-i18n-server-internal/src/routes/translations.ts rename to src/core/packages/i18n/server-internal/src/routes/translations.ts diff --git a/packages/core/i18n/core-i18n-server-internal/tsconfig.json b/src/core/packages/i18n/server-internal/tsconfig.json similarity index 92% rename from packages/core/i18n/core-i18n-server-internal/tsconfig.json rename to src/core/packages/i18n/server-internal/tsconfig.json index a00305e2ca096..f59588082be09 100644 --- a/packages/core/i18n/core-i18n-server-internal/tsconfig.json +++ b/src/core/packages/i18n/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/i18n/core-i18n-server/README.md b/src/core/packages/i18n/server/README.md similarity index 100% rename from packages/core/i18n/core-i18n-server/README.md rename to src/core/packages/i18n/server/README.md diff --git a/packages/core/i18n/core-i18n-server/index.ts b/src/core/packages/i18n/server/index.ts similarity index 100% rename from packages/core/i18n/core-i18n-server/index.ts rename to src/core/packages/i18n/server/index.ts diff --git a/packages/kbn-apm-config-loader/jest.config.js b/src/core/packages/i18n/server/jest.config.js similarity index 86% rename from packages/kbn-apm-config-loader/jest.config.js rename to src/core/packages/i18n/server/jest.config.js index 5b4bf2b997ad6..d8e4c3d082114 100644 --- a/packages/kbn-apm-config-loader/jest.config.js +++ b/src/core/packages/i18n/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-apm-config-loader'], + rootDir: '../../../../..', + roots: ['/src/core/packages/i18n/server'], }; diff --git a/packages/core/i18n/core-i18n-server/kibana.jsonc b/src/core/packages/i18n/server/kibana.jsonc similarity index 100% rename from packages/core/i18n/core-i18n-server/kibana.jsonc rename to src/core/packages/i18n/server/kibana.jsonc diff --git a/packages/core/i18n/core-i18n-server/package.json b/src/core/packages/i18n/server/package.json similarity index 100% rename from packages/core/i18n/core-i18n-server/package.json rename to src/core/packages/i18n/server/package.json diff --git a/packages/core/i18n/core-i18n-server/src/types.ts b/src/core/packages/i18n/server/src/types.ts similarity index 100% rename from packages/core/i18n/core-i18n-server/src/types.ts rename to src/core/packages/i18n/server/src/types.ts diff --git a/src/core/packages/i18n/server/tsconfig.json b/src/core/packages/i18n/server/tsconfig.json new file mode 100644 index 0000000000000..131ff3e6bb433 --- /dev/null +++ b/src/core/packages/i18n/server/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/README.md b/src/core/packages/injected-metadata/browser-internal/README.md similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-browser-internal/README.md rename to src/core/packages/injected-metadata/browser-internal/README.md diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/index.ts b/src/core/packages/injected-metadata/browser-internal/index.ts similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-browser-internal/index.ts rename to src/core/packages/injected-metadata/browser-internal/index.ts diff --git a/src/core/packages/injected-metadata/browser-internal/jest.config.js b/src/core/packages/injected-metadata/browser-internal/jest.config.js new file mode 100644 index 0000000000000..df73a086f114e --- /dev/null +++ b/src/core/packages/injected-metadata/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/injected-metadata/browser-internal'], +}; diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/kibana.jsonc b/src/core/packages/injected-metadata/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-browser-internal/kibana.jsonc rename to src/core/packages/injected-metadata/browser-internal/kibana.jsonc diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/package.json b/src/core/packages/injected-metadata/browser-internal/package.json similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-browser-internal/package.json rename to src/core/packages/injected-metadata/browser-internal/package.json diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/src/injected_metadata_service.test.ts b/src/core/packages/injected-metadata/browser-internal/src/injected_metadata_service.test.ts similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-browser-internal/src/injected_metadata_service.test.ts rename to src/core/packages/injected-metadata/browser-internal/src/injected_metadata_service.test.ts diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/src/injected_metadata_service.ts b/src/core/packages/injected-metadata/browser-internal/src/injected_metadata_service.ts similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-browser-internal/src/injected_metadata_service.ts rename to src/core/packages/injected-metadata/browser-internal/src/injected_metadata_service.ts diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/src/types.ts b/src/core/packages/injected-metadata/browser-internal/src/types.ts similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-browser-internal/src/types.ts rename to src/core/packages/injected-metadata/browser-internal/src/types.ts diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/tsconfig.json b/src/core/packages/injected-metadata/browser-internal/tsconfig.json similarity index 87% rename from packages/core/injected-metadata/core-injected-metadata-browser-internal/tsconfig.json rename to src/core/packages/injected-metadata/browser-internal/tsconfig.json index 5b8cc7fff4bc2..75d261eaee357 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser-internal/tsconfig.json +++ b/src/core/packages/injected-metadata/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/README.md b/src/core/packages/injected-metadata/common-internal/README.md similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-common-internal/README.md rename to src/core/packages/injected-metadata/common-internal/README.md diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/index.ts b/src/core/packages/injected-metadata/common-internal/index.ts similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-common-internal/index.ts rename to src/core/packages/injected-metadata/common-internal/index.ts diff --git a/packages/core/logging/core-logging-browser-internal/jest.config.js b/src/core/packages/injected-metadata/common-internal/jest.config.js similarity index 84% rename from packages/core/logging/core-logging-browser-internal/jest.config.js rename to src/core/packages/injected-metadata/common-internal/jest.config.js index e5368b214af83..31f3ff66a6a01 100644 --- a/packages/core/logging/core-logging-browser-internal/jest.config.js +++ b/src/core/packages/injected-metadata/common-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/logging/core-logging-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/injected-metadata/common-internal'], }; diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/kibana.jsonc b/src/core/packages/injected-metadata/common-internal/kibana.jsonc similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-common-internal/kibana.jsonc rename to src/core/packages/injected-metadata/common-internal/kibana.jsonc diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/package.json b/src/core/packages/injected-metadata/common-internal/package.json similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-common-internal/package.json rename to src/core/packages/injected-metadata/common-internal/package.json diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/src/types.ts b/src/core/packages/injected-metadata/common-internal/src/types.ts similarity index 100% rename from packages/core/injected-metadata/core-injected-metadata-common-internal/src/types.ts rename to src/core/packages/injected-metadata/common-internal/src/types.ts diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/tsconfig.json b/src/core/packages/injected-metadata/common-internal/tsconfig.json similarity index 89% rename from packages/core/injected-metadata/core-injected-metadata-common-internal/tsconfig.json rename to src/core/packages/injected-metadata/common-internal/tsconfig.json index 85b7e12e85625..33a5e49bed1c6 100644 --- a/packages/core/injected-metadata/core-injected-metadata-common-internal/tsconfig.json +++ b/src/core/packages/injected-metadata/common-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/integrations/core-integrations-browser-internal/README.md b/src/core/packages/integrations/browser-internal/README.md similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/README.md rename to src/core/packages/integrations/browser-internal/README.md diff --git a/packages/core/integrations/core-integrations-browser-internal/index.ts b/src/core/packages/integrations/browser-internal/index.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/index.ts rename to src/core/packages/integrations/browser-internal/index.ts diff --git a/src/core/packages/integrations/browser-internal/jest.config.js b/src/core/packages/integrations/browser-internal/jest.config.js new file mode 100644 index 0000000000000..12212c5759826 --- /dev/null +++ b/src/core/packages/integrations/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/integrations/browser-internal'], +}; diff --git a/packages/core/integrations/core-integrations-browser-internal/kibana.jsonc b/src/core/packages/integrations/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/kibana.jsonc rename to src/core/packages/integrations/browser-internal/kibana.jsonc diff --git a/packages/core/integrations/core-integrations-browser-internal/package.json b/src/core/packages/integrations/browser-internal/package.json similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/package.json rename to src/core/packages/integrations/browser-internal/package.json diff --git a/packages/core/integrations/core-integrations-browser-internal/src/integrations_service.test.mocks.ts b/src/core/packages/integrations/browser-internal/src/integrations_service.test.mocks.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/integrations_service.test.mocks.ts rename to src/core/packages/integrations/browser-internal/src/integrations_service.test.mocks.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/src/integrations_service.test.ts b/src/core/packages/integrations/browser-internal/src/integrations_service.test.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/integrations_service.test.ts rename to src/core/packages/integrations/browser-internal/src/integrations_service.test.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/src/integrations_service.ts b/src/core/packages/integrations/browser-internal/src/integrations_service.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/integrations_service.ts rename to src/core/packages/integrations/browser-internal/src/integrations_service.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/src/moment/index.ts b/src/core/packages/integrations/browser-internal/src/moment/index.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/moment/index.ts rename to src/core/packages/integrations/browser-internal/src/moment/index.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/src/moment/moment_service.test.mocks.ts b/src/core/packages/integrations/browser-internal/src/moment/moment_service.test.mocks.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/moment/moment_service.test.mocks.ts rename to src/core/packages/integrations/browser-internal/src/moment/moment_service.test.mocks.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/src/moment/moment_service.test.ts b/src/core/packages/integrations/browser-internal/src/moment/moment_service.test.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/moment/moment_service.test.ts rename to src/core/packages/integrations/browser-internal/src/moment/moment_service.test.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/src/moment/moment_service.ts b/src/core/packages/integrations/browser-internal/src/moment/moment_service.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/moment/moment_service.ts rename to src/core/packages/integrations/browser-internal/src/moment/moment_service.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/src/styles/disable_animations.css b/src/core/packages/integrations/browser-internal/src/styles/disable_animations.css similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/styles/disable_animations.css rename to src/core/packages/integrations/browser-internal/src/styles/disable_animations.css diff --git a/packages/core/integrations/core-integrations-browser-internal/src/styles/index.ts b/src/core/packages/integrations/browser-internal/src/styles/index.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/styles/index.ts rename to src/core/packages/integrations/browser-internal/src/styles/index.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/src/styles/styles_service.test.ts b/src/core/packages/integrations/browser-internal/src/styles/styles_service.test.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/styles/styles_service.test.ts rename to src/core/packages/integrations/browser-internal/src/styles/styles_service.test.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/src/styles/styles_service.ts b/src/core/packages/integrations/browser-internal/src/styles/styles_service.ts similarity index 100% rename from packages/core/integrations/core-integrations-browser-internal/src/styles/styles_service.ts rename to src/core/packages/integrations/browser-internal/src/styles/styles_service.ts diff --git a/packages/core/integrations/core-integrations-browser-internal/tsconfig.json b/src/core/packages/integrations/browser-internal/tsconfig.json similarity index 87% rename from packages/core/integrations/core-integrations-browser-internal/tsconfig.json rename to src/core/packages/integrations/browser-internal/tsconfig.json index a160ce80ae03a..d755da40092c3 100644 --- a/packages/core/integrations/core-integrations-browser-internal/tsconfig.json +++ b/src/core/packages/integrations/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/README.md b/src/core/packages/lifecycle/browser-internal/README.md similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser-internal/README.md rename to src/core/packages/lifecycle/browser-internal/README.md diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/index.ts b/src/core/packages/lifecycle/browser-internal/index.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser-internal/index.ts rename to src/core/packages/lifecycle/browser-internal/index.ts diff --git a/packages/core/doc-links/core-doc-links-browser/jest.config.js b/src/core/packages/lifecycle/browser-internal/jest.config.js similarity index 83% rename from packages/core/doc-links/core-doc-links-browser/jest.config.js rename to src/core/packages/lifecycle/browser-internal/jest.config.js index 3d1d231c2a425..b30487db11950 100644 --- a/packages/core/doc-links/core-doc-links-browser/jest.config.js +++ b/src/core/packages/lifecycle/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/doc-links/core-doc-links-browser'], + rootDir: '../../../../..', + roots: ['/src/core/packages/lifecycle/browser-internal'], }; diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/kibana.jsonc b/src/core/packages/lifecycle/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser-internal/kibana.jsonc rename to src/core/packages/lifecycle/browser-internal/kibana.jsonc diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/package.json b/src/core/packages/lifecycle/browser-internal/package.json similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser-internal/package.json rename to src/core/packages/lifecycle/browser-internal/package.json diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/src/index.ts b/src/core/packages/lifecycle/browser-internal/src/index.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser-internal/src/index.ts rename to src/core/packages/lifecycle/browser-internal/src/index.ts diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/src/internal_core_setup.ts b/src/core/packages/lifecycle/browser-internal/src/internal_core_setup.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser-internal/src/internal_core_setup.ts rename to src/core/packages/lifecycle/browser-internal/src/internal_core_setup.ts diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/src/internal_core_start.ts b/src/core/packages/lifecycle/browser-internal/src/internal_core_start.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser-internal/src/internal_core_start.ts rename to src/core/packages/lifecycle/browser-internal/src/internal_core_start.ts diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/tsconfig.json b/src/core/packages/lifecycle/browser-internal/tsconfig.json similarity index 91% rename from packages/core/lifecycle/core-lifecycle-browser-internal/tsconfig.json rename to src/core/packages/lifecycle/browser-internal/tsconfig.json index 84c55c0e87b90..7a7c613f4fbf8 100644 --- a/packages/core/lifecycle/core-lifecycle-browser-internal/tsconfig.json +++ b/src/core/packages/lifecycle/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/lifecycle/core-lifecycle-browser/README.md b/src/core/packages/lifecycle/browser/README.md similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser/README.md rename to src/core/packages/lifecycle/browser/README.md diff --git a/packages/core/lifecycle/core-lifecycle-browser/index.ts b/src/core/packages/lifecycle/browser/index.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser/index.ts rename to src/core/packages/lifecycle/browser/index.ts diff --git a/src/core/packages/lifecycle/browser/jest.config.js b/src/core/packages/lifecycle/browser/jest.config.js new file mode 100644 index 0000000000000..f402e6156b9ae --- /dev/null +++ b/src/core/packages/lifecycle/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/lifecycle/browser'], +}; diff --git a/packages/core/lifecycle/core-lifecycle-browser/kibana.jsonc b/src/core/packages/lifecycle/browser/kibana.jsonc similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser/kibana.jsonc rename to src/core/packages/lifecycle/browser/kibana.jsonc diff --git a/packages/core/lifecycle/core-lifecycle-browser/package.json b/src/core/packages/lifecycle/browser/package.json similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser/package.json rename to src/core/packages/lifecycle/browser/package.json diff --git a/packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts b/src/core/packages/lifecycle/browser/src/core_setup.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts rename to src/core/packages/lifecycle/browser/src/core_setup.ts diff --git a/packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts b/src/core/packages/lifecycle/browser/src/core_start.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts rename to src/core/packages/lifecycle/browser/src/core_start.ts diff --git a/packages/core/lifecycle/core-lifecycle-browser/src/index.ts b/src/core/packages/lifecycle/browser/src/index.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-browser/src/index.ts rename to src/core/packages/lifecycle/browser/src/index.ts diff --git a/packages/core/lifecycle/core-lifecycle-browser/tsconfig.json b/src/core/packages/lifecycle/browser/tsconfig.json similarity index 94% rename from packages/core/lifecycle/core-lifecycle-browser/tsconfig.json rename to src/core/packages/lifecycle/browser/tsconfig.json index b7ded984ac90b..35420a3f1cd9a 100644 --- a/packages/core/lifecycle/core-lifecycle-browser/tsconfig.json +++ b/src/core/packages/lifecycle/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/README.md b/src/core/packages/lifecycle/server-internal/README.md similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server-internal/README.md rename to src/core/packages/lifecycle/server-internal/README.md diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/index.ts b/src/core/packages/lifecycle/server-internal/index.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server-internal/index.ts rename to src/core/packages/lifecycle/server-internal/index.ts diff --git a/src/core/packages/lifecycle/server-internal/jest.config.js b/src/core/packages/lifecycle/server-internal/jest.config.js new file mode 100644 index 0000000000000..672f626f012af --- /dev/null +++ b/src/core/packages/lifecycle/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/lifecycle/server-internal'], +}; diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/kibana.jsonc b/src/core/packages/lifecycle/server-internal/kibana.jsonc similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server-internal/kibana.jsonc rename to src/core/packages/lifecycle/server-internal/kibana.jsonc diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/package.json b/src/core/packages/lifecycle/server-internal/package.json similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server-internal/package.json rename to src/core/packages/lifecycle/server-internal/package.json diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/src/index.ts b/src/core/packages/lifecycle/server-internal/src/index.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server-internal/src/index.ts rename to src/core/packages/lifecycle/server-internal/src/index.ts diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/src/internal_core_preboot.ts b/src/core/packages/lifecycle/server-internal/src/internal_core_preboot.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server-internal/src/internal_core_preboot.ts rename to src/core/packages/lifecycle/server-internal/src/internal_core_preboot.ts diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/src/internal_core_setup.ts b/src/core/packages/lifecycle/server-internal/src/internal_core_setup.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server-internal/src/internal_core_setup.ts rename to src/core/packages/lifecycle/server-internal/src/internal_core_setup.ts diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/src/internal_core_start.ts b/src/core/packages/lifecycle/server-internal/src/internal_core_start.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server-internal/src/internal_core_start.ts rename to src/core/packages/lifecycle/server-internal/src/internal_core_start.ts diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/tsconfig.json b/src/core/packages/lifecycle/server-internal/tsconfig.json similarity index 96% rename from packages/core/lifecycle/core-lifecycle-server-internal/tsconfig.json rename to src/core/packages/lifecycle/server-internal/tsconfig.json index 5f7939e82e533..5180c54f857dc 100644 --- a/packages/core/lifecycle/core-lifecycle-server-internal/tsconfig.json +++ b/src/core/packages/lifecycle/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/lifecycle/core-lifecycle-server/README.md b/src/core/packages/lifecycle/server/README.md similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server/README.md rename to src/core/packages/lifecycle/server/README.md diff --git a/packages/core/lifecycle/core-lifecycle-server/index.ts b/src/core/packages/lifecycle/server/index.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server/index.ts rename to src/core/packages/lifecycle/server/index.ts diff --git a/src/core/packages/lifecycle/server/jest.config.js b/src/core/packages/lifecycle/server/jest.config.js new file mode 100644 index 0000000000000..514246a8a9cff --- /dev/null +++ b/src/core/packages/lifecycle/server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/lifecycle/server'], +}; diff --git a/packages/core/lifecycle/core-lifecycle-server/kibana.jsonc b/src/core/packages/lifecycle/server/kibana.jsonc similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server/kibana.jsonc rename to src/core/packages/lifecycle/server/kibana.jsonc diff --git a/packages/core/lifecycle/core-lifecycle-server/package.json b/src/core/packages/lifecycle/server/package.json similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server/package.json rename to src/core/packages/lifecycle/server/package.json diff --git a/packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts b/src/core/packages/lifecycle/server/src/core_preboot.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts rename to src/core/packages/lifecycle/server/src/core_preboot.ts diff --git a/packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts b/src/core/packages/lifecycle/server/src/core_setup.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts rename to src/core/packages/lifecycle/server/src/core_setup.ts diff --git a/packages/core/lifecycle/core-lifecycle-server/src/core_start.ts b/src/core/packages/lifecycle/server/src/core_start.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server/src/core_start.ts rename to src/core/packages/lifecycle/server/src/core_start.ts diff --git a/packages/core/lifecycle/core-lifecycle-server/src/index.ts b/src/core/packages/lifecycle/server/src/index.ts similarity index 100% rename from packages/core/lifecycle/core-lifecycle-server/src/index.ts rename to src/core/packages/lifecycle/server/src/index.ts diff --git a/packages/core/lifecycle/core-lifecycle-server/tsconfig.json b/src/core/packages/lifecycle/server/tsconfig.json similarity index 95% rename from packages/core/lifecycle/core-lifecycle-server/tsconfig.json rename to src/core/packages/lifecycle/server/tsconfig.json index c8b95eed1e6d7..2a1ee1ca6d63d 100644 --- a/packages/core/lifecycle/core-lifecycle-server/tsconfig.json +++ b/src/core/packages/lifecycle/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/logging/core-logging-browser-internal/README.md b/src/core/packages/logging/browser-internal/README.md similarity index 100% rename from packages/core/logging/core-logging-browser-internal/README.md rename to src/core/packages/logging/browser-internal/README.md diff --git a/packages/core/logging/core-logging-browser-internal/index.ts b/src/core/packages/logging/browser-internal/index.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/index.ts rename to src/core/packages/logging/browser-internal/index.ts diff --git a/packages/core/http/core-http-browser-internal/jest.config.js b/src/core/packages/logging/browser-internal/jest.config.js similarity index 84% rename from packages/core/http/core-http-browser-internal/jest.config.js rename to src/core/packages/logging/browser-internal/jest.config.js index 20ba6dc285440..5aa1dc9e83126 100644 --- a/packages/core/http/core-http-browser-internal/jest.config.js +++ b/src/core/packages/logging/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/logging/browser-internal'], }; diff --git a/packages/core/logging/core-logging-browser-internal/kibana.jsonc b/src/core/packages/logging/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/logging/core-logging-browser-internal/kibana.jsonc rename to src/core/packages/logging/browser-internal/kibana.jsonc diff --git a/packages/core/logging/core-logging-browser-internal/package.json b/src/core/packages/logging/browser-internal/package.json similarity index 100% rename from packages/core/logging/core-logging-browser-internal/package.json rename to src/core/packages/logging/browser-internal/package.json diff --git a/packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.test.ts b/src/core/packages/logging/browser-internal/src/appenders/console_appender.test.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.test.ts rename to src/core/packages/logging/browser-internal/src/appenders/console_appender.test.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.ts b/src/core/packages/logging/browser-internal/src/appenders/console_appender.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.ts rename to src/core/packages/logging/browser-internal/src/appenders/console_appender.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/appenders/index.ts b/src/core/packages/logging/browser-internal/src/appenders/index.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/appenders/index.ts rename to src/core/packages/logging/browser-internal/src/appenders/index.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/index.ts b/src/core/packages/logging/browser-internal/src/index.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/index.ts rename to src/core/packages/logging/browser-internal/src/index.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap b/src/core/packages/logging/browser-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap rename to src/core/packages/logging/browser-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap diff --git a/packages/core/logging/core-logging-browser-internal/src/layouts/index.ts b/src/core/packages/logging/browser-internal/src/layouts/index.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/layouts/index.ts rename to src/core/packages/logging/browser-internal/src/layouts/index.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.test.ts b/src/core/packages/logging/browser-internal/src/layouts/pattern_layout.test.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.test.ts rename to src/core/packages/logging/browser-internal/src/layouts/pattern_layout.test.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.ts b/src/core/packages/logging/browser-internal/src/layouts/pattern_layout.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.ts rename to src/core/packages/logging/browser-internal/src/layouts/pattern_layout.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/logger.test.ts b/src/core/packages/logging/browser-internal/src/logger.test.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/logger.test.ts rename to src/core/packages/logging/browser-internal/src/logger.test.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/logger.ts b/src/core/packages/logging/browser-internal/src/logger.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/logger.ts rename to src/core/packages/logging/browser-internal/src/logger.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/logging_system.test.ts b/src/core/packages/logging/browser-internal/src/logging_system.test.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/logging_system.test.ts rename to src/core/packages/logging/browser-internal/src/logging_system.test.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/logging_system.ts b/src/core/packages/logging/browser-internal/src/logging_system.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/logging_system.ts rename to src/core/packages/logging/browser-internal/src/logging_system.ts diff --git a/packages/core/logging/core-logging-browser-internal/src/types.ts b/src/core/packages/logging/browser-internal/src/types.ts similarity index 100% rename from packages/core/logging/core-logging-browser-internal/src/types.ts rename to src/core/packages/logging/browser-internal/src/types.ts diff --git a/packages/core/logging/core-logging-browser-internal/tsconfig.json b/src/core/packages/logging/browser-internal/tsconfig.json similarity index 85% rename from packages/core/logging/core-logging-browser-internal/tsconfig.json rename to src/core/packages/logging/browser-internal/tsconfig.json index 89c06b251c39b..5622d8f447ac1 100644 --- a/packages/core/logging/core-logging-browser-internal/tsconfig.json +++ b/src/core/packages/logging/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/logging/core-logging-common-internal/README.md b/src/core/packages/logging/common-internal/README.md similarity index 100% rename from packages/core/logging/core-logging-common-internal/README.md rename to src/core/packages/logging/common-internal/README.md diff --git a/packages/core/logging/core-logging-common-internal/index.ts b/src/core/packages/logging/common-internal/index.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/index.ts rename to src/core/packages/logging/common-internal/index.ts diff --git a/src/core/packages/logging/common-internal/jest.config.js b/src/core/packages/logging/common-internal/jest.config.js new file mode 100644 index 0000000000000..05e852c3691a4 --- /dev/null +++ b/src/core/packages/logging/common-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/logging/common-internal'], +}; diff --git a/packages/core/logging/core-logging-common-internal/kibana.jsonc b/src/core/packages/logging/common-internal/kibana.jsonc similarity index 100% rename from packages/core/logging/core-logging-common-internal/kibana.jsonc rename to src/core/packages/logging/common-internal/kibana.jsonc diff --git a/packages/core/logging/core-logging-common-internal/package.json b/src/core/packages/logging/common-internal/package.json similarity index 100% rename from packages/core/logging/core-logging-common-internal/package.json rename to src/core/packages/logging/common-internal/package.json diff --git a/packages/core/logging/core-logging-common-internal/src/browser_config.ts b/src/core/packages/logging/common-internal/src/browser_config.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/browser_config.ts rename to src/core/packages/logging/common-internal/src/browser_config.ts diff --git a/packages/core/logging/core-logging-common-internal/src/index.ts b/src/core/packages/logging/common-internal/src/index.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/index.ts rename to src/core/packages/logging/common-internal/src/index.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap b/src/core/packages/logging/common-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap rename to src/core/packages/logging/common-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts b/src/core/packages/logging/common-internal/src/layouts/conversions/date.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts rename to src/core/packages/logging/common-internal/src/layouts/conversions/date.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/index.ts b/src/core/packages/logging/common-internal/src/layouts/conversions/index.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/conversions/index.ts rename to src/core/packages/logging/common-internal/src/layouts/conversions/index.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.ts b/src/core/packages/logging/common-internal/src/layouts/conversions/level.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.ts rename to src/core/packages/logging/common-internal/src/layouts/conversions/level.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.ts b/src/core/packages/logging/common-internal/src/layouts/conversions/logger.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.ts rename to src/core/packages/logging/common-internal/src/layouts/conversions/logger.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.test.ts b/src/core/packages/logging/common-internal/src/layouts/conversions/message.test.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.test.ts rename to src/core/packages/logging/common-internal/src/layouts/conversions/message.test.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.ts b/src/core/packages/logging/common-internal/src/layouts/conversions/message.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.ts rename to src/core/packages/logging/common-internal/src/layouts/conversions/message.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/meta.ts b/src/core/packages/logging/common-internal/src/layouts/conversions/meta.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/conversions/meta.ts rename to src/core/packages/logging/common-internal/src/layouts/conversions/meta.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts b/src/core/packages/logging/common-internal/src/layouts/conversions/types.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts rename to src/core/packages/logging/common-internal/src/layouts/conversions/types.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/index.ts b/src/core/packages/logging/common-internal/src/layouts/index.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/index.ts rename to src/core/packages/logging/common-internal/src/layouts/index.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.test.ts b/src/core/packages/logging/common-internal/src/layouts/pattern_layout.test.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.test.ts rename to src/core/packages/logging/common-internal/src/layouts/pattern_layout.test.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.ts b/src/core/packages/logging/common-internal/src/layouts/pattern_layout.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.ts rename to src/core/packages/logging/common-internal/src/layouts/pattern_layout.ts diff --git a/packages/core/logging/core-logging-common-internal/src/logger.test.ts b/src/core/packages/logging/common-internal/src/logger.test.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/logger.test.ts rename to src/core/packages/logging/common-internal/src/logger.test.ts diff --git a/packages/core/logging/core-logging-common-internal/src/logger.ts b/src/core/packages/logging/common-internal/src/logger.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/logger.ts rename to src/core/packages/logging/common-internal/src/logger.ts diff --git a/packages/core/logging/core-logging-common-internal/src/logger_context.test.ts b/src/core/packages/logging/common-internal/src/logger_context.test.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/logger_context.test.ts rename to src/core/packages/logging/common-internal/src/logger_context.test.ts diff --git a/packages/core/logging/core-logging-common-internal/src/logger_context.ts b/src/core/packages/logging/common-internal/src/logger_context.ts similarity index 100% rename from packages/core/logging/core-logging-common-internal/src/logger_context.ts rename to src/core/packages/logging/common-internal/src/logger_context.ts diff --git a/packages/core/logging/core-logging-common-internal/tsconfig.json b/src/core/packages/logging/common-internal/tsconfig.json similarity index 82% rename from packages/core/logging/core-logging-common-internal/tsconfig.json rename to src/core/packages/logging/common-internal/tsconfig.json index 371dc89b18172..1d7a83bee14ee 100644 --- a/packages/core/logging/core-logging-common-internal/tsconfig.json +++ b/src/core/packages/logging/common-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/logging/core-logging-server-internal/README.md b/src/core/packages/logging/server-internal/README.md similarity index 100% rename from packages/core/logging/core-logging-server-internal/README.md rename to src/core/packages/logging/server-internal/README.md diff --git a/packages/core/logging/core-logging-server-internal/index.ts b/src/core/packages/logging/server-internal/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/index.ts rename to src/core/packages/logging/server-internal/index.ts diff --git a/packages/core/plugins/core-plugins-server/jest.config.js b/src/core/packages/logging/server-internal/jest.config.js similarity index 84% rename from packages/core/plugins/core-plugins-server/jest.config.js rename to src/core/packages/logging/server-internal/jest.config.js index 76edb6acca526..e84e50c013952 100644 --- a/packages/core/plugins/core-plugins-server/jest.config.js +++ b/src/core/packages/logging/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/logging/server-internal'], }; diff --git a/packages/core/logging/core-logging-server-internal/kibana.jsonc b/src/core/packages/logging/server-internal/kibana.jsonc similarity index 100% rename from packages/core/logging/core-logging-server-internal/kibana.jsonc rename to src/core/packages/logging/server-internal/kibana.jsonc diff --git a/packages/core/logging/core-logging-server-internal/package.json b/src/core/packages/logging/server-internal/package.json similarity index 100% rename from packages/core/logging/core-logging-server-internal/package.json rename to src/core/packages/logging/server-internal/package.json diff --git a/packages/core/logging/core-logging-server-internal/src/__snapshots__/logging_system.test.ts.snap b/src/core/packages/logging/server-internal/src/__snapshots__/logging_system.test.ts.snap similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/__snapshots__/logging_system.test.ts.snap rename to src/core/packages/logging/server-internal/src/__snapshots__/logging_system.test.ts.snap diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/appenders.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/appenders.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/appenders.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/appenders.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/appenders.test.ts b/src/core/packages/logging/server-internal/src/appenders/appenders.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/appenders.test.ts rename to src/core/packages/logging/server-internal/src/appenders/appenders.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/appenders.ts b/src/core/packages/logging/server-internal/src/appenders/appenders.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/appenders.ts rename to src/core/packages/logging/server-internal/src/appenders/appenders.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/buffer/buffer_appender.test.ts b/src/core/packages/logging/server-internal/src/appenders/buffer/buffer_appender.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/buffer/buffer_appender.test.ts rename to src/core/packages/logging/server-internal/src/appenders/buffer/buffer_appender.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/buffer/buffer_appender.ts b/src/core/packages/logging/server-internal/src/appenders/buffer/buffer_appender.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/buffer/buffer_appender.ts rename to src/core/packages/logging/server-internal/src/appenders/buffer/buffer_appender.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/console/console_appender.test.ts b/src/core/packages/logging/server-internal/src/appenders/console/console_appender.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/console/console_appender.test.ts rename to src/core/packages/logging/server-internal/src/appenders/console/console_appender.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/console/console_appender.ts b/src/core/packages/logging/server-internal/src/appenders/console/console_appender.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/console/console_appender.ts rename to src/core/packages/logging/server-internal/src/appenders/console/console_appender.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/file/file_appender.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/file/file_appender.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/file/file_appender.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/file/file_appender.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/file/file_appender.test.ts b/src/core/packages/logging/server-internal/src/appenders/file/file_appender.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/file/file_appender.test.ts rename to src/core/packages/logging/server-internal/src/appenders/file/file_appender.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/file/file_appender.ts b/src/core/packages/logging/server-internal/src/appenders/file/file_appender.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/file/file_appender.ts rename to src/core/packages/logging/server-internal/src/appenders/file/file_appender.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rewrite/mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rewrite/mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rewrite/mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rewrite/mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/index.ts b/src/core/packages/logging/server-internal/src/appenders/rewrite/policies/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/index.ts rename to src/core/packages/logging/server-internal/src/appenders/rewrite/policies/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/meta/index.ts b/src/core/packages/logging/server-internal/src/appenders/rewrite/policies/meta/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/meta/index.ts rename to src/core/packages/logging/server-internal/src/appenders/rewrite/policies/meta/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/meta/meta_policy.test.ts b/src/core/packages/logging/server-internal/src/appenders/rewrite/policies/meta/meta_policy.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/meta/meta_policy.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rewrite/policies/meta/meta_policy.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/meta/meta_policy.ts b/src/core/packages/logging/server-internal/src/appenders/rewrite/policies/meta/meta_policy.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/meta/meta_policy.ts rename to src/core/packages/logging/server-internal/src/appenders/rewrite/policies/meta/meta_policy.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/policy.ts b/src/core/packages/logging/server-internal/src/appenders/rewrite/policies/policy.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rewrite/policies/policy.ts rename to src/core/packages/logging/server-internal/src/appenders/rewrite/policies/policy.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rewrite/rewrite_appender.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rewrite/rewrite_appender.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rewrite/rewrite_appender.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rewrite/rewrite_appender.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rewrite/rewrite_appender.test.ts b/src/core/packages/logging/server-internal/src/appenders/rewrite/rewrite_appender.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rewrite/rewrite_appender.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rewrite/rewrite_appender.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rewrite/rewrite_appender.ts b/src/core/packages/logging/server-internal/src/appenders/rewrite/rewrite_appender.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rewrite/rewrite_appender.ts rename to src/core/packages/logging/server-internal/src/appenders/rewrite/rewrite_appender.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/index.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/index.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/policy.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/policy.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/policy.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/policy.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/size_limit/index.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/size_limit/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/size_limit/index.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/size_limit/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/size_limit/size_limit_policy.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/size_limit/size_limit_policy.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/size_limit/size_limit_policy.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/size_limit/size_limit_policy.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/size_limit/size_limit_policy.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/size_limit/size_limit_policy.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/size_limit/size_limit_policy.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/size_limit/size_limit_policy.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/get_next_rolling_time.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/index.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/index.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/time_interval_policy.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/utils.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/utils.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/utils.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/utils.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/utils.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/utils.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/policies/time_interval/utils.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/policies/time_interval/utils.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/create_retention_policy.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/create_retention_policy.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/create_retention_policy.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/create_retention_policy.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/create_retention_policy.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/create_retention_policy.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/create_retention_policy.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/create_retention_policy.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/fs.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/fs.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/fs.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/fs.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/index.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/index.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/retention_policy.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/retention_policy.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/retention_policy.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/retention_policy.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/retention_policy.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/retention_policy.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/retention_policy.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/retention_policy.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/retention_policy.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/retention_policy.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/retention_policy.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/retention_policy.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/utils.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/utils.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/utils.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/utils.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/utils.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/utils.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/utils.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/utils.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/utils.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/utils.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/retention/utils.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/retention/utils.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_appender.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_appender.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_appender.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_appender.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_appender.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_appender.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_appender.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_appender.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_appender.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_appender.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_appender.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_appender.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_context.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_context.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_context.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_context.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_manager.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_manager.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/rolling_file_manager.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/rolling_file_manager.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/index.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/index.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/index.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/index.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/numeric_strategy.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/pattern_matcher.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/pattern_matcher.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/pattern_matcher.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/pattern_matcher.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/pattern_matcher.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/pattern_matcher.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/pattern_matcher.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/pattern_matcher.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/rolling_tasks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/utils.test.mocks.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/utils.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/utils.test.mocks.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/utils.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/utils.test.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/utils.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/utils.test.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/utils.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/utils.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/utils.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/numeric/utils.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/numeric/utils.ts diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/strategy.ts b/src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/strategy.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/appenders/rolling_file/strategies/strategy.ts rename to src/core/packages/logging/server-internal/src/appenders/rolling_file/strategies/strategy.ts diff --git a/packages/core/logging/core-logging-server-internal/src/global_context/index.ts b/src/core/packages/logging/server-internal/src/global_context/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/global_context/index.ts rename to src/core/packages/logging/server-internal/src/global_context/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/global_context/merge_global_context.test.ts b/src/core/packages/logging/server-internal/src/global_context/merge_global_context.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/global_context/merge_global_context.test.ts rename to src/core/packages/logging/server-internal/src/global_context/merge_global_context.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/global_context/merge_global_context.ts b/src/core/packages/logging/server-internal/src/global_context/merge_global_context.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/global_context/merge_global_context.ts rename to src/core/packages/logging/server-internal/src/global_context/merge_global_context.ts diff --git a/packages/core/logging/core-logging-server-internal/src/global_context/types.ts b/src/core/packages/logging/server-internal/src/global_context/types.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/global_context/types.ts rename to src/core/packages/logging/server-internal/src/global_context/types.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/__snapshots__/json_layout.test.ts.snap b/src/core/packages/logging/server-internal/src/layouts/__snapshots__/json_layout.test.ts.snap similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/__snapshots__/json_layout.test.ts.snap rename to src/core/packages/logging/server-internal/src/layouts/__snapshots__/json_layout.test.ts.snap diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap b/src/core/packages/logging/server-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap rename to src/core/packages/logging/server-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/index.ts b/src/core/packages/logging/server-internal/src/layouts/conversions/index.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/conversions/index.ts rename to src/core/packages/logging/server-internal/src/layouts/conversions/index.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/level.ts b/src/core/packages/logging/server-internal/src/layouts/conversions/level.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/conversions/level.ts rename to src/core/packages/logging/server-internal/src/layouts/conversions/level.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/logger.ts b/src/core/packages/logging/server-internal/src/layouts/conversions/logger.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/conversions/logger.ts rename to src/core/packages/logging/server-internal/src/layouts/conversions/logger.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/pid.ts b/src/core/packages/logging/server-internal/src/layouts/conversions/pid.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/conversions/pid.ts rename to src/core/packages/logging/server-internal/src/layouts/conversions/pid.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/json_layout.test.ts b/src/core/packages/logging/server-internal/src/layouts/json_layout.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/json_layout.test.ts rename to src/core/packages/logging/server-internal/src/layouts/json_layout.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/json_layout.ts b/src/core/packages/logging/server-internal/src/layouts/json_layout.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/json_layout.ts rename to src/core/packages/logging/server-internal/src/layouts/json_layout.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/layouts.test.ts b/src/core/packages/logging/server-internal/src/layouts/layouts.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/layouts.test.ts rename to src/core/packages/logging/server-internal/src/layouts/layouts.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/layouts.ts b/src/core/packages/logging/server-internal/src/layouts/layouts.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/layouts.ts rename to src/core/packages/logging/server-internal/src/layouts/layouts.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/pattern_layout.test.ts b/src/core/packages/logging/server-internal/src/layouts/pattern_layout.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/pattern_layout.test.ts rename to src/core/packages/logging/server-internal/src/layouts/pattern_layout.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/pattern_layout.ts b/src/core/packages/logging/server-internal/src/layouts/pattern_layout.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/pattern_layout.ts rename to src/core/packages/logging/server-internal/src/layouts/pattern_layout.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logger.test.ts b/src/core/packages/logging/server-internal/src/logger.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logger.test.ts rename to src/core/packages/logging/server-internal/src/logger.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logger.ts b/src/core/packages/logging/server-internal/src/logger.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logger.ts rename to src/core/packages/logging/server-internal/src/logger.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logger_adapter.test.ts b/src/core/packages/logging/server-internal/src/logger_adapter.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logger_adapter.test.ts rename to src/core/packages/logging/server-internal/src/logger_adapter.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logger_adapter.ts b/src/core/packages/logging/server-internal/src/logger_adapter.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logger_adapter.ts rename to src/core/packages/logging/server-internal/src/logger_adapter.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logging_config.test.ts b/src/core/packages/logging/server-internal/src/logging_config.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logging_config.test.ts rename to src/core/packages/logging/server-internal/src/logging_config.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logging_config.ts b/src/core/packages/logging/server-internal/src/logging_config.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logging_config.ts rename to src/core/packages/logging/server-internal/src/logging_config.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logging_service.test.ts b/src/core/packages/logging/server-internal/src/logging_service.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logging_service.test.ts rename to src/core/packages/logging/server-internal/src/logging_service.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logging_service.ts b/src/core/packages/logging/server-internal/src/logging_service.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logging_service.ts rename to src/core/packages/logging/server-internal/src/logging_service.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logging_system.test.mocks.ts b/src/core/packages/logging/server-internal/src/logging_system.test.mocks.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logging_system.test.mocks.ts rename to src/core/packages/logging/server-internal/src/logging_system.test.mocks.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logging_system.test.ts b/src/core/packages/logging/server-internal/src/logging_system.test.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logging_system.test.ts rename to src/core/packages/logging/server-internal/src/logging_system.test.ts diff --git a/packages/core/logging/core-logging-server-internal/src/logging_system.ts b/src/core/packages/logging/server-internal/src/logging_system.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/logging_system.ts rename to src/core/packages/logging/server-internal/src/logging_system.ts diff --git a/packages/core/logging/core-logging-server-internal/tsconfig.json b/src/core/packages/logging/server-internal/tsconfig.json similarity index 91% rename from packages/core/logging/core-logging-server-internal/tsconfig.json rename to src/core/packages/logging/server-internal/tsconfig.json index 00b081d8f6440..8a143f840a8f9 100644 --- a/packages/core/logging/core-logging-server-internal/tsconfig.json +++ b/src/core/packages/logging/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/logging/core-logging-server/README.md b/src/core/packages/logging/server/README.md similarity index 100% rename from packages/core/logging/core-logging-server/README.md rename to src/core/packages/logging/server/README.md diff --git a/packages/core/logging/core-logging-server/index.ts b/src/core/packages/logging/server/index.ts similarity index 100% rename from packages/core/logging/core-logging-server/index.ts rename to src/core/packages/logging/server/index.ts diff --git a/packages/core/node/core-node-server/jest.config.js b/src/core/packages/logging/server/jest.config.js similarity index 85% rename from packages/core/node/core-node-server/jest.config.js rename to src/core/packages/logging/server/jest.config.js index bf1865bd1bab0..8085d628b6202 100644 --- a/packages/core/node/core-node-server/jest.config.js +++ b/src/core/packages/logging/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/node/core-node-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/logging/server'], }; diff --git a/packages/core/logging/core-logging-server/kibana.jsonc b/src/core/packages/logging/server/kibana.jsonc similarity index 100% rename from packages/core/logging/core-logging-server/kibana.jsonc rename to src/core/packages/logging/server/kibana.jsonc diff --git a/packages/core/logging/core-logging-server/package.json b/src/core/packages/logging/server/package.json similarity index 100% rename from packages/core/logging/core-logging-server/package.json rename to src/core/packages/logging/server/package.json diff --git a/packages/core/logging/core-logging-server/src/appenders/console.ts b/src/core/packages/logging/server/src/appenders/console.ts similarity index 100% rename from packages/core/logging/core-logging-server/src/appenders/console.ts rename to src/core/packages/logging/server/src/appenders/console.ts diff --git a/packages/core/logging/core-logging-server/src/appenders/file.ts b/src/core/packages/logging/server/src/appenders/file.ts similarity index 100% rename from packages/core/logging/core-logging-server/src/appenders/file.ts rename to src/core/packages/logging/server/src/appenders/file.ts diff --git a/packages/core/logging/core-logging-server/src/appenders/index.ts b/src/core/packages/logging/server/src/appenders/index.ts similarity index 100% rename from packages/core/logging/core-logging-server/src/appenders/index.ts rename to src/core/packages/logging/server/src/appenders/index.ts diff --git a/packages/core/logging/core-logging-server/src/appenders/rewrite.ts b/src/core/packages/logging/server/src/appenders/rewrite.ts similarity index 100% rename from packages/core/logging/core-logging-server/src/appenders/rewrite.ts rename to src/core/packages/logging/server/src/appenders/rewrite.ts diff --git a/packages/core/logging/core-logging-server/src/appenders/rolling_file.ts b/src/core/packages/logging/server/src/appenders/rolling_file.ts similarity index 100% rename from packages/core/logging/core-logging-server/src/appenders/rolling_file.ts rename to src/core/packages/logging/server/src/appenders/rolling_file.ts diff --git a/packages/core/logging/core-logging-server/src/contracts.ts b/src/core/packages/logging/server/src/contracts.ts similarity index 100% rename from packages/core/logging/core-logging-server/src/contracts.ts rename to src/core/packages/logging/server/src/contracts.ts diff --git a/packages/core/logging/core-logging-server/src/layout.ts b/src/core/packages/logging/server/src/layout.ts similarity index 100% rename from packages/core/logging/core-logging-server/src/layout.ts rename to src/core/packages/logging/server/src/layout.ts diff --git a/packages/core/logging/core-logging-server/src/logger.ts b/src/core/packages/logging/server/src/logger.ts similarity index 100% rename from packages/core/logging/core-logging-server/src/logger.ts rename to src/core/packages/logging/server/src/logger.ts diff --git a/packages/core/logging/core-logging-server/tsconfig.json b/src/core/packages/logging/server/tsconfig.json similarity index 83% rename from packages/core/logging/core-logging-server/tsconfig.json rename to src/core/packages/logging/server/tsconfig.json index 0f3e14ff4a6f6..821460e075713 100644 --- a/packages/core/logging/core-logging-server/tsconfig.json +++ b/src/core/packages/logging/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/README.md b/src/core/packages/metrics/collectors-server-internal/README.md similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/README.md rename to src/core/packages/metrics/collectors-server-internal/README.md diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/index.ts b/src/core/packages/metrics/collectors-server-internal/index.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/index.ts rename to src/core/packages/metrics/collectors-server-internal/index.ts diff --git a/packages/core/http/core-http-context-server-internal/jest.config.js b/src/core/packages/metrics/collectors-server-internal/jest.config.js similarity index 85% rename from packages/core/http/core-http-context-server-internal/jest.config.js rename to src/core/packages/metrics/collectors-server-internal/jest.config.js index 34433ea07fa1b..e67ec2b87b798 100644 --- a/packages/core/http/core-http-context-server-internal/jest.config.js +++ b/src/core/packages/metrics/collectors-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-context-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/metrics/collectors-server-internal'], }; diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/kibana.jsonc b/src/core/packages/metrics/collectors-server-internal/kibana.jsonc similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/kibana.jsonc rename to src/core/packages/metrics/collectors-server-internal/kibana.jsonc diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/package.json b/src/core/packages/metrics/collectors-server-internal/package.json similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/package.json rename to src/core/packages/metrics/collectors-server-internal/package.json diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/__mocks__/perf_hooks.ts b/src/core/packages/metrics/collectors-server-internal/src/__mocks__/perf_hooks.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/__mocks__/perf_hooks.ts rename to src/core/packages/metrics/collectors-server-internal/src/__mocks__/perf_hooks.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/cgroup.test.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/cgroup.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/cgroup.test.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/cgroup.test.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/cgroup.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/cgroup.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/cgroup.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/cgroup.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/constants.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/constants.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/constants.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/constants.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/gather_info.test.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/gather_info.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/gather_info.test.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/gather_info.test.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/gather_info.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/gather_info.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/gather_info.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/gather_info.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/index.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/index.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/index.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/index.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/types.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/types.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/types.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/types.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/v1.test.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/v1.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/v1.test.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/v1.test.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/v1.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/v1.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/v1.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/v1.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/v2.test.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/v2.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/v2.test.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/v2.test.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/v2.ts b/src/core/packages/metrics/collectors-server-internal/src/cgroup/v2.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/cgroup/v2.ts rename to src/core/packages/metrics/collectors-server-internal/src/cgroup/v2.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/elasticsearch_client.test.ts b/src/core/packages/metrics/collectors-server-internal/src/elasticsearch_client.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/elasticsearch_client.test.ts rename to src/core/packages/metrics/collectors-server-internal/src/elasticsearch_client.test.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/elasticsearch_client.ts b/src/core/packages/metrics/collectors-server-internal/src/elasticsearch_client.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/elasticsearch_client.ts rename to src/core/packages/metrics/collectors-server-internal/src/elasticsearch_client.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.test.ts b/src/core/packages/metrics/collectors-server-internal/src/event_loop_delays_monitor.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.test.ts rename to src/core/packages/metrics/collectors-server-internal/src/event_loop_delays_monitor.test.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.ts b/src/core/packages/metrics/collectors-server-internal/src/event_loop_delays_monitor.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.ts rename to src/core/packages/metrics/collectors-server-internal/src/event_loop_delays_monitor.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_utilization_monitor.test.mocks.ts b/src/core/packages/metrics/collectors-server-internal/src/event_loop_utilization_monitor.test.mocks.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_utilization_monitor.test.mocks.ts rename to src/core/packages/metrics/collectors-server-internal/src/event_loop_utilization_monitor.test.mocks.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_utilization_monitor.test.ts b/src/core/packages/metrics/collectors-server-internal/src/event_loop_utilization_monitor.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_utilization_monitor.test.ts rename to src/core/packages/metrics/collectors-server-internal/src/event_loop_utilization_monitor.test.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_utilization_monitor.ts b/src/core/packages/metrics/collectors-server-internal/src/event_loop_utilization_monitor.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_utilization_monitor.ts rename to src/core/packages/metrics/collectors-server-internal/src/event_loop_utilization_monitor.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/mocks_internal.ts b/src/core/packages/metrics/collectors-server-internal/src/mocks_internal.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/mocks_internal.ts rename to src/core/packages/metrics/collectors-server-internal/src/mocks_internal.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/os.test.mocks.ts b/src/core/packages/metrics/collectors-server-internal/src/os.test.mocks.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/os.test.mocks.ts rename to src/core/packages/metrics/collectors-server-internal/src/os.test.mocks.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/os.test.ts b/src/core/packages/metrics/collectors-server-internal/src/os.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/os.test.ts rename to src/core/packages/metrics/collectors-server-internal/src/os.test.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/os.ts b/src/core/packages/metrics/collectors-server-internal/src/os.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/os.ts rename to src/core/packages/metrics/collectors-server-internal/src/os.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/process.test.mocks.ts b/src/core/packages/metrics/collectors-server-internal/src/process.test.mocks.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/process.test.mocks.ts rename to src/core/packages/metrics/collectors-server-internal/src/process.test.mocks.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/process.test.ts b/src/core/packages/metrics/collectors-server-internal/src/process.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/process.test.ts rename to src/core/packages/metrics/collectors-server-internal/src/process.test.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/process.ts b/src/core/packages/metrics/collectors-server-internal/src/process.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/process.ts rename to src/core/packages/metrics/collectors-server-internal/src/process.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/src/server.ts b/src/core/packages/metrics/collectors-server-internal/src/server.ts similarity index 100% rename from packages/core/metrics/core-metrics-collectors-server-internal/src/server.ts rename to src/core/packages/metrics/collectors-server-internal/src/server.ts diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/tsconfig.json b/src/core/packages/metrics/collectors-server-internal/tsconfig.json similarity index 88% rename from packages/core/metrics/core-metrics-collectors-server-internal/tsconfig.json rename to src/core/packages/metrics/collectors-server-internal/tsconfig.json index d1a2498ffbd68..eca2210394d20 100644 --- a/packages/core/metrics/core-metrics-collectors-server-internal/tsconfig.json +++ b/src/core/packages/metrics/collectors-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/metrics/core-metrics-server-internal/README.md b/src/core/packages/metrics/server-internal/README.md similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/README.md rename to src/core/packages/metrics/server-internal/README.md diff --git a/packages/core/metrics/core-metrics-server-internal/index.ts b/src/core/packages/metrics/server-internal/index.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/index.ts rename to src/core/packages/metrics/server-internal/index.ts diff --git a/src/core/packages/metrics/server-internal/jest.config.js b/src/core/packages/metrics/server-internal/jest.config.js new file mode 100644 index 0000000000000..1e8808523903d --- /dev/null +++ b/src/core/packages/metrics/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/metrics/server-internal'], +}; diff --git a/packages/core/metrics/core-metrics-server-internal/kibana.jsonc b/src/core/packages/metrics/server-internal/kibana.jsonc similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/kibana.jsonc rename to src/core/packages/metrics/server-internal/kibana.jsonc diff --git a/packages/core/metrics/core-metrics-server-internal/package.json b/src/core/packages/metrics/server-internal/package.json similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/package.json rename to src/core/packages/metrics/server-internal/package.json diff --git a/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.test.ts b/src/core/packages/metrics/server-internal/src/logging/get_ops_metrics_log.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.test.ts rename to src/core/packages/metrics/server-internal/src/logging/get_ops_metrics_log.test.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.ts b/src/core/packages/metrics/server-internal/src/logging/get_ops_metrics_log.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.ts rename to src/core/packages/metrics/server-internal/src/logging/get_ops_metrics_log.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/logging/index.ts b/src/core/packages/metrics/server-internal/src/logging/index.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/logging/index.ts rename to src/core/packages/metrics/server-internal/src/logging/index.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/metrics_service.test.mocks.ts b/src/core/packages/metrics/server-internal/src/metrics_service.test.mocks.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/metrics_service.test.mocks.ts rename to src/core/packages/metrics/server-internal/src/metrics_service.test.mocks.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/metrics_service.test.ts b/src/core/packages/metrics/server-internal/src/metrics_service.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/metrics_service.test.ts rename to src/core/packages/metrics/server-internal/src/metrics_service.test.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/metrics_service.ts b/src/core/packages/metrics/server-internal/src/metrics_service.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/metrics_service.ts rename to src/core/packages/metrics/server-internal/src/metrics_service.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/ops_config.ts b/src/core/packages/metrics/server-internal/src/ops_config.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/ops_config.ts rename to src/core/packages/metrics/server-internal/src/ops_config.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.test.mocks.ts b/src/core/packages/metrics/server-internal/src/ops_metrics_collector.test.mocks.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.test.mocks.ts rename to src/core/packages/metrics/server-internal/src/ops_metrics_collector.test.mocks.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.test.ts b/src/core/packages/metrics/server-internal/src/ops_metrics_collector.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.test.ts rename to src/core/packages/metrics/server-internal/src/ops_metrics_collector.test.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.ts b/src/core/packages/metrics/server-internal/src/ops_metrics_collector.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.ts rename to src/core/packages/metrics/server-internal/src/ops_metrics_collector.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/routes/elu_history.ts b/src/core/packages/metrics/server-internal/src/routes/elu_history.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/routes/elu_history.ts rename to src/core/packages/metrics/server-internal/src/routes/elu_history.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/routes/history_window.test.ts b/src/core/packages/metrics/server-internal/src/routes/history_window.test.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/routes/history_window.test.ts rename to src/core/packages/metrics/server-internal/src/routes/history_window.test.ts diff --git a/packages/core/metrics/core-metrics-server-internal/src/routes/history_window.ts b/src/core/packages/metrics/server-internal/src/routes/history_window.ts similarity index 100% rename from packages/core/metrics/core-metrics-server-internal/src/routes/history_window.ts rename to src/core/packages/metrics/server-internal/src/routes/history_window.ts diff --git a/packages/core/metrics/core-metrics-server-internal/tsconfig.json b/src/core/packages/metrics/server-internal/tsconfig.json similarity index 94% rename from packages/core/metrics/core-metrics-server-internal/tsconfig.json rename to src/core/packages/metrics/server-internal/tsconfig.json index dfc7c4766d110..adf1cdbc8b92b 100644 --- a/packages/core/metrics/core-metrics-server-internal/tsconfig.json +++ b/src/core/packages/metrics/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/metrics/core-metrics-server/README.md b/src/core/packages/metrics/server/README.md similarity index 100% rename from packages/core/metrics/core-metrics-server/README.md rename to src/core/packages/metrics/server/README.md diff --git a/packages/core/metrics/core-metrics-server/index.ts b/src/core/packages/metrics/server/index.ts similarity index 100% rename from packages/core/metrics/core-metrics-server/index.ts rename to src/core/packages/metrics/server/index.ts diff --git a/packages/core/http/core-http-server/jest.config.js b/src/core/packages/metrics/server/jest.config.js similarity index 85% rename from packages/core/http/core-http-server/jest.config.js rename to src/core/packages/metrics/server/jest.config.js index 3d9c0920e2663..f7e5fb7a706ef 100644 --- a/packages/core/http/core-http-server/jest.config.js +++ b/src/core/packages/metrics/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/metrics/server'], }; diff --git a/packages/core/metrics/core-metrics-server/kibana.jsonc b/src/core/packages/metrics/server/kibana.jsonc similarity index 100% rename from packages/core/metrics/core-metrics-server/kibana.jsonc rename to src/core/packages/metrics/server/kibana.jsonc diff --git a/packages/core/metrics/core-metrics-server/package.json b/src/core/packages/metrics/server/package.json similarity index 100% rename from packages/core/metrics/core-metrics-server/package.json rename to src/core/packages/metrics/server/package.json diff --git a/packages/core/metrics/core-metrics-server/src/collectors.ts b/src/core/packages/metrics/server/src/collectors.ts similarity index 100% rename from packages/core/metrics/core-metrics-server/src/collectors.ts rename to src/core/packages/metrics/server/src/collectors.ts diff --git a/packages/core/metrics/core-metrics-server/src/contracts.ts b/src/core/packages/metrics/server/src/contracts.ts similarity index 100% rename from packages/core/metrics/core-metrics-server/src/contracts.ts rename to src/core/packages/metrics/server/src/contracts.ts diff --git a/packages/core/metrics/core-metrics-server/src/metrics.ts b/src/core/packages/metrics/server/src/metrics.ts similarity index 100% rename from packages/core/metrics/core-metrics-server/src/metrics.ts rename to src/core/packages/metrics/server/src/metrics.ts diff --git a/packages/kbn-hapi-mocks/tsconfig.json b/src/core/packages/metrics/server/tsconfig.json similarity index 82% rename from packages/kbn-hapi-mocks/tsconfig.json rename to src/core/packages/metrics/server/tsconfig.json index 11f148d713b3b..59554de320901 100644 --- a/packages/kbn-hapi-mocks/tsconfig.json +++ b/src/core/packages/metrics/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/README.md b/src/core/packages/mount-utils/browser-internal/README.md similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser-internal/README.md rename to src/core/packages/mount-utils/browser-internal/README.md diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/index.ts b/src/core/packages/mount-utils/browser-internal/index.ts similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser-internal/index.ts rename to src/core/packages/mount-utils/browser-internal/index.ts diff --git a/src/core/packages/mount-utils/browser-internal/jest.config.js b/src/core/packages/mount-utils/browser-internal/jest.config.js new file mode 100644 index 0000000000000..187114de74be5 --- /dev/null +++ b/src/core/packages/mount-utils/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/mount-utils/browser-internal'], +}; diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/kibana.jsonc b/src/core/packages/mount-utils/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser-internal/kibana.jsonc rename to src/core/packages/mount-utils/browser-internal/kibana.jsonc diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/package.json b/src/core/packages/mount-utils/browser-internal/package.json similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser-internal/package.json rename to src/core/packages/mount-utils/browser-internal/package.json diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.test.tsx b/src/core/packages/mount-utils/browser-internal/src/mount.test.tsx similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.test.tsx rename to src/core/packages/mount-utils/browser-internal/src/mount.test.tsx diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.tsx b/src/core/packages/mount-utils/browser-internal/src/mount.tsx similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.tsx rename to src/core/packages/mount-utils/browser-internal/src/mount.tsx diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/src/mount_wrapper.scss b/src/core/packages/mount-utils/browser-internal/src/mount_wrapper.scss similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser-internal/src/mount_wrapper.scss rename to src/core/packages/mount-utils/browser-internal/src/mount_wrapper.scss diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/tsconfig.json b/src/core/packages/mount-utils/browser-internal/tsconfig.json similarity index 85% rename from packages/core/mount-utils/core-mount-utils-browser-internal/tsconfig.json rename to src/core/packages/mount-utils/browser-internal/tsconfig.json index fad08cdeb8787..4adaaaf2018e2 100644 --- a/packages/core/mount-utils/core-mount-utils-browser-internal/tsconfig.json +++ b/src/core/packages/mount-utils/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/mount-utils/core-mount-utils-browser/README.md b/src/core/packages/mount-utils/browser/README.md similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser/README.md rename to src/core/packages/mount-utils/browser/README.md diff --git a/packages/core/mount-utils/core-mount-utils-browser/index.ts b/src/core/packages/mount-utils/browser/index.ts similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser/index.ts rename to src/core/packages/mount-utils/browser/index.ts diff --git a/src/core/packages/mount-utils/browser/jest.config.js b/src/core/packages/mount-utils/browser/jest.config.js new file mode 100644 index 0000000000000..acb0a708847ae --- /dev/null +++ b/src/core/packages/mount-utils/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/mount-utils/browser'], +}; diff --git a/packages/core/mount-utils/core-mount-utils-browser/kibana.jsonc b/src/core/packages/mount-utils/browser/kibana.jsonc similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser/kibana.jsonc rename to src/core/packages/mount-utils/browser/kibana.jsonc diff --git a/packages/core/mount-utils/core-mount-utils-browser/package.json b/src/core/packages/mount-utils/browser/package.json similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser/package.json rename to src/core/packages/mount-utils/browser/package.json diff --git a/packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts b/src/core/packages/mount-utils/browser/src/mount_point.ts similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts rename to src/core/packages/mount-utils/browser/src/mount_point.ts diff --git a/packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts b/src/core/packages/mount-utils/browser/src/overlay_ref.ts similarity index 100% rename from packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts rename to src/core/packages/mount-utils/browser/src/overlay_ref.ts diff --git a/packages/core/mount-utils/core-mount-utils-browser/tsconfig.json b/src/core/packages/mount-utils/browser/tsconfig.json similarity index 79% rename from packages/core/mount-utils/core-mount-utils-browser/tsconfig.json rename to src/core/packages/mount-utils/browser/tsconfig.json index 0f16c2b9311d8..14019fa2b02b7 100644 --- a/packages/core/mount-utils/core-mount-utils-browser/tsconfig.json +++ b/src/core/packages/mount-utils/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/node/core-node-server-internal/README.md b/src/core/packages/node/server-internal/README.md similarity index 100% rename from packages/core/node/core-node-server-internal/README.md rename to src/core/packages/node/server-internal/README.md diff --git a/packages/core/node/core-node-server-internal/index.ts b/src/core/packages/node/server-internal/index.ts similarity index 100% rename from packages/core/node/core-node-server-internal/index.ts rename to src/core/packages/node/server-internal/index.ts diff --git a/src/core/packages/node/server-internal/jest.config.js b/src/core/packages/node/server-internal/jest.config.js new file mode 100644 index 0000000000000..757a709247a6a --- /dev/null +++ b/src/core/packages/node/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/node/server-internal'], +}; diff --git a/packages/core/node/core-node-server-internal/kibana.jsonc b/src/core/packages/node/server-internal/kibana.jsonc similarity index 100% rename from packages/core/node/core-node-server-internal/kibana.jsonc rename to src/core/packages/node/server-internal/kibana.jsonc diff --git a/packages/core/node/core-node-server-internal/package.json b/src/core/packages/node/server-internal/package.json similarity index 100% rename from packages/core/node/core-node-server-internal/package.json rename to src/core/packages/node/server-internal/package.json diff --git a/packages/core/node/core-node-server-internal/src/node_config.test.ts b/src/core/packages/node/server-internal/src/node_config.test.ts similarity index 100% rename from packages/core/node/core-node-server-internal/src/node_config.test.ts rename to src/core/packages/node/server-internal/src/node_config.test.ts diff --git a/packages/core/node/core-node-server-internal/src/node_config.ts b/src/core/packages/node/server-internal/src/node_config.ts similarity index 100% rename from packages/core/node/core-node-server-internal/src/node_config.ts rename to src/core/packages/node/server-internal/src/node_config.ts diff --git a/packages/core/node/core-node-server-internal/src/node_service.test.ts b/src/core/packages/node/server-internal/src/node_service.test.ts similarity index 100% rename from packages/core/node/core-node-server-internal/src/node_service.test.ts rename to src/core/packages/node/server-internal/src/node_service.test.ts diff --git a/packages/core/node/core-node-server-internal/src/node_service.ts b/src/core/packages/node/server-internal/src/node_service.ts similarity index 100% rename from packages/core/node/core-node-server-internal/src/node_service.ts rename to src/core/packages/node/server-internal/src/node_service.ts diff --git a/packages/core/node/core-node-server-internal/tsconfig.json b/src/core/packages/node/server-internal/tsconfig.json similarity index 90% rename from packages/core/node/core-node-server-internal/tsconfig.json rename to src/core/packages/node/server-internal/tsconfig.json index 7bbe90ab8be74..c11e7a754d185 100644 --- a/packages/core/node/core-node-server-internal/tsconfig.json +++ b/src/core/packages/node/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/node/core-node-server/README.md b/src/core/packages/node/server/README.md similarity index 100% rename from packages/core/node/core-node-server/README.md rename to src/core/packages/node/server/README.md diff --git a/packages/core/node/core-node-server/index.ts b/src/core/packages/node/server/index.ts similarity index 100% rename from packages/core/node/core-node-server/index.ts rename to src/core/packages/node/server/index.ts diff --git a/packages/kbn-hapi-mocks/jest.config.js b/src/core/packages/node/server/jest.config.js similarity index 86% rename from packages/kbn-hapi-mocks/jest.config.js rename to src/core/packages/node/server/jest.config.js index fffacc098cdbe..b2dea786e3899 100644 --- a/packages/kbn-hapi-mocks/jest.config.js +++ b/src/core/packages/node/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-hapi-mocks'], + rootDir: '../../../../..', + roots: ['/src/core/packages/node/server'], }; diff --git a/packages/core/node/core-node-server/kibana.jsonc b/src/core/packages/node/server/kibana.jsonc similarity index 100% rename from packages/core/node/core-node-server/kibana.jsonc rename to src/core/packages/node/server/kibana.jsonc diff --git a/packages/core/node/core-node-server/package.json b/src/core/packages/node/server/package.json similarity index 100% rename from packages/core/node/core-node-server/package.json rename to src/core/packages/node/server/package.json diff --git a/packages/core/node/core-node-server/src/types.ts b/src/core/packages/node/server/src/types.ts similarity index 100% rename from packages/core/node/core-node-server/src/types.ts rename to src/core/packages/node/server/src/types.ts diff --git a/src/core/packages/node/server/tsconfig.json b/src/core/packages/node/server/tsconfig.json new file mode 100644 index 0000000000000..131ff3e6bb433 --- /dev/null +++ b/src/core/packages/node/server/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/core/notifications/core-notifications-browser-internal/README.md b/src/core/packages/notifications/browser-internal/README.md similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/README.md rename to src/core/packages/notifications/browser-internal/README.md diff --git a/packages/core/notifications/core-notifications-browser-internal/index.ts b/src/core/packages/notifications/browser-internal/index.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/index.ts rename to src/core/packages/notifications/browser-internal/index.ts diff --git a/packages/core/capabilities/core-capabilities-common/jest.config.js b/src/core/packages/notifications/browser-internal/jest.config.js similarity index 83% rename from packages/core/capabilities/core-capabilities-common/jest.config.js rename to src/core/packages/notifications/browser-internal/jest.config.js index b77a838daf989..71ce8e953967d 100644 --- a/packages/core/capabilities/core-capabilities-common/jest.config.js +++ b/src/core/packages/notifications/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/capabilities/core-capabilities-common'], + rootDir: '../../../../..', + roots: ['/src/core/packages/notifications/browser-internal'], }; diff --git a/packages/core/notifications/core-notifications-browser-internal/kibana.jsonc b/src/core/packages/notifications/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/kibana.jsonc rename to src/core/packages/notifications/browser-internal/kibana.jsonc diff --git a/packages/core/notifications/core-notifications-browser-internal/package.json b/src/core/packages/notifications/browser-internal/package.json similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/package.json rename to src/core/packages/notifications/browser-internal/package.json diff --git a/packages/core/notifications/core-notifications-browser-internal/src/notifications_service.ts b/src/core/packages/notifications/browser-internal/src/notifications_service.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/notifications_service.ts rename to src/core/packages/notifications/browser-internal/src/notifications_service.ts diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/deduplicate_toasts.test.tsx.snap b/src/core/packages/notifications/browser-internal/src/toasts/__snapshots__/deduplicate_toasts.test.tsx.snap similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/deduplicate_toasts.test.tsx.snap rename to src/core/packages/notifications/browser-internal/src/toasts/__snapshots__/deduplicate_toasts.test.tsx.snap diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/error_toast.test.tsx.snap b/src/core/packages/notifications/browser-internal/src/toasts/__snapshots__/error_toast.test.tsx.snap similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/error_toast.test.tsx.snap rename to src/core/packages/notifications/browser-internal/src/toasts/__snapshots__/error_toast.test.tsx.snap diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/toasts_service.test.tsx.snap b/src/core/packages/notifications/browser-internal/src/toasts/__snapshots__/toasts_service.test.tsx.snap similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/toasts_service.test.tsx.snap rename to src/core/packages/notifications/browser-internal/src/toasts/__snapshots__/toasts_service.test.tsx.snap diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/deduplicate_toasts.test.tsx b/src/core/packages/notifications/browser-internal/src/toasts/deduplicate_toasts.test.tsx similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/deduplicate_toasts.test.tsx rename to src/core/packages/notifications/browser-internal/src/toasts/deduplicate_toasts.test.tsx diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/deduplicate_toasts.tsx b/src/core/packages/notifications/browser-internal/src/toasts/deduplicate_toasts.tsx similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/deduplicate_toasts.tsx rename to src/core/packages/notifications/browser-internal/src/toasts/deduplicate_toasts.tsx diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/error_toast.test.tsx b/src/core/packages/notifications/browser-internal/src/toasts/error_toast.test.tsx similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/error_toast.test.tsx rename to src/core/packages/notifications/browser-internal/src/toasts/error_toast.test.tsx diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/error_toast.tsx b/src/core/packages/notifications/browser-internal/src/toasts/error_toast.tsx similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/error_toast.tsx rename to src/core/packages/notifications/browser-internal/src/toasts/error_toast.tsx diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.test.tsx b/src/core/packages/notifications/browser-internal/src/toasts/global_toast_list.test.tsx similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.test.tsx rename to src/core/packages/notifications/browser-internal/src/toasts/global_toast_list.test.tsx diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.tsx b/src/core/packages/notifications/browser-internal/src/toasts/global_toast_list.tsx similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.tsx rename to src/core/packages/notifications/browser-internal/src/toasts/global_toast_list.tsx diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/index.ts b/src/core/packages/notifications/browser-internal/src/toasts/index.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/index.ts rename to src/core/packages/notifications/browser-internal/src/toasts/index.ts diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts b/src/core/packages/notifications/browser-internal/src/toasts/telemetry/event_reporter.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts rename to src/core/packages/notifications/browser-internal/src/toasts/telemetry/event_reporter.ts diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_types.ts b/src/core/packages/notifications/browser-internal/src/toasts/telemetry/event_types.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_types.ts rename to src/core/packages/notifications/browser-internal/src/toasts/telemetry/event_types.ts diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/index.ts b/src/core/packages/notifications/browser-internal/src/toasts/telemetry/index.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/index.ts rename to src/core/packages/notifications/browser-internal/src/toasts/telemetry/index.ts diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.test.ts b/src/core/packages/notifications/browser-internal/src/toasts/toasts_api.test.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.test.ts rename to src/core/packages/notifications/browser-internal/src/toasts/toasts_api.test.ts diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx b/src/core/packages/notifications/browser-internal/src/toasts/toasts_api.tsx similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx rename to src/core/packages/notifications/browser-internal/src/toasts/toasts_api.tsx diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.test.mocks.ts b/src/core/packages/notifications/browser-internal/src/toasts/toasts_service.test.mocks.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.test.mocks.ts rename to src/core/packages/notifications/browser-internal/src/toasts/toasts_service.test.mocks.ts diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.test.tsx b/src/core/packages/notifications/browser-internal/src/toasts/toasts_service.test.tsx similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.test.tsx rename to src/core/packages/notifications/browser-internal/src/toasts/toasts_service.test.tsx diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.tsx b/src/core/packages/notifications/browser-internal/src/toasts/toasts_service.tsx similarity index 100% rename from packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.tsx rename to src/core/packages/notifications/browser-internal/src/toasts/toasts_service.tsx diff --git a/packages/core/notifications/core-notifications-browser-internal/tsconfig.json b/src/core/packages/notifications/browser-internal/tsconfig.json similarity index 94% rename from packages/core/notifications/core-notifications-browser-internal/tsconfig.json rename to src/core/packages/notifications/browser-internal/tsconfig.json index 0aa4081925399..0524975e63e97 100644 --- a/packages/core/notifications/core-notifications-browser-internal/tsconfig.json +++ b/src/core/packages/notifications/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/notifications/core-notifications-browser/README.md b/src/core/packages/notifications/browser/README.md similarity index 100% rename from packages/core/notifications/core-notifications-browser/README.md rename to src/core/packages/notifications/browser/README.md diff --git a/packages/core/notifications/core-notifications-browser/index.ts b/src/core/packages/notifications/browser/index.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser/index.ts rename to src/core/packages/notifications/browser/index.ts diff --git a/src/core/packages/notifications/browser/jest.config.js b/src/core/packages/notifications/browser/jest.config.js new file mode 100644 index 0000000000000..1b1968033daf1 --- /dev/null +++ b/src/core/packages/notifications/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/notifications/browser'], +}; diff --git a/packages/core/notifications/core-notifications-browser/kibana.jsonc b/src/core/packages/notifications/browser/kibana.jsonc similarity index 100% rename from packages/core/notifications/core-notifications-browser/kibana.jsonc rename to src/core/packages/notifications/browser/kibana.jsonc diff --git a/packages/core/notifications/core-notifications-browser/package.json b/src/core/packages/notifications/browser/package.json similarity index 100% rename from packages/core/notifications/core-notifications-browser/package.json rename to src/core/packages/notifications/browser/package.json diff --git a/packages/core/notifications/core-notifications-browser/src/contracts.ts b/src/core/packages/notifications/browser/src/contracts.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser/src/contracts.ts rename to src/core/packages/notifications/browser/src/contracts.ts diff --git a/packages/core/notifications/core-notifications-browser/src/types.ts b/src/core/packages/notifications/browser/src/types.ts similarity index 100% rename from packages/core/notifications/core-notifications-browser/src/types.ts rename to src/core/packages/notifications/browser/src/types.ts diff --git a/packages/core/notifications/core-notifications-browser/tsconfig.json b/src/core/packages/notifications/browser/tsconfig.json similarity index 83% rename from packages/core/notifications/core-notifications-browser/tsconfig.json rename to src/core/packages/notifications/browser/tsconfig.json index e74804a5abae4..51eaf07038922 100644 --- a/packages/core/notifications/core-notifications-browser/tsconfig.json +++ b/src/core/packages/notifications/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/overlays/core-overlays-browser-internal/README.md b/src/core/packages/overlays/browser-internal/README.md similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/README.md rename to src/core/packages/overlays/browser-internal/README.md diff --git a/packages/core/overlays/core-overlays-browser-internal/index.ts b/src/core/packages/overlays/browser-internal/index.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/index.ts rename to src/core/packages/overlays/browser-internal/index.ts diff --git a/src/core/packages/overlays/browser-internal/jest.config.js b/src/core/packages/overlays/browser-internal/jest.config.js new file mode 100644 index 0000000000000..7fd547e4c6406 --- /dev/null +++ b/src/core/packages/overlays/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/overlays/browser-internal'], +}; diff --git a/packages/core/overlays/core-overlays-browser-internal/kibana.jsonc b/src/core/packages/overlays/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/kibana.jsonc rename to src/core/packages/overlays/browser-internal/kibana.jsonc diff --git a/packages/core/overlays/core-overlays-browser-internal/package.json b/src/core/packages/overlays/browser-internal/package.json similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/package.json rename to src/core/packages/overlays/browser-internal/package.json diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.test.tsx b/src/core/packages/overlays/browser-internal/src/banners/banners_list.test.tsx similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.test.tsx rename to src/core/packages/overlays/browser-internal/src/banners/banners_list.test.tsx diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.tsx b/src/core/packages/overlays/browser-internal/src/banners/banners_list.tsx similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.tsx rename to src/core/packages/overlays/browser-internal/src/banners/banners_list.tsx diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.mocks.ts b/src/core/packages/overlays/browser-internal/src/banners/banners_service.test.mocks.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.mocks.ts rename to src/core/packages/overlays/browser-internal/src/banners/banners_service.test.mocks.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.ts b/src/core/packages/overlays/browser-internal/src/banners/banners_service.test.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.ts rename to src/core/packages/overlays/browser-internal/src/banners/banners_service.test.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.tsx b/src/core/packages/overlays/browser-internal/src/banners/banners_service.tsx similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.tsx rename to src/core/packages/overlays/browser-internal/src/banners/banners_service.tsx diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/index.ts b/src/core/packages/overlays/browser-internal/src/banners/index.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/index.ts rename to src/core/packages/overlays/browser-internal/src/banners/index.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/priority_map.test.ts b/src/core/packages/overlays/browser-internal/src/banners/priority_map.test.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/priority_map.test.ts rename to src/core/packages/overlays/browser-internal/src/banners/priority_map.test.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/priority_map.ts b/src/core/packages/overlays/browser-internal/src/banners/priority_map.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/priority_map.ts rename to src/core/packages/overlays/browser-internal/src/banners/priority_map.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.test.ts b/src/core/packages/overlays/browser-internal/src/banners/user_banner_service.test.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.test.ts rename to src/core/packages/overlays/browser-internal/src/banners/user_banner_service.test.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.tsx b/src/core/packages/overlays/browser-internal/src/banners/user_banner_service.tsx similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.tsx rename to src/core/packages/overlays/browser-internal/src/banners/user_banner_service.tsx diff --git a/packages/core/overlays/core-overlays-browser-internal/src/flyout/__snapshots__/flyout_service.test.tsx.snap b/src/core/packages/overlays/browser-internal/src/flyout/__snapshots__/flyout_service.test.tsx.snap similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/flyout/__snapshots__/flyout_service.test.tsx.snap rename to src/core/packages/overlays/browser-internal/src/flyout/__snapshots__/flyout_service.test.tsx.snap diff --git a/packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.test.tsx b/src/core/packages/overlays/browser-internal/src/flyout/flyout_service.test.tsx similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.test.tsx rename to src/core/packages/overlays/browser-internal/src/flyout/flyout_service.test.tsx diff --git a/packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.tsx b/src/core/packages/overlays/browser-internal/src/flyout/flyout_service.tsx similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.tsx rename to src/core/packages/overlays/browser-internal/src/flyout/flyout_service.tsx diff --git a/packages/core/overlays/core-overlays-browser-internal/src/flyout/index.ts b/src/core/packages/overlays/browser-internal/src/flyout/index.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/flyout/index.ts rename to src/core/packages/overlays/browser-internal/src/flyout/index.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap b/src/core/packages/overlays/browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap rename to src/core/packages/overlays/browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap diff --git a/packages/core/overlays/core-overlays-browser-internal/src/modal/index.ts b/src/core/packages/overlays/browser-internal/src/modal/index.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/modal/index.ts rename to src/core/packages/overlays/browser-internal/src/modal/index.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.test.tsx b/src/core/packages/overlays/browser-internal/src/modal/modal_service.test.tsx similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.test.tsx rename to src/core/packages/overlays/browser-internal/src/modal/modal_service.test.tsx diff --git a/packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.tsx b/src/core/packages/overlays/browser-internal/src/modal/modal_service.tsx similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.tsx rename to src/core/packages/overlays/browser-internal/src/modal/modal_service.tsx diff --git a/packages/core/overlays/core-overlays-browser-internal/src/overlay.test.mocks.ts b/src/core/packages/overlays/browser-internal/src/overlay.test.mocks.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/overlay.test.mocks.ts rename to src/core/packages/overlays/browser-internal/src/overlay.test.mocks.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/src/overlay_service.ts b/src/core/packages/overlays/browser-internal/src/overlay_service.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser-internal/src/overlay_service.ts rename to src/core/packages/overlays/browser-internal/src/overlay_service.ts diff --git a/packages/core/overlays/core-overlays-browser-internal/tsconfig.json b/src/core/packages/overlays/browser-internal/tsconfig.json similarity index 90% rename from packages/core/overlays/core-overlays-browser-internal/tsconfig.json rename to src/core/packages/overlays/browser-internal/tsconfig.json index 13263f09b74d5..fd7e592cabd5b 100644 --- a/packages/core/overlays/core-overlays-browser-internal/tsconfig.json +++ b/src/core/packages/overlays/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ @@ -12,7 +12,7 @@ "include": [ "**/*.ts", "**/*.tsx", - "../../../../typings/emotion.d.ts" + "../../../../../typings/emotion.d.ts" ], "kbn_references": [ "@kbn/i18n-react", diff --git a/packages/core/overlays/core-overlays-browser/README.md b/src/core/packages/overlays/browser/README.md similarity index 100% rename from packages/core/overlays/core-overlays-browser/README.md rename to src/core/packages/overlays/browser/README.md diff --git a/packages/core/overlays/core-overlays-browser/index.ts b/src/core/packages/overlays/browser/index.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser/index.ts rename to src/core/packages/overlays/browser/index.ts diff --git a/packages/core/http/core-http-common/jest.config.js b/src/core/packages/overlays/browser/jest.config.js similarity index 85% rename from packages/core/http/core-http-common/jest.config.js rename to src/core/packages/overlays/browser/jest.config.js index 114a20478960e..18a1b0a2ca674 100644 --- a/packages/core/http/core-http-common/jest.config.js +++ b/src/core/packages/overlays/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-common'], + rootDir: '../../../../..', + roots: ['/src/core/packages/overlays/browser'], }; diff --git a/packages/core/overlays/core-overlays-browser/kibana.jsonc b/src/core/packages/overlays/browser/kibana.jsonc similarity index 100% rename from packages/core/overlays/core-overlays-browser/kibana.jsonc rename to src/core/packages/overlays/browser/kibana.jsonc diff --git a/packages/core/overlays/core-overlays-browser/package.json b/src/core/packages/overlays/browser/package.json similarity index 100% rename from packages/core/overlays/core-overlays-browser/package.json rename to src/core/packages/overlays/browser/package.json diff --git a/packages/core/overlays/core-overlays-browser/src/banners.ts b/src/core/packages/overlays/browser/src/banners.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser/src/banners.ts rename to src/core/packages/overlays/browser/src/banners.ts diff --git a/packages/core/overlays/core-overlays-browser/src/flyout.ts b/src/core/packages/overlays/browser/src/flyout.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser/src/flyout.ts rename to src/core/packages/overlays/browser/src/flyout.ts diff --git a/packages/core/overlays/core-overlays-browser/src/modal.ts b/src/core/packages/overlays/browser/src/modal.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser/src/modal.ts rename to src/core/packages/overlays/browser/src/modal.ts diff --git a/packages/core/overlays/core-overlays-browser/src/overlays.ts b/src/core/packages/overlays/browser/src/overlays.ts similarity index 100% rename from packages/core/overlays/core-overlays-browser/src/overlays.ts rename to src/core/packages/overlays/browser/src/overlays.ts diff --git a/packages/core/overlays/core-overlays-browser/tsconfig.json b/src/core/packages/overlays/browser/tsconfig.json similarity index 83% rename from packages/core/overlays/core-overlays-browser/tsconfig.json rename to src/core/packages/overlays/browser/tsconfig.json index 461df2c838a70..d0852cba12c93 100644 --- a/packages/core/overlays/core-overlays-browser/tsconfig.json +++ b/src/core/packages/overlays/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/plugins/core-plugins-base-server-internal/README.md b/src/core/packages/plugins/base-server-internal/README.md similarity index 100% rename from packages/core/plugins/core-plugins-base-server-internal/README.md rename to src/core/packages/plugins/base-server-internal/README.md diff --git a/packages/core/plugins/core-plugins-base-server-internal/index.ts b/src/core/packages/plugins/base-server-internal/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-base-server-internal/index.ts rename to src/core/packages/plugins/base-server-internal/index.ts diff --git a/src/core/packages/plugins/base-server-internal/jest.config.js b/src/core/packages/plugins/base-server-internal/jest.config.js new file mode 100644 index 0000000000000..dee46df2b70a7 --- /dev/null +++ b/src/core/packages/plugins/base-server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/plugins/base-server-internal'], +}; diff --git a/packages/core/plugins/core-plugins-base-server-internal/kibana.jsonc b/src/core/packages/plugins/base-server-internal/kibana.jsonc similarity index 100% rename from packages/core/plugins/core-plugins-base-server-internal/kibana.jsonc rename to src/core/packages/plugins/base-server-internal/kibana.jsonc diff --git a/packages/core/plugins/core-plugins-base-server-internal/package.json b/src/core/packages/plugins/base-server-internal/package.json similarity index 100% rename from packages/core/plugins/core-plugins-base-server-internal/package.json rename to src/core/packages/plugins/base-server-internal/package.json diff --git a/packages/core/plugins/core-plugins-base-server-internal/src/index.ts b/src/core/packages/plugins/base-server-internal/src/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-base-server-internal/src/index.ts rename to src/core/packages/plugins/base-server-internal/src/index.ts diff --git a/packages/core/plugins/core-plugins-base-server-internal/src/types.ts b/src/core/packages/plugins/base-server-internal/src/types.ts similarity index 100% rename from packages/core/plugins/core-plugins-base-server-internal/src/types.ts rename to src/core/packages/plugins/base-server-internal/src/types.ts diff --git a/packages/core/plugins/core-plugins-base-server-internal/tsconfig.json b/src/core/packages/plugins/base-server-internal/tsconfig.json similarity index 82% rename from packages/core/plugins/core-plugins-base-server-internal/tsconfig.json rename to src/core/packages/plugins/base-server-internal/tsconfig.json index 48f63905bf591..d2b20ab587a93 100644 --- a/packages/core/plugins/core-plugins-base-server-internal/tsconfig.json +++ b/src/core/packages/plugins/base-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/plugins/core-plugins-browser-internal/README.md b/src/core/packages/plugins/browser-internal/README.md similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/README.md rename to src/core/packages/plugins/browser-internal/README.md diff --git a/packages/core/plugins/core-plugins-browser-internal/index.ts b/src/core/packages/plugins/browser-internal/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/index.ts rename to src/core/packages/plugins/browser-internal/index.ts diff --git a/src/core/packages/plugins/browser-internal/jest.config.js b/src/core/packages/plugins/browser-internal/jest.config.js new file mode 100644 index 0000000000000..9af195384cac0 --- /dev/null +++ b/src/core/packages/plugins/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/plugins/browser-internal'], +}; diff --git a/packages/core/plugins/core-plugins-browser-internal/kibana.jsonc b/src/core/packages/plugins/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/kibana.jsonc rename to src/core/packages/plugins/browser-internal/kibana.jsonc diff --git a/packages/core/plugins/core-plugins-browser-internal/package.json b/src/core/packages/plugins/browser-internal/package.json similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/package.json rename to src/core/packages/plugins/browser-internal/package.json diff --git a/packages/core/plugins/core-plugins-browser-internal/src/index.ts b/src/core/packages/plugins/browser-internal/src/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/index.ts rename to src/core/packages/plugins/browser-internal/src/index.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin.test.mocks.ts b/src/core/packages/plugins/browser-internal/src/plugin.test.mocks.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugin.test.mocks.ts rename to src/core/packages/plugins/browser-internal/src/plugin.test.mocks.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin.test.ts b/src/core/packages/plugins/browser-internal/src/plugin.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugin.test.ts rename to src/core/packages/plugins/browser-internal/src/plugin.test.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin.ts b/src/core/packages/plugins/browser-internal/src/plugin.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugin.ts rename to src/core/packages/plugins/browser-internal/src/plugin.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.test.ts b/src/core/packages/plugins/browser-internal/src/plugin_context.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugin_context.test.ts rename to src/core/packages/plugins/browser-internal/src/plugin_context.test.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts b/src/core/packages/plugins/browser-internal/src/plugin_context.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts rename to src/core/packages/plugins/browser-internal/src/plugin_context.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin_contract_resolver.test.ts b/src/core/packages/plugins/browser-internal/src/plugin_contract_resolver.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugin_contract_resolver.test.ts rename to src/core/packages/plugins/browser-internal/src/plugin_contract_resolver.test.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin_contract_resolver.ts b/src/core/packages/plugins/browser-internal/src/plugin_contract_resolver.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugin_contract_resolver.ts rename to src/core/packages/plugins/browser-internal/src/plugin_contract_resolver.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin_reader.test.ts b/src/core/packages/plugins/browser-internal/src/plugin_reader.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugin_reader.test.ts rename to src/core/packages/plugins/browser-internal/src/plugin_reader.test.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin_reader.ts b/src/core/packages/plugins/browser-internal/src/plugin_reader.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugin_reader.ts rename to src/core/packages/plugins/browser-internal/src/plugin_reader.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugins_service.test.mocks.ts b/src/core/packages/plugins/browser-internal/src/plugins_service.test.mocks.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugins_service.test.mocks.ts rename to src/core/packages/plugins/browser-internal/src/plugins_service.test.mocks.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugins_service.test.ts b/src/core/packages/plugins/browser-internal/src/plugins_service.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugins_service.test.ts rename to src/core/packages/plugins/browser-internal/src/plugins_service.test.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugins_service.ts b/src/core/packages/plugins/browser-internal/src/plugins_service.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/plugins_service.ts rename to src/core/packages/plugins/browser-internal/src/plugins_service.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/test_helpers/index.ts b/src/core/packages/plugins/browser-internal/src/test_helpers/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/test_helpers/index.ts rename to src/core/packages/plugins/browser-internal/src/test_helpers/index.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/test_helpers/mocks.ts b/src/core/packages/plugins/browser-internal/src/test_helpers/mocks.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/test_helpers/mocks.ts rename to src/core/packages/plugins/browser-internal/src/test_helpers/mocks.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/src/test_helpers/plugin_contract_resolver.mock.ts b/src/core/packages/plugins/browser-internal/src/test_helpers/plugin_contract_resolver.mock.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser-internal/src/test_helpers/plugin_contract_resolver.mock.ts rename to src/core/packages/plugins/browser-internal/src/test_helpers/plugin_contract_resolver.mock.ts diff --git a/packages/core/plugins/core-plugins-browser-internal/tsconfig.json b/src/core/packages/plugins/browser-internal/tsconfig.json similarity index 96% rename from packages/core/plugins/core-plugins-browser-internal/tsconfig.json rename to src/core/packages/plugins/browser-internal/tsconfig.json index e2e502e821362..66d1be4eede1d 100644 --- a/packages/core/plugins/core-plugins-browser-internal/tsconfig.json +++ b/src/core/packages/plugins/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/plugins/core-plugins-browser/README.md b/src/core/packages/plugins/browser/README.md similarity index 100% rename from packages/core/plugins/core-plugins-browser/README.md rename to src/core/packages/plugins/browser/README.md diff --git a/packages/core/plugins/core-plugins-browser/index.ts b/src/core/packages/plugins/browser/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser/index.ts rename to src/core/packages/plugins/browser/index.ts diff --git a/packages/core/http/core-http-browser/jest.config.js b/src/core/packages/plugins/browser/jest.config.js similarity index 85% rename from packages/core/http/core-http-browser/jest.config.js rename to src/core/packages/plugins/browser/jest.config.js index 100acbd9e6f45..46258dbf62123 100644 --- a/packages/core/http/core-http-browser/jest.config.js +++ b/src/core/packages/plugins/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-browser'], + rootDir: '../../../../..', + roots: ['/src/core/packages/plugins/browser'], }; diff --git a/packages/core/plugins/core-plugins-browser/kibana.jsonc b/src/core/packages/plugins/browser/kibana.jsonc similarity index 100% rename from packages/core/plugins/core-plugins-browser/kibana.jsonc rename to src/core/packages/plugins/browser/kibana.jsonc diff --git a/packages/core/plugins/core-plugins-browser/package.json b/src/core/packages/plugins/browser/package.json similarity index 100% rename from packages/core/plugins/core-plugins-browser/package.json rename to src/core/packages/plugins/browser/package.json diff --git a/packages/core/plugins/core-plugins-browser/src/index.ts b/src/core/packages/plugins/browser/src/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser/src/index.ts rename to src/core/packages/plugins/browser/src/index.ts diff --git a/packages/core/plugins/core-plugins-browser/src/plugin.ts b/src/core/packages/plugins/browser/src/plugin.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser/src/plugin.ts rename to src/core/packages/plugins/browser/src/plugin.ts diff --git a/packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts b/src/core/packages/plugins/browser/src/plugin_initializer.ts similarity index 100% rename from packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts rename to src/core/packages/plugins/browser/src/plugin_initializer.ts diff --git a/packages/core/plugins/core-plugins-browser/tsconfig.json b/src/core/packages/plugins/browser/tsconfig.json similarity index 87% rename from packages/core/plugins/core-plugins-browser/tsconfig.json rename to src/core/packages/plugins/browser/tsconfig.json index 18cb8ba7041fc..16949ca59db18 100644 --- a/packages/core/plugins/core-plugins-browser/tsconfig.json +++ b/src/core/packages/plugins/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/plugins/core-plugins-contracts-browser/README.md b/src/core/packages/plugins/contracts-browser/README.md similarity index 100% rename from packages/core/plugins/core-plugins-contracts-browser/README.md rename to src/core/packages/plugins/contracts-browser/README.md diff --git a/packages/core/plugins/core-plugins-contracts-browser/index.ts b/src/core/packages/plugins/contracts-browser/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-contracts-browser/index.ts rename to src/core/packages/plugins/contracts-browser/index.ts diff --git a/src/core/packages/plugins/contracts-browser/jest.config.js b/src/core/packages/plugins/contracts-browser/jest.config.js new file mode 100644 index 0000000000000..e5f9df32ebdac --- /dev/null +++ b/src/core/packages/plugins/contracts-browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/plugins/contracts-browser'], +}; diff --git a/packages/core/plugins/core-plugins-contracts-browser/kibana.jsonc b/src/core/packages/plugins/contracts-browser/kibana.jsonc similarity index 100% rename from packages/core/plugins/core-plugins-contracts-browser/kibana.jsonc rename to src/core/packages/plugins/contracts-browser/kibana.jsonc diff --git a/packages/core/plugins/core-plugins-contracts-browser/package.json b/src/core/packages/plugins/contracts-browser/package.json similarity index 100% rename from packages/core/plugins/core-plugins-contracts-browser/package.json rename to src/core/packages/plugins/contracts-browser/package.json diff --git a/packages/core/plugins/core-plugins-contracts-browser/src/contracts.ts b/src/core/packages/plugins/contracts-browser/src/contracts.ts similarity index 100% rename from packages/core/plugins/core-plugins-contracts-browser/src/contracts.ts rename to src/core/packages/plugins/contracts-browser/src/contracts.ts diff --git a/packages/core/plugins/core-plugins-contracts-browser/tsconfig.json b/src/core/packages/plugins/contracts-browser/tsconfig.json similarity index 82% rename from packages/core/plugins/core-plugins-contracts-browser/tsconfig.json rename to src/core/packages/plugins/contracts-browser/tsconfig.json index 2d841f928c1ba..94a5421dcd1fc 100644 --- a/packages/core/plugins/core-plugins-contracts-browser/tsconfig.json +++ b/src/core/packages/plugins/contracts-browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/plugins/core-plugins-contracts-server/README.md b/src/core/packages/plugins/contracts-server/README.md similarity index 100% rename from packages/core/plugins/core-plugins-contracts-server/README.md rename to src/core/packages/plugins/contracts-server/README.md diff --git a/packages/core/plugins/core-plugins-contracts-server/index.ts b/src/core/packages/plugins/contracts-server/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-contracts-server/index.ts rename to src/core/packages/plugins/contracts-server/index.ts diff --git a/packages/core/http/core-http-resources-server/jest.config.js b/src/core/packages/plugins/contracts-server/jest.config.js similarity index 84% rename from packages/core/http/core-http-resources-server/jest.config.js rename to src/core/packages/plugins/contracts-server/jest.config.js index 5f132637ef8e8..7978e453eddfb 100644 --- a/packages/core/http/core-http-resources-server/jest.config.js +++ b/src/core/packages/plugins/contracts-server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-resources-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/plugins/contracts-server'], }; diff --git a/packages/core/plugins/core-plugins-contracts-server/kibana.jsonc b/src/core/packages/plugins/contracts-server/kibana.jsonc similarity index 100% rename from packages/core/plugins/core-plugins-contracts-server/kibana.jsonc rename to src/core/packages/plugins/contracts-server/kibana.jsonc diff --git a/packages/core/plugins/core-plugins-contracts-server/package.json b/src/core/packages/plugins/contracts-server/package.json similarity index 100% rename from packages/core/plugins/core-plugins-contracts-server/package.json rename to src/core/packages/plugins/contracts-server/package.json diff --git a/packages/core/plugins/core-plugins-contracts-server/src/contracts.ts b/src/core/packages/plugins/contracts-server/src/contracts.ts similarity index 100% rename from packages/core/plugins/core-plugins-contracts-server/src/contracts.ts rename to src/core/packages/plugins/contracts-server/src/contracts.ts diff --git a/packages/core/plugins/core-plugins-contracts-server/tsconfig.json b/src/core/packages/plugins/contracts-server/tsconfig.json similarity index 82% rename from packages/core/plugins/core-plugins-contracts-server/tsconfig.json rename to src/core/packages/plugins/contracts-server/tsconfig.json index 2d841f928c1ba..94a5421dcd1fc 100644 --- a/packages/core/plugins/core-plugins-contracts-server/tsconfig.json +++ b/src/core/packages/plugins/contracts-server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/plugins/core-plugins-server-internal/README.md b/src/core/packages/plugins/server-internal/README.md similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/README.md rename to src/core/packages/plugins/server-internal/README.md diff --git a/packages/core/plugins/core-plugins-server-internal/index.ts b/src/core/packages/plugins/server-internal/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/index.ts rename to src/core/packages/plugins/server-internal/index.ts diff --git a/src/core/packages/plugins/server-internal/jest.config.js b/src/core/packages/plugins/server-internal/jest.config.js new file mode 100644 index 0000000000000..5028d05dc8b9c --- /dev/null +++ b/src/core/packages/plugins/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/plugins/server-internal'], +}; diff --git a/packages/core/plugins/core-plugins-server-internal/kibana.jsonc b/src/core/packages/plugins/server-internal/kibana.jsonc similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/kibana.jsonc rename to src/core/packages/plugins/server-internal/kibana.jsonc diff --git a/packages/core/plugins/core-plugins-server-internal/package.json b/src/core/packages/plugins/server-internal/package.json similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/package.json rename to src/core/packages/plugins/server-internal/package.json diff --git a/packages/core/plugins/core-plugins-server-internal/src/constants.ts b/src/core/packages/plugins/server-internal/src/constants.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/constants.ts rename to src/core/packages/plugins/server-internal/src/constants.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/create_browser_config.test.ts b/src/core/packages/plugins/server-internal/src/create_browser_config.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/create_browser_config.test.ts rename to src/core/packages/plugins/server-internal/src/create_browser_config.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/create_browser_config.ts b/src/core/packages/plugins/server-internal/src/create_browser_config.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/create_browser_config.ts rename to src/core/packages/plugins/server-internal/src/create_browser_config.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/index.ts b/src/core/packages/plugins/server-internal/src/discovery/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/index.ts rename to src/core/packages/plugins/server-internal/src/discovery/index.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/is_camel_case.test.ts b/src/core/packages/plugins/server-internal/src/discovery/is_camel_case.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/is_camel_case.test.ts rename to src/core/packages/plugins/server-internal/src/discovery/is_camel_case.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/is_camel_case.ts b/src/core/packages/plugins/server-internal/src/discovery/is_camel_case.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/is_camel_case.ts rename to src/core/packages/plugins/server-internal/src/discovery/is_camel_case.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_discovery_error.ts b/src/core/packages/plugins/server-internal/src/discovery/plugin_discovery_error.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_discovery_error.ts rename to src/core/packages/plugins/server-internal/src/discovery/plugin_discovery_error.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_from_plugin_package.test.ts b/src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_from_plugin_package.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_from_plugin_package.test.ts rename to src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_from_plugin_package.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_from_plugin_package.ts b/src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_from_plugin_package.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_from_plugin_package.ts rename to src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_from_plugin_package.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.test.mocks.ts b/src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_parser.test.mocks.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.test.mocks.ts rename to src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_parser.test.mocks.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.test.ts b/src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_parser.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.test.ts rename to src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_parser.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts b/src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_parser.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts rename to src/core/packages/plugins/server-internal/src/discovery/plugin_manifest_parser.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/plugins_discovery.test.mocks.ts b/src/core/packages/plugins/server-internal/src/discovery/plugins_discovery.test.mocks.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/plugins_discovery.test.mocks.ts rename to src/core/packages/plugins/server-internal/src/discovery/plugins_discovery.test.mocks.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/plugins_discovery.test.ts b/src/core/packages/plugins/server-internal/src/discovery/plugins_discovery.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/plugins_discovery.test.ts rename to src/core/packages/plugins/server-internal/src/discovery/plugins_discovery.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/plugins_discovery.ts b/src/core/packages/plugins/server-internal/src/discovery/plugins_discovery.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/plugins_discovery.ts rename to src/core/packages/plugins/server-internal/src/discovery/plugins_discovery.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/scan_plugin_search_paths.test.ts b/src/core/packages/plugins/server-internal/src/discovery/scan_plugin_search_paths.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/scan_plugin_search_paths.test.ts rename to src/core/packages/plugins/server-internal/src/discovery/scan_plugin_search_paths.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/discovery/scan_plugin_search_paths.ts b/src/core/packages/plugins/server-internal/src/discovery/scan_plugin_search_paths.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/discovery/scan_plugin_search_paths.ts rename to src/core/packages/plugins/server-internal/src/discovery/scan_plugin_search_paths.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/index.ts b/src/core/packages/plugins/server-internal/src/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/index.ts rename to src/core/packages/plugins/server-internal/src/index.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/legacy_config.test.ts b/src/core/packages/plugins/server-internal/src/legacy_config.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/legacy_config.test.ts rename to src/core/packages/plugins/server-internal/src/legacy_config.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/legacy_config.ts b/src/core/packages/plugins/server-internal/src/legacy_config.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/legacy_config.ts rename to src/core/packages/plugins/server-internal/src/legacy_config.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugin.test.ts b/src/core/packages/plugins/server-internal/src/plugin.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugin.test.ts rename to src/core/packages/plugins/server-internal/src/plugin.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugin.ts b/src/core/packages/plugins/server-internal/src/plugin.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugin.ts rename to src/core/packages/plugins/server-internal/src/plugin.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugin_context.test.ts b/src/core/packages/plugins/server-internal/src/plugin_context.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugin_context.test.ts rename to src/core/packages/plugins/server-internal/src/plugin_context.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts b/src/core/packages/plugins/server-internal/src/plugin_context.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts rename to src/core/packages/plugins/server-internal/src/plugin_context.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugin_contract_resolver.test.ts b/src/core/packages/plugins/server-internal/src/plugin_contract_resolver.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugin_contract_resolver.test.ts rename to src/core/packages/plugins/server-internal/src/plugin_contract_resolver.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugin_contract_resolver.ts b/src/core/packages/plugins/server-internal/src/plugin_contract_resolver.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugin_contract_resolver.ts rename to src/core/packages/plugins/server-internal/src/plugin_contract_resolver.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugins_config.test.ts b/src/core/packages/plugins/server-internal/src/plugins_config.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugins_config.test.ts rename to src/core/packages/plugins/server-internal/src/plugins_config.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugins_config.ts b/src/core/packages/plugins/server-internal/src/plugins_config.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugins_config.ts rename to src/core/packages/plugins/server-internal/src/plugins_config.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugins_service.test.mocks.ts b/src/core/packages/plugins/server-internal/src/plugins_service.test.mocks.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugins_service.test.mocks.ts rename to src/core/packages/plugins/server-internal/src/plugins_service.test.mocks.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugins_service.test.ts b/src/core/packages/plugins/server-internal/src/plugins_service.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugins_service.test.ts rename to src/core/packages/plugins/server-internal/src/plugins_service.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugins_service.ts b/src/core/packages/plugins/server-internal/src/plugins_service.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugins_service.ts rename to src/core/packages/plugins/server-internal/src/plugins_service.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugins_system.test.mocks.ts b/src/core/packages/plugins/server-internal/src/plugins_system.test.mocks.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugins_system.test.mocks.ts rename to src/core/packages/plugins/server-internal/src/plugins_system.test.mocks.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugins_system.test.ts b/src/core/packages/plugins/server-internal/src/plugins_system.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugins_system.test.ts rename to src/core/packages/plugins/server-internal/src/plugins_system.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/plugins_system.ts b/src/core/packages/plugins/server-internal/src/plugins_system.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/plugins_system.ts rename to src/core/packages/plugins/server-internal/src/plugins_system.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/test_helpers/create_core_context_config_service.mock.ts b/src/core/packages/plugins/server-internal/src/test_helpers/create_core_context_config_service.mock.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/test_helpers/create_core_context_config_service.mock.ts rename to src/core/packages/plugins/server-internal/src/test_helpers/create_core_context_config_service.mock.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/test_helpers/index.ts b/src/core/packages/plugins/server-internal/src/test_helpers/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/test_helpers/index.ts rename to src/core/packages/plugins/server-internal/src/test_helpers/index.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/test_helpers/plugin_contract_resolver.mock.ts b/src/core/packages/plugins/server-internal/src/test_helpers/plugin_contract_resolver.mock.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/test_helpers/plugin_contract_resolver.mock.ts rename to src/core/packages/plugins/server-internal/src/test_helpers/plugin_contract_resolver.mock.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/types.test.ts b/src/core/packages/plugins/server-internal/src/types.test.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/types.test.ts rename to src/core/packages/plugins/server-internal/src/types.test.ts diff --git a/packages/core/plugins/core-plugins-server-internal/src/types.ts b/src/core/packages/plugins/server-internal/src/types.ts similarity index 100% rename from packages/core/plugins/core-plugins-server-internal/src/types.ts rename to src/core/packages/plugins/server-internal/src/types.ts diff --git a/packages/core/plugins/core-plugins-server-internal/tsconfig.json b/src/core/packages/plugins/server-internal/tsconfig.json similarity index 95% rename from packages/core/plugins/core-plugins-server-internal/tsconfig.json rename to src/core/packages/plugins/server-internal/tsconfig.json index 14beddf2c7fb7..018b16b8817e0 100644 --- a/packages/core/plugins/core-plugins-server-internal/tsconfig.json +++ b/src/core/packages/plugins/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/plugins/core-plugins-server/README.md b/src/core/packages/plugins/server/README.md similarity index 100% rename from packages/core/plugins/core-plugins-server/README.md rename to src/core/packages/plugins/server/README.md diff --git a/packages/core/plugins/core-plugins-server/index.ts b/src/core/packages/plugins/server/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-server/index.ts rename to src/core/packages/plugins/server/index.ts diff --git a/packages/kbn-config-mocks/jest.config.js b/src/core/packages/plugins/server/jest.config.js similarity index 85% rename from packages/kbn-config-mocks/jest.config.js rename to src/core/packages/plugins/server/jest.config.js index fc11e6ca8c8be..1d0833c2e4159 100644 --- a/packages/kbn-config-mocks/jest.config.js +++ b/src/core/packages/plugins/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-config-mocks'], + rootDir: '../../../../..', + roots: ['/src/core/packages/plugins/server'], }; diff --git a/packages/core/plugins/core-plugins-server/kibana.jsonc b/src/core/packages/plugins/server/kibana.jsonc similarity index 100% rename from packages/core/plugins/core-plugins-server/kibana.jsonc rename to src/core/packages/plugins/server/kibana.jsonc diff --git a/packages/core/plugins/core-plugins-server/package.json b/src/core/packages/plugins/server/package.json similarity index 100% rename from packages/core/plugins/core-plugins-server/package.json rename to src/core/packages/plugins/server/package.json diff --git a/packages/core/plugins/core-plugins-server/src/index.ts b/src/core/packages/plugins/server/src/index.ts similarity index 100% rename from packages/core/plugins/core-plugins-server/src/index.ts rename to src/core/packages/plugins/server/src/index.ts diff --git a/packages/core/plugins/core-plugins-server/src/shared_global_config.ts b/src/core/packages/plugins/server/src/shared_global_config.ts similarity index 100% rename from packages/core/plugins/core-plugins-server/src/shared_global_config.ts rename to src/core/packages/plugins/server/src/shared_global_config.ts diff --git a/packages/core/plugins/core-plugins-server/src/types.ts b/src/core/packages/plugins/server/src/types.ts similarity index 100% rename from packages/core/plugins/core-plugins-server/src/types.ts rename to src/core/packages/plugins/server/src/types.ts diff --git a/packages/core/plugins/core-plugins-server/tsconfig.json b/src/core/packages/plugins/server/tsconfig.json similarity index 91% rename from packages/core/plugins/core-plugins-server/tsconfig.json rename to src/core/packages/plugins/server/tsconfig.json index c6eee13f49312..acdb00c4f9c2c 100644 --- a/packages/core/plugins/core-plugins-server/tsconfig.json +++ b/src/core/packages/plugins/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/preboot/core-preboot-server-internal/README.md b/src/core/packages/preboot/server-internal/README.md similarity index 100% rename from packages/core/preboot/core-preboot-server-internal/README.md rename to src/core/packages/preboot/server-internal/README.md diff --git a/packages/core/preboot/core-preboot-server-internal/index.ts b/src/core/packages/preboot/server-internal/index.ts similarity index 100% rename from packages/core/preboot/core-preboot-server-internal/index.ts rename to src/core/packages/preboot/server-internal/index.ts diff --git a/src/core/packages/preboot/server-internal/jest.config.js b/src/core/packages/preboot/server-internal/jest.config.js new file mode 100644 index 0000000000000..3201c1ab09ff9 --- /dev/null +++ b/src/core/packages/preboot/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/preboot/server-internal'], +}; diff --git a/packages/core/preboot/core-preboot-server-internal/kibana.jsonc b/src/core/packages/preboot/server-internal/kibana.jsonc similarity index 100% rename from packages/core/preboot/core-preboot-server-internal/kibana.jsonc rename to src/core/packages/preboot/server-internal/kibana.jsonc diff --git a/packages/core/preboot/core-preboot-server-internal/package.json b/src/core/packages/preboot/server-internal/package.json similarity index 100% rename from packages/core/preboot/core-preboot-server-internal/package.json rename to src/core/packages/preboot/server-internal/package.json diff --git a/packages/core/preboot/core-preboot-server-internal/src/preboot_service.test.ts b/src/core/packages/preboot/server-internal/src/preboot_service.test.ts similarity index 100% rename from packages/core/preboot/core-preboot-server-internal/src/preboot_service.test.ts rename to src/core/packages/preboot/server-internal/src/preboot_service.test.ts diff --git a/packages/core/preboot/core-preboot-server-internal/src/preboot_service.ts b/src/core/packages/preboot/server-internal/src/preboot_service.ts similarity index 100% rename from packages/core/preboot/core-preboot-server-internal/src/preboot_service.ts rename to src/core/packages/preboot/server-internal/src/preboot_service.ts diff --git a/packages/core/preboot/core-preboot-server-internal/src/types.ts b/src/core/packages/preboot/server-internal/src/types.ts similarity index 100% rename from packages/core/preboot/core-preboot-server-internal/src/types.ts rename to src/core/packages/preboot/server-internal/src/types.ts diff --git a/packages/core/preboot/core-preboot-server-internal/tsconfig.json b/src/core/packages/preboot/server-internal/tsconfig.json similarity index 88% rename from packages/core/preboot/core-preboot-server-internal/tsconfig.json rename to src/core/packages/preboot/server-internal/tsconfig.json index fa2cee0f60496..bc8f2aee585c0 100644 --- a/packages/core/preboot/core-preboot-server-internal/tsconfig.json +++ b/src/core/packages/preboot/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/preboot/core-preboot-server/README.md b/src/core/packages/preboot/server/README.md similarity index 100% rename from packages/core/preboot/core-preboot-server/README.md rename to src/core/packages/preboot/server/README.md diff --git a/packages/core/preboot/core-preboot-server/index.ts b/src/core/packages/preboot/server/index.ts similarity index 100% rename from packages/core/preboot/core-preboot-server/index.ts rename to src/core/packages/preboot/server/index.ts diff --git a/src/core/packages/preboot/server/jest.config.js b/src/core/packages/preboot/server/jest.config.js new file mode 100644 index 0000000000000..3cf123c9c082a --- /dev/null +++ b/src/core/packages/preboot/server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/preboot/server'], +}; diff --git a/packages/core/preboot/core-preboot-server/kibana.jsonc b/src/core/packages/preboot/server/kibana.jsonc similarity index 100% rename from packages/core/preboot/core-preboot-server/kibana.jsonc rename to src/core/packages/preboot/server/kibana.jsonc diff --git a/packages/core/preboot/core-preboot-server/package.json b/src/core/packages/preboot/server/package.json similarity index 100% rename from packages/core/preboot/core-preboot-server/package.json rename to src/core/packages/preboot/server/package.json diff --git a/packages/core/preboot/core-preboot-server/src/contracts.ts b/src/core/packages/preboot/server/src/contracts.ts similarity index 100% rename from packages/core/preboot/core-preboot-server/src/contracts.ts rename to src/core/packages/preboot/server/src/contracts.ts diff --git a/src/core/packages/preboot/server/tsconfig.json b/src/core/packages/preboot/server/tsconfig.json new file mode 100644 index 0000000000000..131ff3e6bb433 --- /dev/null +++ b/src/core/packages/preboot/server/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/core/rendering/core-rendering-browser-internal/README.md b/src/core/packages/rendering/browser-internal/README.md similarity index 100% rename from packages/core/rendering/core-rendering-browser-internal/README.md rename to src/core/packages/rendering/browser-internal/README.md diff --git a/packages/core/rendering/core-rendering-browser-internal/index.ts b/src/core/packages/rendering/browser-internal/index.ts similarity index 100% rename from packages/core/rendering/core-rendering-browser-internal/index.ts rename to src/core/packages/rendering/browser-internal/index.ts diff --git a/src/core/packages/rendering/browser-internal/jest.config.js b/src/core/packages/rendering/browser-internal/jest.config.js new file mode 100644 index 0000000000000..2eeaeb2608339 --- /dev/null +++ b/src/core/packages/rendering/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/rendering/browser-internal'], +}; diff --git a/packages/core/rendering/core-rendering-browser-internal/kibana.jsonc b/src/core/packages/rendering/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/rendering/core-rendering-browser-internal/kibana.jsonc rename to src/core/packages/rendering/browser-internal/kibana.jsonc diff --git a/packages/core/rendering/core-rendering-browser-internal/package.json b/src/core/packages/rendering/browser-internal/package.json similarity index 100% rename from packages/core/rendering/core-rendering-browser-internal/package.json rename to src/core/packages/rendering/browser-internal/package.json diff --git a/packages/core/rendering/core-rendering-browser-internal/src/app_containers.test.tsx b/src/core/packages/rendering/browser-internal/src/app_containers.test.tsx similarity index 100% rename from packages/core/rendering/core-rendering-browser-internal/src/app_containers.test.tsx rename to src/core/packages/rendering/browser-internal/src/app_containers.test.tsx diff --git a/packages/core/rendering/core-rendering-browser-internal/src/app_containers.tsx b/src/core/packages/rendering/browser-internal/src/app_containers.tsx similarity index 100% rename from packages/core/rendering/core-rendering-browser-internal/src/app_containers.tsx rename to src/core/packages/rendering/browser-internal/src/app_containers.tsx diff --git a/packages/core/rendering/core-rendering-browser-internal/src/index.ts b/src/core/packages/rendering/browser-internal/src/index.ts similarity index 100% rename from packages/core/rendering/core-rendering-browser-internal/src/index.ts rename to src/core/packages/rendering/browser-internal/src/index.ts diff --git a/packages/core/rendering/core-rendering-browser-internal/src/rendering_service.test.tsx b/src/core/packages/rendering/browser-internal/src/rendering_service.test.tsx similarity index 100% rename from packages/core/rendering/core-rendering-browser-internal/src/rendering_service.test.tsx rename to src/core/packages/rendering/browser-internal/src/rendering_service.test.tsx diff --git a/packages/core/rendering/core-rendering-browser-internal/src/rendering_service.tsx b/src/core/packages/rendering/browser-internal/src/rendering_service.tsx similarity index 100% rename from packages/core/rendering/core-rendering-browser-internal/src/rendering_service.tsx rename to src/core/packages/rendering/browser-internal/src/rendering_service.tsx diff --git a/packages/core/rendering/core-rendering-browser-internal/tsconfig.json b/src/core/packages/rendering/browser-internal/tsconfig.json similarity index 94% rename from packages/core/rendering/core-rendering-browser-internal/tsconfig.json rename to src/core/packages/rendering/browser-internal/tsconfig.json index 02657e4e54b43..cf6fbc53280ae 100644 --- a/packages/core/rendering/core-rendering-browser-internal/tsconfig.json +++ b/src/core/packages/rendering/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/rendering/core-rendering-browser/README.md b/src/core/packages/rendering/browser/README.md similarity index 100% rename from packages/core/rendering/core-rendering-browser/README.md rename to src/core/packages/rendering/browser/README.md diff --git a/packages/core/rendering/core-rendering-browser/index.ts b/src/core/packages/rendering/browser/index.ts similarity index 100% rename from packages/core/rendering/core-rendering-browser/index.ts rename to src/core/packages/rendering/browser/index.ts diff --git a/src/core/packages/rendering/browser/jest.config.js b/src/core/packages/rendering/browser/jest.config.js new file mode 100644 index 0000000000000..8d72dd41b7b9e --- /dev/null +++ b/src/core/packages/rendering/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/rendering/browser'], +}; diff --git a/packages/core/rendering/core-rendering-browser/kibana.jsonc b/src/core/packages/rendering/browser/kibana.jsonc similarity index 100% rename from packages/core/rendering/core-rendering-browser/kibana.jsonc rename to src/core/packages/rendering/browser/kibana.jsonc diff --git a/packages/core/rendering/core-rendering-browser/package.json b/src/core/packages/rendering/browser/package.json similarity index 100% rename from packages/core/rendering/core-rendering-browser/package.json rename to src/core/packages/rendering/browser/package.json diff --git a/packages/core/rendering/core-rendering-browser/src/index.ts b/src/core/packages/rendering/browser/src/index.ts similarity index 100% rename from packages/core/rendering/core-rendering-browser/src/index.ts rename to src/core/packages/rendering/browser/src/index.ts diff --git a/packages/core/rendering/core-rendering-browser/src/use_app_fixed_viewport.ts b/src/core/packages/rendering/browser/src/use_app_fixed_viewport.ts similarity index 100% rename from packages/core/rendering/core-rendering-browser/src/use_app_fixed_viewport.ts rename to src/core/packages/rendering/browser/src/use_app_fixed_viewport.ts diff --git a/packages/core/rendering/core-rendering-browser/tsconfig.json b/src/core/packages/rendering/browser/tsconfig.json similarity index 82% rename from packages/core/rendering/core-rendering-browser/tsconfig.json rename to src/core/packages/rendering/browser/tsconfig.json index 3a932605dfa75..b6a3b06e7710a 100644 --- a/packages/core/rendering/core-rendering-browser/tsconfig.json +++ b/src/core/packages/rendering/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/rendering/core-rendering-server-internal/README.md b/src/core/packages/rendering/server-internal/README.md similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/README.md rename to src/core/packages/rendering/server-internal/README.md diff --git a/packages/core/rendering/core-rendering-server-internal/index.ts b/src/core/packages/rendering/server-internal/index.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/index.ts rename to src/core/packages/rendering/server-internal/index.ts diff --git a/src/core/packages/rendering/server-internal/jest.config.js b/src/core/packages/rendering/server-internal/jest.config.js new file mode 100644 index 0000000000000..702015c88662a --- /dev/null +++ b/src/core/packages/rendering/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/rendering/server-internal'], +}; diff --git a/packages/core/rendering/core-rendering-server-internal/kibana.jsonc b/src/core/packages/rendering/server-internal/kibana.jsonc similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/kibana.jsonc rename to src/core/packages/rendering/server-internal/kibana.jsonc diff --git a/packages/core/rendering/core-rendering-server-internal/package.json b/src/core/packages/rendering/server-internal/package.json similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/package.json rename to src/core/packages/rendering/server-internal/package.json diff --git a/packages/core/rendering/core-rendering-server-internal/src/__snapshots__/rendering_service.test.ts.snap b/src/core/packages/rendering/server-internal/src/__snapshots__/rendering_service.test.ts.snap similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/__snapshots__/rendering_service.test.ts.snap rename to src/core/packages/rendering/server-internal/src/__snapshots__/rendering_service.test.ts.snap diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/__snapshots__/render_template.test.ts.snap b/src/core/packages/rendering/server-internal/src/bootstrap/__snapshots__/render_template.test.ts.snap similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/__snapshots__/render_template.test.ts.snap rename to src/core/packages/rendering/server-internal/src/bootstrap/__snapshots__/render_template.test.ts.snap diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/bootstrap_renderer.test.mocks.ts b/src/core/packages/rendering/server-internal/src/bootstrap/bootstrap_renderer.test.mocks.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/bootstrap_renderer.test.mocks.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/bootstrap_renderer.test.mocks.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/bootstrap_renderer.test.ts b/src/core/packages/rendering/server-internal/src/bootstrap/bootstrap_renderer.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/bootstrap_renderer.test.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/bootstrap_renderer.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/bootstrap_renderer.ts b/src/core/packages/rendering/server-internal/src/bootstrap/bootstrap_renderer.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/bootstrap_renderer.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/bootstrap_renderer.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_js_dependency_paths.test.ts b/src/core/packages/rendering/server-internal/src/bootstrap/get_js_dependency_paths.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_js_dependency_paths.test.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/get_js_dependency_paths.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_js_dependency_paths.ts b/src/core/packages/rendering/server-internal/src/bootstrap/get_js_dependency_paths.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_js_dependency_paths.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/get_js_dependency_paths.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_plugin_bundle_paths.test.ts b/src/core/packages/rendering/server-internal/src/bootstrap/get_plugin_bundle_paths.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_plugin_bundle_paths.test.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/get_plugin_bundle_paths.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_plugin_bundle_paths.ts b/src/core/packages/rendering/server-internal/src/bootstrap/get_plugin_bundle_paths.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_plugin_bundle_paths.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/get_plugin_bundle_paths.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_theme_tag.test.ts b/src/core/packages/rendering/server-internal/src/bootstrap/get_theme_tag.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_theme_tag.test.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/get_theme_tag.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_theme_tag.ts b/src/core/packages/rendering/server-internal/src/bootstrap/get_theme_tag.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/get_theme_tag.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/get_theme_tag.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/index.ts b/src/core/packages/rendering/server-internal/src/bootstrap/index.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/index.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/index.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/register_bootstrap_route.test.ts b/src/core/packages/rendering/server-internal/src/bootstrap/register_bootstrap_route.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/register_bootstrap_route.test.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/register_bootstrap_route.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/register_bootstrap_route.ts b/src/core/packages/rendering/server-internal/src/bootstrap/register_bootstrap_route.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/register_bootstrap_route.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/register_bootstrap_route.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/render_template.test.ts b/src/core/packages/rendering/server-internal/src/bootstrap/render_template.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/render_template.test.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/render_template.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/bootstrap/render_template.ts b/src/core/packages/rendering/server-internal/src/bootstrap/render_template.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/bootstrap/render_template.ts rename to src/core/packages/rendering/server-internal/src/bootstrap/render_template.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/filter_ui_plugins.test.ts b/src/core/packages/rendering/server-internal/src/filter_ui_plugins.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/filter_ui_plugins.test.ts rename to src/core/packages/rendering/server-internal/src/filter_ui_plugins.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/filter_ui_plugins.ts b/src/core/packages/rendering/server-internal/src/filter_ui_plugins.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/filter_ui_plugins.ts rename to src/core/packages/rendering/server-internal/src/filter_ui_plugins.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/get_apm_config.test.mocks.ts b/src/core/packages/rendering/server-internal/src/get_apm_config.test.mocks.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/get_apm_config.test.mocks.ts rename to src/core/packages/rendering/server-internal/src/get_apm_config.test.mocks.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/get_apm_config.test.ts b/src/core/packages/rendering/server-internal/src/get_apm_config.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/get_apm_config.test.ts rename to src/core/packages/rendering/server-internal/src/get_apm_config.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/get_apm_config.ts b/src/core/packages/rendering/server-internal/src/get_apm_config.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/get_apm_config.ts rename to src/core/packages/rendering/server-internal/src/get_apm_config.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/index.ts b/src/core/packages/rendering/server-internal/src/index.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/index.ts rename to src/core/packages/rendering/server-internal/src/index.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/internal_types.ts b/src/core/packages/rendering/server-internal/src/internal_types.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/internal_types.ts rename to src/core/packages/rendering/server-internal/src/internal_types.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/render_utils.test.ts b/src/core/packages/rendering/server-internal/src/render_utils.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/render_utils.test.ts rename to src/core/packages/rendering/server-internal/src/render_utils.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/render_utils.ts b/src/core/packages/rendering/server-internal/src/render_utils.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/render_utils.ts rename to src/core/packages/rendering/server-internal/src/render_utils.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/rendering_service.test.mocks.ts b/src/core/packages/rendering/server-internal/src/rendering_service.test.mocks.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/rendering_service.test.mocks.ts rename to src/core/packages/rendering/server-internal/src/rendering_service.test.mocks.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/rendering_service.test.ts b/src/core/packages/rendering/server-internal/src/rendering_service.test.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/rendering_service.test.ts rename to src/core/packages/rendering/server-internal/src/rendering_service.test.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/rendering_service.tsx b/src/core/packages/rendering/server-internal/src/rendering_service.tsx similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/rendering_service.tsx rename to src/core/packages/rendering/server-internal/src/rendering_service.tsx diff --git a/packages/core/rendering/core-rendering-server-internal/src/test_helpers/params.ts b/src/core/packages/rendering/server-internal/src/test_helpers/params.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/test_helpers/params.ts rename to src/core/packages/rendering/server-internal/src/test_helpers/params.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/test_helpers/rendering_service.ts b/src/core/packages/rendering/server-internal/src/test_helpers/rendering_service.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/test_helpers/rendering_service.ts rename to src/core/packages/rendering/server-internal/src/test_helpers/rendering_service.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/types.ts b/src/core/packages/rendering/server-internal/src/types.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/types.ts rename to src/core/packages/rendering/server-internal/src/types.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/views/fonts.tsx b/src/core/packages/rendering/server-internal/src/views/fonts.tsx similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/views/fonts.tsx rename to src/core/packages/rendering/server-internal/src/views/fonts.tsx diff --git a/packages/core/rendering/core-rendering-server-internal/src/views/index.ts b/src/core/packages/rendering/server-internal/src/views/index.ts similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/views/index.ts rename to src/core/packages/rendering/server-internal/src/views/index.ts diff --git a/packages/core/rendering/core-rendering-server-internal/src/views/logo.tsx b/src/core/packages/rendering/server-internal/src/views/logo.tsx similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/views/logo.tsx rename to src/core/packages/rendering/server-internal/src/views/logo.tsx diff --git a/packages/core/rendering/core-rendering-server-internal/src/views/styles.tsx b/src/core/packages/rendering/server-internal/src/views/styles.tsx similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/views/styles.tsx rename to src/core/packages/rendering/server-internal/src/views/styles.tsx diff --git a/packages/core/rendering/core-rendering-server-internal/src/views/template.tsx b/src/core/packages/rendering/server-internal/src/views/template.tsx similarity index 100% rename from packages/core/rendering/core-rendering-server-internal/src/views/template.tsx rename to src/core/packages/rendering/server-internal/src/views/template.tsx diff --git a/packages/core/rendering/core-rendering-server-internal/tsconfig.json b/src/core/packages/rendering/server-internal/tsconfig.json similarity index 96% rename from packages/core/rendering/core-rendering-server-internal/tsconfig.json rename to src/core/packages/rendering/server-internal/tsconfig.json index 28a22d3d51ca9..aca7d8f632031 100644 --- a/packages/core/rendering/core-rendering-server-internal/tsconfig.json +++ b/src/core/packages/rendering/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/root/core-root-browser-internal/README.md b/src/core/packages/root/browser-internal/README.md similarity index 100% rename from packages/core/root/core-root-browser-internal/README.md rename to src/core/packages/root/browser-internal/README.md diff --git a/packages/core/root/core-root-browser-internal/index.ts b/src/core/packages/root/browser-internal/index.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/index.ts rename to src/core/packages/root/browser-internal/index.ts diff --git a/src/core/packages/root/browser-internal/jest.config.js b/src/core/packages/root/browser-internal/jest.config.js new file mode 100644 index 0000000000000..f819b1b26a00b --- /dev/null +++ b/src/core/packages/root/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/root/browser-internal'], +}; diff --git a/packages/core/root/core-root-browser-internal/kibana.jsonc b/src/core/packages/root/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/root/core-root-browser-internal/kibana.jsonc rename to src/core/packages/root/browser-internal/kibana.jsonc diff --git a/packages/core/root/core-root-browser-internal/package.json b/src/core/packages/root/browser-internal/package.json similarity index 100% rename from packages/core/root/core-root-browser-internal/package.json rename to src/core/packages/root/browser-internal/package.json diff --git a/packages/core/root/core-root-browser-internal/src/apm_resource_counter.ts b/src/core/packages/root/browser-internal/src/apm_resource_counter.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/apm_resource_counter.ts rename to src/core/packages/root/browser-internal/src/apm_resource_counter.ts diff --git a/packages/core/root/core-root-browser-internal/src/apm_system.test.ts b/src/core/packages/root/browser-internal/src/apm_system.test.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/apm_system.test.ts rename to src/core/packages/root/browser-internal/src/apm_system.test.ts diff --git a/packages/core/root/core-root-browser-internal/src/apm_system.ts b/src/core/packages/root/browser-internal/src/apm_system.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/apm_system.ts rename to src/core/packages/root/browser-internal/src/apm_system.ts diff --git a/packages/core/root/core-root-browser-internal/src/core_system.test.mocks.ts b/src/core/packages/root/browser-internal/src/core_system.test.mocks.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/core_system.test.mocks.ts rename to src/core/packages/root/browser-internal/src/core_system.test.mocks.ts diff --git a/packages/core/root/core-root-browser-internal/src/core_system.test.ts b/src/core/packages/root/browser-internal/src/core_system.test.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/core_system.test.ts rename to src/core/packages/root/browser-internal/src/core_system.test.ts diff --git a/packages/core/root/core-root-browser-internal/src/core_system.ts b/src/core/packages/root/browser-internal/src/core_system.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/core_system.ts rename to src/core/packages/root/browser-internal/src/core_system.ts diff --git a/packages/core/root/core-root-browser-internal/src/events.ts b/src/core/packages/root/browser-internal/src/events.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/events.ts rename to src/core/packages/root/browser-internal/src/events.ts diff --git a/packages/core/root/core-root-browser-internal/src/fetch_optional_memory_info.test.ts b/src/core/packages/root/browser-internal/src/fetch_optional_memory_info.test.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/fetch_optional_memory_info.test.ts rename to src/core/packages/root/browser-internal/src/fetch_optional_memory_info.test.ts diff --git a/packages/core/root/core-root-browser-internal/src/fetch_optional_memory_info.ts b/src/core/packages/root/browser-internal/src/fetch_optional_memory_info.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/fetch_optional_memory_info.ts rename to src/core/packages/root/browser-internal/src/fetch_optional_memory_info.ts diff --git a/packages/core/root/core-root-browser-internal/src/index.ts b/src/core/packages/root/browser-internal/src/index.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/index.ts rename to src/core/packages/root/browser-internal/src/index.ts diff --git a/packages/core/root/core-root-browser-internal/src/kbn_bootstrap.test.mocks.ts b/src/core/packages/root/browser-internal/src/kbn_bootstrap.test.mocks.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/kbn_bootstrap.test.mocks.ts rename to src/core/packages/root/browser-internal/src/kbn_bootstrap.test.mocks.ts diff --git a/packages/core/root/core-root-browser-internal/src/kbn_bootstrap.test.ts b/src/core/packages/root/browser-internal/src/kbn_bootstrap.test.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/kbn_bootstrap.test.ts rename to src/core/packages/root/browser-internal/src/kbn_bootstrap.test.ts diff --git a/packages/core/root/core-root-browser-internal/src/kbn_bootstrap.ts b/src/core/packages/root/browser-internal/src/kbn_bootstrap.ts similarity index 100% rename from packages/core/root/core-root-browser-internal/src/kbn_bootstrap.ts rename to src/core/packages/root/browser-internal/src/kbn_bootstrap.ts diff --git a/packages/core/root/core-root-browser-internal/tsconfig.json b/src/core/packages/root/browser-internal/tsconfig.json similarity index 98% rename from packages/core/root/core-root-browser-internal/tsconfig.json rename to src/core/packages/root/browser-internal/tsconfig.json index 159275fb15012..abd4c3d7a2995 100644 --- a/packages/core/root/core-root-browser-internal/tsconfig.json +++ b/src/core/packages/root/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/root/core-root-server-internal/README.md b/src/core/packages/root/server-internal/README.md similarity index 100% rename from packages/core/root/core-root-server-internal/README.md rename to src/core/packages/root/server-internal/README.md diff --git a/packages/core/root/core-root-server-internal/index.ts b/src/core/packages/root/server-internal/index.ts similarity index 100% rename from packages/core/root/core-root-server-internal/index.ts rename to src/core/packages/root/server-internal/index.ts diff --git a/src/core/packages/root/server-internal/jest.config.js b/src/core/packages/root/server-internal/jest.config.js new file mode 100644 index 0000000000000..a9ace28a9b0a6 --- /dev/null +++ b/src/core/packages/root/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/root/server-internal'], +}; diff --git a/packages/core/root/core-root-server-internal/kibana.jsonc b/src/core/packages/root/server-internal/kibana.jsonc similarity index 100% rename from packages/core/root/core-root-server-internal/kibana.jsonc rename to src/core/packages/root/server-internal/kibana.jsonc diff --git a/packages/core/root/core-root-server-internal/package.json b/src/core/packages/root/server-internal/package.json similarity index 100% rename from packages/core/root/core-root-server-internal/package.json rename to src/core/packages/root/server-internal/package.json diff --git a/packages/core/root/core-root-server-internal/src/bootstrap.ts b/src/core/packages/root/server-internal/src/bootstrap.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/bootstrap.ts rename to src/core/packages/root/server-internal/src/bootstrap.ts diff --git a/packages/core/root/core-root-server-internal/src/constants.ts b/src/core/packages/root/server-internal/src/constants.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/constants.ts rename to src/core/packages/root/server-internal/src/constants.ts diff --git a/packages/core/root/core-root-server-internal/src/core_config.ts b/src/core/packages/root/server-internal/src/core_config.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/core_config.ts rename to src/core/packages/root/server-internal/src/core_config.ts diff --git a/packages/core/root/core-root-server-internal/src/events/index.ts b/src/core/packages/root/server-internal/src/events/index.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/events/index.ts rename to src/core/packages/root/server-internal/src/events/index.ts diff --git a/packages/core/root/core-root-server-internal/src/events/kibana_started.ts b/src/core/packages/root/server-internal/src/events/kibana_started.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/events/kibana_started.ts rename to src/core/packages/root/server-internal/src/events/kibana_started.ts diff --git a/packages/core/root/core-root-server-internal/src/index.ts b/src/core/packages/root/server-internal/src/index.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/index.ts rename to src/core/packages/root/server-internal/src/index.ts diff --git a/packages/core/root/core-root-server-internal/src/register_service_config.ts b/src/core/packages/root/server-internal/src/register_service_config.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/register_service_config.ts rename to src/core/packages/root/server-internal/src/register_service_config.ts diff --git a/packages/core/root/core-root-server-internal/src/root/__snapshots__/index.test.ts.snap b/src/core/packages/root/server-internal/src/root/__snapshots__/index.test.ts.snap similarity index 100% rename from packages/core/root/core-root-server-internal/src/root/__snapshots__/index.test.ts.snap rename to src/core/packages/root/server-internal/src/root/__snapshots__/index.test.ts.snap diff --git a/packages/core/root/core-root-server-internal/src/root/elastic_config.ts b/src/core/packages/root/server-internal/src/root/elastic_config.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/root/elastic_config.ts rename to src/core/packages/root/server-internal/src/root/elastic_config.ts diff --git a/packages/core/root/core-root-server-internal/src/root/index.test.mocks.ts b/src/core/packages/root/server-internal/src/root/index.test.mocks.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/root/index.test.mocks.ts rename to src/core/packages/root/server-internal/src/root/index.test.mocks.ts diff --git a/packages/core/root/core-root-server-internal/src/root/index.test.ts b/src/core/packages/root/server-internal/src/root/index.test.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/root/index.test.ts rename to src/core/packages/root/server-internal/src/root/index.test.ts diff --git a/packages/core/root/core-root-server-internal/src/root/index.ts b/src/core/packages/root/server-internal/src/root/index.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/root/index.ts rename to src/core/packages/root/server-internal/src/root/index.ts diff --git a/packages/core/root/core-root-server-internal/src/root/serverless_config.ts b/src/core/packages/root/server-internal/src/root/serverless_config.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/root/serverless_config.ts rename to src/core/packages/root/server-internal/src/root/serverless_config.ts diff --git a/packages/core/root/core-root-server-internal/src/server.test.mocks.ts b/src/core/packages/root/server-internal/src/server.test.mocks.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/server.test.mocks.ts rename to src/core/packages/root/server-internal/src/server.test.mocks.ts diff --git a/packages/core/root/core-root-server-internal/src/server.test.ts b/src/core/packages/root/server-internal/src/server.test.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/server.test.ts rename to src/core/packages/root/server-internal/src/server.test.ts diff --git a/packages/core/root/core-root-server-internal/src/server.ts b/src/core/packages/root/server-internal/src/server.ts similarity index 100% rename from packages/core/root/core-root-server-internal/src/server.ts rename to src/core/packages/root/server-internal/src/server.ts diff --git a/packages/core/root/core-root-server-internal/tsconfig.json b/src/core/packages/root/server-internal/tsconfig.json similarity index 98% rename from packages/core/root/core-root-server-internal/tsconfig.json rename to src/core/packages/root/server-internal/tsconfig.json index 843a701db807b..7fbaf2274b6cf 100644 --- a/packages/core/root/core-root-server-internal/tsconfig.json +++ b/src/core/packages/root/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/README.md b/src/core/packages/saved-objects/api-browser/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/README.md rename to src/core/packages/saved-objects/api-browser/README.md diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/index.ts b/src/core/packages/saved-objects/api-browser/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/index.ts rename to src/core/packages/saved-objects/api-browser/index.ts diff --git a/src/core/packages/saved-objects/api-browser/jest.config.js b/src/core/packages/saved-objects/api-browser/jest.config.js new file mode 100644 index 0000000000000..2333ba74b821a --- /dev/null +++ b/src/core/packages/saved-objects/api-browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/api-browser'], +}; diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/kibana.jsonc b/src/core/packages/saved-objects/api-browser/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/kibana.jsonc rename to src/core/packages/saved-objects/api-browser/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/package.json b/src/core/packages/saved-objects/api-browser/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/package.json rename to src/core/packages/saved-objects/api-browser/package.json diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/base.ts b/src/core/packages/saved-objects/api-browser/src/apis/base.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/base.ts rename to src/core/packages/saved-objects/api-browser/src/apis/base.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_create.ts b/src/core/packages/saved-objects/api-browser/src/apis/bulk_create.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_create.ts rename to src/core/packages/saved-objects/api-browser/src/apis/bulk_create.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_delete.ts b/src/core/packages/saved-objects/api-browser/src/apis/bulk_delete.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_delete.ts rename to src/core/packages/saved-objects/api-browser/src/apis/bulk_delete.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_resolve.ts b/src/core/packages/saved-objects/api-browser/src/apis/bulk_resolve.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_resolve.ts rename to src/core/packages/saved-objects/api-browser/src/apis/bulk_resolve.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts b/src/core/packages/saved-objects/api-browser/src/apis/bulk_update.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts rename to src/core/packages/saved-objects/api-browser/src/apis/bulk_update.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts b/src/core/packages/saved-objects/api-browser/src/apis/create.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts rename to src/core/packages/saved-objects/api-browser/src/apis/create.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/delete.ts b/src/core/packages/saved-objects/api-browser/src/apis/delete.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/delete.ts rename to src/core/packages/saved-objects/api-browser/src/apis/delete.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts b/src/core/packages/saved-objects/api-browser/src/apis/find.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts rename to src/core/packages/saved-objects/api-browser/src/apis/find.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/index.ts b/src/core/packages/saved-objects/api-browser/src/apis/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/index.ts rename to src/core/packages/saved-objects/api-browser/src/apis/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/resolve.ts b/src/core/packages/saved-objects/api-browser/src/apis/resolve.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/resolve.ts rename to src/core/packages/saved-objects/api-browser/src/apis/resolve.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/apis/update.ts b/src/core/packages/saved-objects/api-browser/src/apis/update.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/apis/update.ts rename to src/core/packages/saved-objects/api-browser/src/apis/update.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts b/src/core/packages/saved-objects/api-browser/src/saved_objects_client.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts rename to src/core/packages/saved-objects/api-browser/src/saved_objects_client.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts b/src/core/packages/saved-objects/api-browser/src/simple_saved_object.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts rename to src/core/packages/saved-objects/api-browser/src/simple_saved_object.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/tsconfig.json b/src/core/packages/saved-objects/api-browser/tsconfig.json similarity index 85% rename from packages/core/saved-objects/core-saved-objects-api-browser/tsconfig.json rename to src/core/packages/saved-objects/api-browser/tsconfig.json index 5d64239e4a8f3..53670789e6836 100644 --- a/packages/core/saved-objects/core-saved-objects-api-browser/tsconfig.json +++ b/src/core/packages/saved-objects/api-browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/README.md b/src/core/packages/saved-objects/api-server-internal/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/README.md rename to src/core/packages/saved-objects/api-server-internal/README.md diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/index.ts b/src/core/packages/saved-objects/api-server-internal/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/index.ts rename to src/core/packages/saved-objects/api-server-internal/index.ts diff --git a/src/core/packages/saved-objects/api-server-internal/jest.config.js b/src/core/packages/saved-objects/api-server-internal/jest.config.js new file mode 100644 index 0000000000000..66d06749ceb7b --- /dev/null +++ b/src/core/packages/saved-objects/api-server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/api-server-internal'], +}; diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/kibana.jsonc b/src/core/packages/saved-objects/api-server-internal/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/kibana.jsonc rename to src/core/packages/saved-objects/api-server-internal/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/package.json b/src/core/packages/saved-objects/api-server-internal/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/package.json rename to src/core/packages/saved-objects/api-server-internal/package.json diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/index.ts b/src/core/packages/saved-objects/api-server-internal/src/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_create.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_create.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_create.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_create.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_create.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_create.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_create.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_create.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_delete.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_delete.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_delete.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_delete.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_delete.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_delete.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_delete.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_delete.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_get.isolated.test.mocks.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_get.isolated.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_get.isolated.test.mocks.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_get.isolated.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_get.isolated.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_get.isolated.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_get.isolated.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_get.isolated.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_get.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_get.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_get.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_get.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_get.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_get.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_get.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_get.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_resolve.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_resolve.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_resolve.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_resolve.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_resolve.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_resolve.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_resolve.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_resolve.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_update.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_update.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_update.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_update.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_update.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_update.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_update.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/bulk_update.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/check_conflicts.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/check_conflicts.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/check_conflicts.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/check_conflicts.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/check_conflicts.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/check_conflicts.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/check_conflicts.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/check_conflicts.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/collect_multinamespace_references.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/collect_multinamespace_references.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/collect_multinamespace_references.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/collect_multinamespace_references.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/collect_multinamespaces_references.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/collect_multinamespaces_references.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/collect_multinamespaces_references.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/collect_multinamespaces_references.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/create.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/create.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/create.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/create.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/create.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/create.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/create.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/create.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/delete.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/delete.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/delete.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/delete.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/delete.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/delete.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/delete.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/delete.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/delete_by_namespace.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/delete_by_namespace.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/delete_by_namespace.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/delete_by_namespace.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/delete_by_namespace.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/delete_by_namespace.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/delete_by_namespace.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/delete_by_namespace.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/find.isolated.test.mocks.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/find.isolated.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/find.isolated.test.mocks.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/find.isolated.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/find.isolated.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/find.isolated.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/find.isolated.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/find.isolated.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/find.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/find.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/find.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/find.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/find.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/find.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/find.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/find.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/get.isolated.test.mocks.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/get.isolated.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/get.isolated.test.mocks.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/get.isolated.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/get.isolated.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/get.isolated.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/get.isolated.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/get.isolated.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/get.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/get.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/get.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/get.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/get.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/get.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/get.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/get.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/common.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/common.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/common.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/common.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/encryption.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/encryption.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/encryption.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/encryption.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/migration.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/migration.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/migration.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/migration.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/migration.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/migration.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/migration.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/migration.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/preflight_check.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/preflight_check.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/preflight_check.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/preflight_check.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/serializer.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/serializer.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/serializer.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/serializer.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/user.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/user.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/user.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/user.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/validation.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/validation.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/validation.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/validation.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/validation_fixtures.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation_fixtures.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/helpers/validation_fixtures.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/helpers/validation_fixtures.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/increment_counter.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/increment_counter.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/increment_counter.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/increment_counter.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/increment_counter.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/increment_counter.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/increment_counter.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/increment_counter.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.test.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.test.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/collect_multi_namespace_references.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.test.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.test.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/delete_legacy_url_aliases.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/find_legacy_url_aliases.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/find_legacy_url_aliases.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/find_legacy_url_aliases.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/find_legacy_url_aliases.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/find_legacy_url_aliases.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/find_legacy_url_aliases.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/find_legacy_url_aliases.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/find_legacy_url_aliases.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/increment_counter_internal.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/increment_counter_internal.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/increment_counter_internal.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/increment_counter_internal.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/internal_bulk_resolve.test.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/internal_bulk_resolve.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/internal_bulk_resolve.test.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/internal_bulk_resolve.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/internal_bulk_resolve.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/internal_bulk_resolve.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/internal_bulk_resolve.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/internal_bulk_resolve.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/internal_bulk_resolve.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/internal_bulk_resolve.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/internal_bulk_resolve.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/internal_bulk_resolve.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/preflight_check_for_create.test.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/preflight_check_for_create.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/preflight_check_for_create.test.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/preflight_check_for_create.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/preflight_check_for_create.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/preflight_check_for_create.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/preflight_check_for_create.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/preflight_check_for_create.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/preflight_check_for_create.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/preflight_check_for_create.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/preflight_check_for_create.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/preflight_check_for_create.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/repository_bulk_delete_internal_types.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/repository_bulk_delete_internal_types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/repository_bulk_delete_internal_types.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/repository_bulk_delete_internal_types.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/update_objects_spaces.test.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/update_objects_spaces.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/update_objects_spaces.test.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/update_objects_spaces.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/update_objects_spaces.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/update_objects_spaces.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/update_objects_spaces.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/update_objects_spaces.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/update_objects_spaces.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/update_objects_spaces.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/internals/update_objects_spaces.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/internals/update_objects_spaces.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/open_point_in_time.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/open_point_in_time.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/open_point_in_time.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/open_point_in_time.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/open_point_in_time.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/open_point_in_time.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/open_point_in_time.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/open_point_in_time.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/remove_references_to.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/remove_references_to.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/remove_references_to.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/remove_references_to.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/remove_references_to.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/remove_references_to.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/remove_references_to.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/remove_references_to.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/resolve.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/resolve.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/resolve.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/resolve.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/resolve.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/resolve.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/resolve.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/resolve.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/types.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/types.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/update.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/update.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/update.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/update.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update_objects_spaces.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/update_objects_spaces.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update_objects_spaces.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/update_objects_spaces.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update_objects_spaces.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/update_objects_spaces.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update_objects_spaces.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/update_objects_spaces.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/either.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/either.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/either.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/either.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/es_responses.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/es_responses.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/es_responses.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/es_responses.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/find_shared_origin_objects.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/find_shared_origin_objects.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/find_shared_origin_objects.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/find_shared_origin_objects.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/find_shared_origin_objects.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/find_shared_origin_objects.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/find_shared_origin_objects.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/find_shared_origin_objects.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/internal_utils.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/internal_utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/internal_utils.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/internal_utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/internal_utils.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/internal_utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/internal_utils.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/internal_utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/merge_for_update.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/merge_for_update.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/merge_for_update.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/merge_for_update.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/merge_for_update.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/merge_for_update.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/utils/merge_for_update.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/apis/utils/merge_for_update.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/constants.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/constants.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/constants.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/constants.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/point_in_time_finder.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/point_in_time_finder.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/point_in_time_finder.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/point_in_time_finder.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/point_in_time_finder.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/point_in_time_finder.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/point_in_time_finder.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/point_in_time_finder.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.encryption_extension.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository.encryption_extension.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.encryption_extension.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository.encryption_extension.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.security_extension.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository.security_extension.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.security_extension.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository.security_extension.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.spaces_extension.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository.spaces_extension.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.spaces_extension.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository.spaces_extension.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.test.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.test.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository_create_repository.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository_create_repository.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository_create_repository.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository_create_repository.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository_es_client.test.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository_es_client.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository_es_client.test.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository_es_client.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository_es_client.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository_es_client.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository_es_client.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository_es_client.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository_es_client.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/repository_es_client.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository_es_client.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/repository_es_client.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/scoped_client_provider.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/scoped_client_provider.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/scoped_client_provider.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/scoped_client_provider.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/scoped_client_provider.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/scoped_client_provider.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/scoped_client_provider.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/scoped_client_provider.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/bucket_aggs.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/bucket_aggs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/bucket_aggs.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/bucket_aggs.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/common_schemas.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/common_schemas.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/common_schemas.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/common_schemas.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/metrics_aggs.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/metrics_aggs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/metrics_aggs.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/metrics_aggs.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/pipeline_aggs.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/pipeline_aggs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/pipeline_aggs.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/pipeline_aggs.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/schemas.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/schemas.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/aggs_types/schemas.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/aggs_types/schemas.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/validation.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/validation.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/validation.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/validation.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/validation.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/validation.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/validation.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/validation.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/validation_utils.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/validation_utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/validation_utils.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/validation_utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/validation_utils.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/validation_utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/aggregations/validation_utils.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/aggregations/validation_utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/__snapshots__/sorting_params.test.ts.snap b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/__snapshots__/sorting_params.test.ts.snap similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/__snapshots__/sorting_params.test.ts.snap rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/__snapshots__/sorting_params.test.ts.snap diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/pit_params.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/pit_params.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/pit_params.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/pit_params.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/pit_params.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/pit_params.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/pit_params.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/pit_params.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/query_params.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/query_params.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/query_params.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/query_params.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/query_params.tests.mocks.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/query_params.tests.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/query_params.tests.mocks.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/query_params.tests.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/query_params.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/query_params.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/query_params.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/query_params.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/references_filter.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/references_filter.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/references_filter.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/references_filter.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/references_filter.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/references_filter.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/references_filter.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/references_filter.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/search_dsl.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/search_dsl.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/search_dsl.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/search_dsl.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/search_dsl.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/search_dsl.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/search_dsl.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/search_dsl.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/sorting_params.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/sorting_params.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/sorting_params.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/sorting_params.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/sorting_params.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/sorting_params.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/search_dsl/sorting_params.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/search_dsl/sorting_params.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/utils/filter_utils.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/utils/filter_utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/utils/filter_utils.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/utils/filter_utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/utils/filter_utils.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/utils/filter_utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/utils/filter_utils.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/utils/filter_utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/utils/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/search/utils/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/search/utils/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/search/utils/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/create_helpers.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/utils/create_helpers.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/create_helpers.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/utils/create_helpers.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/decorate_es_error.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/utils/decorate_es_error.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/decorate_es_error.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/utils/decorate_es_error.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/decorate_es_error.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/utils/decorate_es_error.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/decorate_es_error.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/utils/decorate_es_error.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/included_fields.test.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/utils/included_fields.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/included_fields.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/utils/included_fields.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/included_fields.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/utils/included_fields.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/included_fields.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/utils/included_fields.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/index.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/utils/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/utils/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/update_utils.ts b/src/core/packages/saved-objects/api-server-internal/src/lib/utils/update_utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/utils/update_utils.ts rename to src/core/packages/saved-objects/api-server-internal/src/lib/utils/update_utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/api_context.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/mocks/api_context.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/api_context.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/mocks/api_context.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/api_helpers.mocks.ts b/src/core/packages/saved-objects/api-server-internal/src/mocks/api_helpers.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/api_helpers.mocks.ts rename to src/core/packages/saved-objects/api-server-internal/src/mocks/api_helpers.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/helpers.ts b/src/core/packages/saved-objects/api-server-internal/src/mocks/helpers.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/helpers.ts rename to src/core/packages/saved-objects/api-server-internal/src/mocks/helpers.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/index.ts b/src/core/packages/saved-objects/api-server-internal/src/mocks/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/index.ts rename to src/core/packages/saved-objects/api-server-internal/src/mocks/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/kibana_migrator.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/mocks/kibana_migrator.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/kibana_migrator.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/mocks/kibana_migrator.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/migrator.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/mocks/migrator.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/migrator.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/mocks/migrator.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/point_in_time_finder.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/mocks/point_in_time_finder.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/point_in_time_finder.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/mocks/point_in_time_finder.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/repository.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/mocks/repository.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/repository.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/mocks/repository.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/saved_objects_extensions.mock.ts b/src/core/packages/saved-objects/api-server-internal/src/mocks/saved_objects_extensions.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/mocks/saved_objects_extensions.mock.ts rename to src/core/packages/saved-objects/api-server-internal/src/mocks/saved_objects_extensions.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/saved_objects_client.test.ts b/src/core/packages/saved-objects/api-server-internal/src/saved_objects_client.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/saved_objects_client.test.ts rename to src/core/packages/saved-objects/api-server-internal/src/saved_objects_client.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/saved_objects_client.ts b/src/core/packages/saved-objects/api-server-internal/src/saved_objects_client.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/saved_objects_client.ts rename to src/core/packages/saved-objects/api-server-internal/src/saved_objects_client.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/test_helpers/repository.test.common.ts b/src/core/packages/saved-objects/api-server-internal/src/test_helpers/repository.test.common.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/src/test_helpers/repository.test.common.ts rename to src/core/packages/saved-objects/api-server-internal/src/test_helpers/repository.test.common.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/tsconfig.json b/src/core/packages/saved-objects/api-server-internal/tsconfig.json similarity index 95% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/tsconfig.json rename to src/core/packages/saved-objects/api-server-internal/tsconfig.json index f9912727a8720..2b4ef81f68aeb 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-internal/tsconfig.json +++ b/src/core/packages/saved-objects/api-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-api-server/README.md b/src/core/packages/saved-objects/api-server/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/README.md rename to src/core/packages/saved-objects/api-server/README.md diff --git a/packages/core/saved-objects/core-saved-objects-api-server/index.ts b/src/core/packages/saved-objects/api-server/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/index.ts rename to src/core/packages/saved-objects/api-server/index.ts diff --git a/packages/core/http/core-http-server-internal/jest.config.js b/src/core/packages/saved-objects/api-server/jest.config.js similarity index 84% rename from packages/core/http/core-http-server-internal/jest.config.js rename to src/core/packages/saved-objects/api-server/jest.config.js index f53fe944b48e6..f1724f3a65e80 100644 --- a/packages/core/http/core-http-server-internal/jest.config.js +++ b/src/core/packages/saved-objects/api-server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/api-server'], }; diff --git a/packages/core/saved-objects/core-saved-objects-api-server/kibana.jsonc b/src/core/packages/saved-objects/api-server/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/kibana.jsonc rename to src/core/packages/saved-objects/api-server/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-api-server/package.json b/src/core/packages/saved-objects/api-server/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/package.json rename to src/core/packages/saved-objects/api-server/package.json diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/base.ts b/src/core/packages/saved-objects/api-server/src/apis/base.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/base.ts rename to src/core/packages/saved-objects/api-server/src/apis/base.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts b/src/core/packages/saved-objects/api-server/src/apis/bulk_create.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts rename to src/core/packages/saved-objects/api-server/src/apis/bulk_create.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts b/src/core/packages/saved-objects/api-server/src/apis/bulk_delete.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts rename to src/core/packages/saved-objects/api-server/src/apis/bulk_delete.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_get.ts b/src/core/packages/saved-objects/api-server/src/apis/bulk_get.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_get.ts rename to src/core/packages/saved-objects/api-server/src/apis/bulk_get.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_resolve.ts b/src/core/packages/saved-objects/api-server/src/apis/bulk_resolve.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_resolve.ts rename to src/core/packages/saved-objects/api-server/src/apis/bulk_resolve.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts b/src/core/packages/saved-objects/api-server/src/apis/bulk_update.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts rename to src/core/packages/saved-objects/api-server/src/apis/bulk_update.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/check_conflicts.ts b/src/core/packages/saved-objects/api-server/src/apis/check_conflicts.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/check_conflicts.ts rename to src/core/packages/saved-objects/api-server/src/apis/check_conflicts.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/close_point_in_time.ts b/src/core/packages/saved-objects/api-server/src/apis/close_point_in_time.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/close_point_in_time.ts rename to src/core/packages/saved-objects/api-server/src/apis/close_point_in_time.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts b/src/core/packages/saved-objects/api-server/src/apis/collect_multinamespace_references.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts rename to src/core/packages/saved-objects/api-server/src/apis/collect_multinamespace_references.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts b/src/core/packages/saved-objects/api-server/src/apis/create.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts rename to src/core/packages/saved-objects/api-server/src/apis/create.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/create_point_in_time_finder.ts b/src/core/packages/saved-objects/api-server/src/apis/create_point_in_time_finder.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/create_point_in_time_finder.ts rename to src/core/packages/saved-objects/api-server/src/apis/create_point_in_time_finder.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete.ts b/src/core/packages/saved-objects/api-server/src/apis/delete.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete.ts rename to src/core/packages/saved-objects/api-server/src/apis/delete.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete_by_namespace.ts b/src/core/packages/saved-objects/api-server/src/apis/delete_by_namespace.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete_by_namespace.ts rename to src/core/packages/saved-objects/api-server/src/apis/delete_by_namespace.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts b/src/core/packages/saved-objects/api-server/src/apis/find.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts rename to src/core/packages/saved-objects/api-server/src/apis/find.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/get.ts b/src/core/packages/saved-objects/api-server/src/apis/get.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/get.ts rename to src/core/packages/saved-objects/api-server/src/apis/get.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts b/src/core/packages/saved-objects/api-server/src/apis/increment_counter.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts rename to src/core/packages/saved-objects/api-server/src/apis/increment_counter.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/index.ts b/src/core/packages/saved-objects/api-server/src/apis/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/index.ts rename to src/core/packages/saved-objects/api-server/src/apis/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/open_point_in_time_for_type.ts b/src/core/packages/saved-objects/api-server/src/apis/open_point_in_time_for_type.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/open_point_in_time_for_type.ts rename to src/core/packages/saved-objects/api-server/src/apis/open_point_in_time_for_type.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/remove_references_to.ts b/src/core/packages/saved-objects/api-server/src/apis/remove_references_to.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/remove_references_to.ts rename to src/core/packages/saved-objects/api-server/src/apis/remove_references_to.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts b/src/core/packages/saved-objects/api-server/src/apis/resolve.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts rename to src/core/packages/saved-objects/api-server/src/apis/resolve.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts b/src/core/packages/saved-objects/api-server/src/apis/update.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts rename to src/core/packages/saved-objects/api-server/src/apis/update.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts b/src/core/packages/saved-objects/api-server/src/apis/update_objects_spaces.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts rename to src/core/packages/saved-objects/api-server/src/apis/update_objects_spaces.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts b/src/core/packages/saved-objects/api-server/src/saved_objects_client.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts rename to src/core/packages/saved-objects/api-server/src/saved_objects_client.ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts b/src/core/packages/saved-objects/api-server/src/saved_objects_repository.ts similarity index 99% rename from packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts rename to src/core/packages/saved-objects/api-server/src/saved_objects_repository.ts index e2be2a89d2a9b..fa03406dcdf4d 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts +++ b/src/core/packages/saved-objects/api-server/src/saved_objects_repository.ts @@ -351,7 +351,7 @@ export interface ISavedObjectsRepository { * * When using incrementCounter you need to ensure * that usage collection happens on a best-effort basis and doesn't - * negatively affect your plugin or users. See https://github.com/elastic/kibana/blob/main/src/plugins/usage_collection/README.mdx#tracking-interactions-with-incrementcounter) + * negatively affect your plugin or users. See https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/usage_collection/README.mdx#tracking-interactions-with-incrementcounter) * * @example * ```ts diff --git a/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json b/src/core/packages/saved-objects/api-server/tsconfig.json similarity index 83% rename from packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json rename to src/core/packages/saved-objects/api-server/tsconfig.json index c091f255cbd21..05fb8dd8c3f30 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json +++ b/src/core/packages/saved-objects/api-server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/README.md b/src/core/packages/saved-objects/base-server-internal/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/README.md rename to src/core/packages/saved-objects/base-server-internal/README.md diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/index.ts b/src/core/packages/saved-objects/base-server-internal/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/index.ts rename to src/core/packages/saved-objects/base-server-internal/index.ts diff --git a/packages/core/security/core-security-server-internal/jest.config.js b/src/core/packages/saved-objects/base-server-internal/jest.config.js similarity index 85% rename from packages/core/security/core-security-server-internal/jest.config.js rename to src/core/packages/saved-objects/base-server-internal/jest.config.js index ded6d8ca05904..89d3b4c405584 100644 --- a/packages/core/security/core-security-server-internal/jest.config.js +++ b/src/core/packages/saved-objects/base-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/base-server-internal'], }; diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/kibana.jsonc b/src/core/packages/saved-objects/base-server-internal/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/kibana.jsonc rename to src/core/packages/saved-objects/base-server-internal/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/package.json b/src/core/packages/saved-objects/base-server-internal/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/package.json rename to src/core/packages/saved-objects/base-server-internal/package.json diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/constants.ts b/src/core/packages/saved-objects/base-server-internal/src/constants.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/constants.ts rename to src/core/packages/saved-objects/base-server-internal/src/constants.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/legacy_alias/constants.ts b/src/core/packages/saved-objects/base-server-internal/src/legacy_alias/constants.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/legacy_alias/constants.ts rename to src/core/packages/saved-objects/base-server-internal/src/legacy_alias/constants.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/legacy_alias/index.ts b/src/core/packages/saved-objects/base-server-internal/src/legacy_alias/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/legacy_alias/index.ts rename to src/core/packages/saved-objects/base-server-internal/src/legacy_alias/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/legacy_alias/types.ts b/src/core/packages/saved-objects/base-server-internal/src/legacy_alias/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/legacy_alias/types.ts rename to src/core/packages/saved-objects/base-server-internal/src/legacy_alias/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/index.ts b/src/core/packages/saved-objects/base-server-internal/src/mappings/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/index.ts rename to src/core/packages/saved-objects/base-server-internal/src/mappings/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_property.test.ts b/src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_property.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_property.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_property.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_property.ts b/src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_property.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_property.ts rename to src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_property.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_root_properties.ts b/src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_root_properties.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_root_properties.ts rename to src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_root_properties.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_root_properties_objects.test.ts b/src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_root_properties_objects.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_root_properties_objects.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_root_properties_objects.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_root_properties_objects.ts b/src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_root_properties_objects.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_root_properties_objects.ts rename to src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_root_properties_objects.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_types.ts b/src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_types.ts rename to src/core/packages/saved-objects/base-server-internal/src/mappings/lib/get_types.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/index.ts b/src/core/packages/saved-objects/base-server-internal/src/mappings/lib/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/index.ts rename to src/core/packages/saved-objects/base-server-internal/src/mappings/lib/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/types.ts b/src/core/packages/saved-objects/base-server-internal/src/mappings/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/types.ts rename to src/core/packages/saved-objects/base-server-internal/src/mappings/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts b/src/core/packages/saved-objects/base-server-internal/src/migration/document_migrator.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts rename to src/core/packages/saved-objects/base-server-internal/src/migration/document_migrator.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/index.ts b/src/core/packages/saved-objects/base-server-internal/src/migration/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/index.ts rename to src/core/packages/saved-objects/base-server-internal/src/migration/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/kibana_migrator.ts b/src/core/packages/saved-objects/base-server-internal/src/migration/kibana_migrator.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/kibana_migrator.ts rename to src/core/packages/saved-objects/base-server-internal/src/migration/kibana_migrator.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/aggregate_model_changes.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/aggregate_model_changes.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/aggregate_model_changes.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/aggregate_model_changes.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/aggregate_model_changes.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/aggregate_model_changes.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/aggregate_model_changes.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/aggregate_model_changes.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/backward_conversion_schema.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/backward_conversion_schema.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/backward_conversion_schema.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/backward_conversion_schema.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/backward_conversion_schema.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/backward_conversion_schema.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/backward_conversion_schema.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/backward_conversion_schema.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/build_transform_fn.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/build_transform_fn.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/build_transform_fn.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/build_transform_fn.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/build_transform_fn.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/build_transform_fn.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/build_transform_fn.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/build_transform_fn.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/constants.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/constants.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/constants.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/constants.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/conversion.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/conversion.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/conversion.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/conversion.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/conversion.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/conversion.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/conversion.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/conversion.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/get_version_delta.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/get_version_delta.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/get_version_delta.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/get_version_delta.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/get_version_delta.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/get_version_delta.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/get_version_delta.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/get_version_delta.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/index.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/index.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/model_version_from_mappings.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/model_version_from_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/model_version_from_mappings.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/model_version_from_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/model_version_from_mappings.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/model_version_from_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/model_version_from_mappings.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/model_version_from_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_compare.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_compare.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_compare.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/version_compare.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_compare.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_compare.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_compare.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/version_compare.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_map.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_map.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_map.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_map.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/version_map.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_mapping_changes.test.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_mapping_changes.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_mapping_changes.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/version_mapping_changes.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_mapping_changes.ts b/src/core/packages/saved-objects/base-server-internal/src/model_version/version_mapping_changes.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/model_version/version_mapping_changes.ts rename to src/core/packages/saved-objects/base-server-internal/src/model_version/version_mapping_changes.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_config.ts b/src/core/packages/saved-objects/base-server-internal/src/saved_objects_config.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_config.ts rename to src/core/packages/saved-objects/base-server-internal/src/saved_objects_config.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_type_registry.test.ts b/src/core/packages/saved-objects/base-server-internal/src/saved_objects_type_registry.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_type_registry.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/saved_objects_type_registry.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_type_registry.ts b/src/core/packages/saved-objects/base-server-internal/src/saved_objects_type_registry.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_type_registry.ts rename to src/core/packages/saved-objects/base-server-internal/src/saved_objects_type_registry.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/serialization/index.ts b/src/core/packages/saved-objects/base-server-internal/src/serialization/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/serialization/index.ts rename to src/core/packages/saved-objects/base-server-internal/src/serialization/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/serialization/serializer.test.ts b/src/core/packages/saved-objects/base-server-internal/src/serialization/serializer.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/serialization/serializer.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/serialization/serializer.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/serialization/serializer.ts b/src/core/packages/saved-objects/base-server-internal/src/serialization/serializer.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/serialization/serializer.ts rename to src/core/packages/saved-objects/base-server-internal/src/serialization/serializer.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/get_field_list.test.ts b/src/core/packages/saved-objects/base-server-internal/src/utils/get_field_list.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/get_field_list.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/utils/get_field_list.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/get_field_list.ts b/src/core/packages/saved-objects/base-server-internal/src/utils/get_field_list.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/get_field_list.ts rename to src/core/packages/saved-objects/base-server-internal/src/utils/get_field_list.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/get_index_for_type.test.ts b/src/core/packages/saved-objects/base-server-internal/src/utils/get_index_for_type.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/get_index_for_type.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/utils/get_index_for_type.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/get_index_for_type.ts b/src/core/packages/saved-objects/base-server-internal/src/utils/get_index_for_type.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/get_index_for_type.ts rename to src/core/packages/saved-objects/base-server-internal/src/utils/get_index_for_type.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/index.ts b/src/core/packages/saved-objects/base-server-internal/src/utils/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/index.ts rename to src/core/packages/saved-objects/base-server-internal/src/utils/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/object_key.test.ts b/src/core/packages/saved-objects/base-server-internal/src/utils/object_key.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/object_key.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/utils/object_key.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/object_key.ts b/src/core/packages/saved-objects/base-server-internal/src/utils/object_key.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/utils/object_key.ts rename to src/core/packages/saved-objects/base-server-internal/src/utils/object_key.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/index.ts b/src/core/packages/saved-objects/base-server-internal/src/validation/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/index.ts rename to src/core/packages/saved-objects/base-server-internal/src/validation/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/schema.test.ts b/src/core/packages/saved-objects/base-server-internal/src/validation/schema.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/schema.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/validation/schema.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/schema.ts b/src/core/packages/saved-objects/base-server-internal/src/validation/schema.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/schema.ts rename to src/core/packages/saved-objects/base-server-internal/src/validation/schema.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/validator.test.ts b/src/core/packages/saved-objects/base-server-internal/src/validation/validator.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/validator.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/validation/validator.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/validator.ts b/src/core/packages/saved-objects/base-server-internal/src/validation/validator.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/validation/validator.ts rename to src/core/packages/saved-objects/base-server-internal/src/validation/validator.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/base64.ts b/src/core/packages/saved-objects/base-server-internal/src/version/base64.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/base64.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/base64.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/decode_request_version.test.ts b/src/core/packages/saved-objects/base-server-internal/src/version/decode_request_version.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/decode_request_version.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/decode_request_version.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/decode_request_version.ts b/src/core/packages/saved-objects/base-server-internal/src/version/decode_request_version.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/decode_request_version.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/decode_request_version.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/decode_version.test.ts b/src/core/packages/saved-objects/base-server-internal/src/version/decode_version.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/decode_version.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/decode_version.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/decode_version.ts b/src/core/packages/saved-objects/base-server-internal/src/version/decode_version.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/decode_version.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/decode_version.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/encode_hit_version.test.ts b/src/core/packages/saved-objects/base-server-internal/src/version/encode_hit_version.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/encode_hit_version.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/encode_hit_version.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/encode_hit_version.ts b/src/core/packages/saved-objects/base-server-internal/src/version/encode_hit_version.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/encode_hit_version.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/encode_hit_version.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/encode_version.test.ts b/src/core/packages/saved-objects/base-server-internal/src/version/encode_version.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/encode_version.test.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/encode_version.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/encode_version.ts b/src/core/packages/saved-objects/base-server-internal/src/version/encode_version.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/encode_version.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/encode_version.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/index.ts b/src/core/packages/saved-objects/base-server-internal/src/version/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/src/version/index.ts rename to src/core/packages/saved-objects/base-server-internal/src/version/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/tsconfig.json b/src/core/packages/saved-objects/base-server-internal/tsconfig.json similarity index 89% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/tsconfig.json rename to src/core/packages/saved-objects/base-server-internal/tsconfig.json index 5227e67e6947a..2c3ee88e4f8dc 100644 --- a/packages/core/saved-objects/core-saved-objects-base-server-internal/tsconfig.json +++ b/src/core/packages/saved-objects/base-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/README.md b/src/core/packages/saved-objects/browser-internal/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser-internal/README.md rename to src/core/packages/saved-objects/browser-internal/README.md diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/index.ts b/src/core/packages/saved-objects/browser-internal/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser-internal/index.ts rename to src/core/packages/saved-objects/browser-internal/index.ts diff --git a/src/core/packages/saved-objects/browser-internal/jest.config.js b/src/core/packages/saved-objects/browser-internal/jest.config.js new file mode 100644 index 0000000000000..55dad3a27978d --- /dev/null +++ b/src/core/packages/saved-objects/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/browser-internal'], +}; diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/kibana.jsonc b/src/core/packages/saved-objects/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser-internal/kibana.jsonc rename to src/core/packages/saved-objects/browser-internal/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/package.json b/src/core/packages/saved-objects/browser-internal/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser-internal/package.json rename to src/core/packages/saved-objects/browser-internal/package.json diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.test.ts b/src/core/packages/saved-objects/browser-internal/src/saved_objects_client.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.test.ts rename to src/core/packages/saved-objects/browser-internal/src/saved_objects_client.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.ts b/src/core/packages/saved-objects/browser-internal/src/saved_objects_client.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.ts rename to src/core/packages/saved-objects/browser-internal/src/saved_objects_client.ts diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts b/src/core/packages/saved-objects/browser-internal/src/saved_objects_service.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts rename to src/core/packages/saved-objects/browser-internal/src/saved_objects_service.ts diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/src/simple_saved_object.test.ts b/src/core/packages/saved-objects/browser-internal/src/simple_saved_object.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser-internal/src/simple_saved_object.test.ts rename to src/core/packages/saved-objects/browser-internal/src/simple_saved_object.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/src/simple_saved_object.ts b/src/core/packages/saved-objects/browser-internal/src/simple_saved_object.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser-internal/src/simple_saved_object.ts rename to src/core/packages/saved-objects/browser-internal/src/simple_saved_object.ts diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/tsconfig.json b/src/core/packages/saved-objects/browser-internal/tsconfig.json similarity index 91% rename from packages/core/saved-objects/core-saved-objects-browser-internal/tsconfig.json rename to src/core/packages/saved-objects/browser-internal/tsconfig.json index d9b414c39220e..03d4b5959f090 100644 --- a/packages/core/saved-objects/core-saved-objects-browser-internal/tsconfig.json +++ b/src/core/packages/saved-objects/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-browser/README.md b/src/core/packages/saved-objects/browser/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser/README.md rename to src/core/packages/saved-objects/browser/README.md diff --git a/packages/core/saved-objects/core-saved-objects-browser/index.ts b/src/core/packages/saved-objects/browser/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser/index.ts rename to src/core/packages/saved-objects/browser/index.ts diff --git a/src/core/packages/saved-objects/browser/jest.config.js b/src/core/packages/saved-objects/browser/jest.config.js new file mode 100644 index 0000000000000..c62c6007cd6e1 --- /dev/null +++ b/src/core/packages/saved-objects/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/browser'], +}; diff --git a/packages/core/saved-objects/core-saved-objects-browser/kibana.jsonc b/src/core/packages/saved-objects/browser/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser/kibana.jsonc rename to src/core/packages/saved-objects/browser/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-browser/package.json b/src/core/packages/saved-objects/browser/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser/package.json rename to src/core/packages/saved-objects/browser/package.json diff --git a/packages/core/saved-objects/core-saved-objects-browser/src/contracts.ts b/src/core/packages/saved-objects/browser/src/contracts.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-browser/src/contracts.ts rename to src/core/packages/saved-objects/browser/src/contracts.ts diff --git a/packages/core/saved-objects/core-saved-objects-browser/tsconfig.json b/src/core/packages/saved-objects/browser/tsconfig.json similarity index 83% rename from packages/core/saved-objects/core-saved-objects-browser/tsconfig.json rename to src/core/packages/saved-objects/browser/tsconfig.json index 737e72c758c99..443dc4821ca4f 100644 --- a/packages/core/saved-objects/core-saved-objects-browser/tsconfig.json +++ b/src/core/packages/saved-objects/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-common/README.md b/src/core/packages/saved-objects/common/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-common/README.md rename to src/core/packages/saved-objects/common/README.md diff --git a/packages/core/saved-objects/core-saved-objects-common/index.ts b/src/core/packages/saved-objects/common/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-common/index.ts rename to src/core/packages/saved-objects/common/index.ts diff --git a/src/core/packages/saved-objects/common/jest.config.js b/src/core/packages/saved-objects/common/jest.config.js new file mode 100644 index 0000000000000..8e6d138939682 --- /dev/null +++ b/src/core/packages/saved-objects/common/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/common'], +}; diff --git a/packages/core/saved-objects/core-saved-objects-common/kibana.jsonc b/src/core/packages/saved-objects/common/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-common/kibana.jsonc rename to src/core/packages/saved-objects/common/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-common/package.json b/src/core/packages/saved-objects/common/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-common/package.json rename to src/core/packages/saved-objects/common/package.json diff --git a/packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts b/src/core/packages/saved-objects/common/src/saved_objects.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts rename to src/core/packages/saved-objects/common/src/saved_objects.ts diff --git a/packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts b/src/core/packages/saved-objects/common/src/saved_objects_imports.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts rename to src/core/packages/saved-objects/common/src/saved_objects_imports.ts diff --git a/packages/core/saved-objects/core-saved-objects-common/src/server_types.ts b/src/core/packages/saved-objects/common/src/server_types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-common/src/server_types.ts rename to src/core/packages/saved-objects/common/src/server_types.ts diff --git a/packages/core/saved-objects/core-saved-objects-common/src/types.ts b/src/core/packages/saved-objects/common/src/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-common/src/types.ts rename to src/core/packages/saved-objects/common/src/types.ts diff --git a/src/core/packages/saved-objects/common/tsconfig.json b/src/core/packages/saved-objects/common/tsconfig.json new file mode 100644 index 0000000000000..131ff3e6bb433 --- /dev/null +++ b/src/core/packages/saved-objects/common/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/README.md b/src/core/packages/saved-objects/import-export-server-internal/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/README.md rename to src/core/packages/saved-objects/import-export-server-internal/README.md diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/index.ts b/src/core/packages/saved-objects/import-export-server-internal/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/index.ts rename to src/core/packages/saved-objects/import-export-server-internal/index.ts diff --git a/src/core/packages/saved-objects/import-export-server-internal/jest.config.js b/src/core/packages/saved-objects/import-export-server-internal/jest.config.js new file mode 100644 index 0000000000000..2dc64cd3d45ce --- /dev/null +++ b/src/core/packages/saved-objects/import-export-server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/import-export-server-internal'], +}; diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/kibana.jsonc b/src/core/packages/saved-objects/import-export-server-internal/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/kibana.jsonc rename to src/core/packages/saved-objects/import-export-server-internal/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/package.json b/src/core/packages/saved-objects/import-export-server-internal/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/package.json rename to src/core/packages/saved-objects/import-export-server-internal/package.json diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/apply_export_transforms.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/apply_export_transforms.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/apply_export_transforms.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/apply_export_transforms.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/collect_exported_objects.test.mocks.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/collect_exported_objects.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/collect_exported_objects.test.mocks.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/collect_exported_objects.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/collect_exported_objects.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/collect_exported_objects.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/collect_exported_objects.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/collect_exported_objects.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/collect_exported_objects.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/collect_exported_objects.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/collect_exported_objects.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/collect_exported_objects.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/constants.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/constants.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/constants.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/constants.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/errors.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/errors.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/index.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/index.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/saved_objects_exporter.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/saved_objects_exporter.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/saved_objects_exporter.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/saved_objects_exporter.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/saved_objects_exporter.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/saved_objects_exporter.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/saved_objects_exporter.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/saved_objects_exporter.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/sort_objects.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/sort_objects.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/sort_objects.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/sort_objects.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/sort_objects.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/sort_objects.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/sort_objects.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/sort_objects.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/utils.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/utils.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/utils.ts b/src/core/packages/saved-objects/import-export-server-internal/src/export/utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/utils.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/export/utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/errors.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/errors.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/import_saved_objects.test.mock.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/import_saved_objects.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/import_saved_objects.test.mock.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/import_saved_objects.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/import_saved_objects.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/import_saved_objects.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/import_saved_objects.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/import_saved_objects.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/import_saved_objects.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/import_saved_objects.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/import_saved_objects.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/import_saved_objects.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/index.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/index.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_conflicts.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_conflicts.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_conflicts.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_conflicts.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_conflicts.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_conflicts.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_conflicts.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_conflicts.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_origin_conflicts.test.mock.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_origin_conflicts.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_origin_conflicts.test.mock.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_origin_conflicts.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_origin_conflicts.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_origin_conflicts.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_origin_conflicts.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_origin_conflicts.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_origin_conflicts.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_origin_conflicts.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_origin_conflicts.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_origin_conflicts.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_reference_origins.test.mock.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_reference_origins.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_reference_origins.test.mock.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_reference_origins.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_reference_origins.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_reference_origins.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_reference_origins.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_reference_origins.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_reference_origins.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_reference_origins.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/check_reference_origins.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/check_reference_origins.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/collect_saved_objects.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/collect_saved_objects.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/collect_saved_objects.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/collect_saved_objects.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/collect_saved_objects.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/collect_saved_objects.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/collect_saved_objects.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/collect_saved_objects.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_limit_stream.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_limit_stream.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_limit_stream.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_limit_stream.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_limit_stream.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_limit_stream.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_limit_stream.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_limit_stream.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_objects_filter.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_objects_filter.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_objects_filter.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_objects_filter.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_objects_filter.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_objects_filter.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_objects_filter.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_objects_filter.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_saved_objects.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_saved_objects.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_saved_objects.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_saved_objects.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_saved_objects.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_saved_objects.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/create_saved_objects.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/create_saved_objects.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/execute_import_hooks.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/execute_import_hooks.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/execute_import_hooks.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/execute_import_hooks.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/execute_import_hooks.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/execute_import_hooks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/execute_import_hooks.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/execute_import_hooks.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/extract_errors.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/extract_errors.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/extract_errors.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/extract_errors.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/extract_errors.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/extract_errors.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/extract_errors.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/extract_errors.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/get_import_state_map_for_retries.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/get_import_state_map_for_retries.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/get_import_state_map_for_retries.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/get_import_state_map_for_retries.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/get_import_state_map_for_retries.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/get_import_state_map_for_retries.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/get_import_state_map_for_retries.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/get_import_state_map_for_retries.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/get_non_unique_entries.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/get_non_unique_entries.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/get_non_unique_entries.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/get_non_unique_entries.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/get_non_unique_entries.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/get_non_unique_entries.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/get_non_unique_entries.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/get_non_unique_entries.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/index.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/index.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/regenerate_ids.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/regenerate_ids.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/regenerate_ids.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/regenerate_ids.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/split_overwrites.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/split_overwrites.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/split_overwrites.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/split_overwrites.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/split_overwrites.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/split_overwrites.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/split_overwrites.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/split_overwrites.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/types.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/types.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/utils.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/utils.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/utils.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/utils.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/validate_references.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/validate_references.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/validate_references.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/validate_references.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/validate_references.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/validate_references.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/validate_references.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/validate_references.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/validate_retries.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/validate_retries.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/validate_retries.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/validate_retries.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/validate_retries.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/lib/validate_retries.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/validate_retries.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/lib/validate_retries.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/resolve_import_errors.test.mock.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/resolve_import_errors.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/resolve_import_errors.test.mock.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/resolve_import_errors.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/resolve_import_errors.test.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/resolve_import_errors.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/resolve_import_errors.test.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/resolve_import_errors.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/resolve_import_errors.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/resolve_import_errors.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/resolve_import_errors.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/resolve_import_errors.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/saved_objects_importer.ts b/src/core/packages/saved-objects/import-export-server-internal/src/import/saved_objects_importer.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/saved_objects_importer.ts rename to src/core/packages/saved-objects/import-export-server-internal/src/import/saved_objects_importer.ts diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/tsconfig.json b/src/core/packages/saved-objects/import-export-server-internal/tsconfig.json similarity index 93% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/tsconfig.json rename to src/core/packages/saved-objects/import-export-server-internal/tsconfig.json index a0d9ea37484a3..6f9a9360ba0cc 100644 --- a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/tsconfig.json +++ b/src/core/packages/saved-objects/import-export-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/README.md b/src/core/packages/saved-objects/migration-server-internal/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/README.md rename to src/core/packages/saved-objects/migration-server-internal/README.md diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/index.ts b/src/core/packages/saved-objects/migration-server-internal/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/index.ts rename to src/core/packages/saved-objects/migration-server-internal/index.ts diff --git a/packages/core/capabilities/core-capabilities-server-internal/jest.config.js b/src/core/packages/saved-objects/migration-server-internal/jest.config.js similarity index 82% rename from packages/core/capabilities/core-capabilities-server-internal/jest.config.js rename to src/core/packages/saved-objects/migration-server-internal/jest.config.js index fe6f7746ab5cb..03f89e6fdaa75 100644 --- a/packages/core/capabilities/core-capabilities-server-internal/jest.config.js +++ b/src/core/packages/saved-objects/migration-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/capabilities/core-capabilities-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/migration-server-internal'], }; diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/kibana.jsonc b/src/core/packages/saved-objects/migration-server-internal/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/kibana.jsonc rename to src/core/packages/saved-objects/migration-server-internal/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/package.json b/src/core/packages/saved-objects/migration-server-internal/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/package.json rename to src/core/packages/saved-objects/migration-server-internal/package.json diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/README.md b/src/core/packages/saved-objects/migration-server-internal/src/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/README.md rename to src/core/packages/saved-objects/migration-server-internal/src/README.md diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/get_outdated_documents_query.test.ts.snap b/src/core/packages/saved-objects/migration-server-internal/src/__snapshots__/get_outdated_documents_query.test.ts.snap similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/get_outdated_documents_query.test.ts.snap rename to src/core/packages/saved-objects/migration-server-internal/src/__snapshots__/get_outdated_documents_query.test.ts.snap diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/kibana_migrator.test.ts.snap b/src/core/packages/saved-objects/migration-server-internal/src/__snapshots__/kibana_migrator.test.ts.snap similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/kibana_migrator.test.ts.snap rename to src/core/packages/saved-objects/migration-server-internal/src/__snapshots__/kibana_migrator.test.ts.snap diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/migrations_state_action_machine.test.ts.snap b/src/core/packages/saved-objects/migration-server-internal/src/__snapshots__/migrations_state_action_machine.test.ts.snap similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/migrations_state_action_machine.test.ts.snap rename to src/core/packages/saved-objects/migration-server-internal/src/__snapshots__/migrations_state_action_machine.test.ts.snap diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/bulk_overwrite_transformed_documents.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/bulk_overwrite_transformed_documents.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/bulk_overwrite_transformed_documents.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/bulk_overwrite_transformed_documents.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/bulk_overwrite_transformed_documents.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/bulk_overwrite_transformed_documents.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/bulk_overwrite_transformed_documents.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/bulk_overwrite_transformed_documents.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/calculate_exclude_filters.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/calculate_exclude_filters.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/calculate_exclude_filters.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/calculate_exclude_filters.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/calculate_exclude_filters.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/calculate_exclude_filters.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/calculate_exclude_filters.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/calculate_exclude_filters.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/catch_retryable_es_client_errors.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/catch_retryable_es_client_errors.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/catch_retryable_es_client_errors.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/catch_retryable_es_client_errors.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/catch_retryable_es_client_errors.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/catch_retryable_es_client_errors.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/catch_retryable_es_client_errors.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/catch_retryable_es_client_errors.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_cluster_routing_allocation.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/check_cluster_routing_allocation.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_cluster_routing_allocation.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/check_cluster_routing_allocation.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_cluster_routing_allocation.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/check_cluster_routing_allocation.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_cluster_routing_allocation.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/check_cluster_routing_allocation.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_for_unknown_docs.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/check_for_unknown_docs.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_for_unknown_docs.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/check_for_unknown_docs.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_for_unknown_docs.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/check_for_unknown_docs.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_for_unknown_docs.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/check_for_unknown_docs.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_for_unknown_docs.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/check_for_unknown_docs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_for_unknown_docs.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/check_for_unknown_docs.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_target_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/check_target_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_target_mappings.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/check_target_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_target_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/check_target_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/check_target_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/check_target_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/cleanup_unknown_and_excluded.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/cleanup_unknown_and_excluded.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/cleanup_unknown_and_excluded.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/cleanup_unknown_and_excluded.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/cleanup_unknown_and_excluded.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/cleanup_unknown_and_excluded.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/cleanup_unknown_and_excluded.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/cleanup_unknown_and_excluded.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/cleanup_unknown_and_excluded.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/cleanup_unknown_and_excluded.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/cleanup_unknown_and_excluded.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/cleanup_unknown_and_excluded.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/clone_index.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/clone_index.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/clone_index.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/clone_index.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/clone_index.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/clone_index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/clone_index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/clone_index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/close_pit.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/close_pit.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/close_pit.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/close_pit.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/close_pit.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/close_pit.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/close_pit.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/close_pit.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/constants.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/constants.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/constants.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/constants.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/create_index.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/create_index.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/create_index.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/create_index.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/create_index.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/create_index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/create_index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/create_index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/delete_by_query.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/delete_by_query.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/delete_by_query.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/delete_by_query.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/delete_by_query.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/delete_by_query.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/delete_by_query.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/delete_by_query.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/es_errors.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/es_errors.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/es_errors.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/es_errors.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/es_errors.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/es_errors.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/es_errors.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/es_errors.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/fetch_indices.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/fetch_indices.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/fetch_indices.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/fetch_indices.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/fetch_indices.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/fetch_indices.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/fetch_indices.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/fetch_indices.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/open_pit.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/open_pit.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/open_pit.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/open_pit.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/open_pit.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/open_pit.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/open_pit.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/open_pit.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/pickup_updated_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/pickup_updated_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/pickup_updated_mappings.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/pickup_updated_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/pickup_updated_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/pickup_updated_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/pickup_updated_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/pickup_updated_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/read_with_pit.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/read_with_pit.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/read_with_pit.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/read_with_pit.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/read_with_pit.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/read_with_pit.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/read_with_pit.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/read_with_pit.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/refresh_index.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/refresh_index.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/refresh_index.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/refresh_index.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/refresh_index.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/refresh_index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/refresh_index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/refresh_index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/reindex.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/reindex.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/reindex.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/reindex.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/reindex.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/reindex.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/reindex.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/reindex.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/remove_write_block.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/remove_write_block.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/remove_write_block.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/remove_write_block.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/remove_write_block.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/remove_write_block.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/remove_write_block.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/remove_write_block.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/safe_write_block.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/safe_write_block.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/safe_write_block.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/safe_write_block.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/safe_write_block.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/safe_write_block.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/safe_write_block.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/safe_write_block.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/set_write_block.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/set_write_block.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/set_write_block.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/set_write_block.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/set_write_block.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/set_write_block.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/set_write_block.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/set_write_block.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/synchronize_migrators.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/synchronize_migrators.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/synchronize_migrators.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/synchronize_migrators.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/synchronize_migrators.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/synchronize_migrators.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/synchronize_migrators.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/synchronize_migrators.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/transform_docs.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/transform_docs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/transform_docs.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/transform_docs.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_aliases.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/update_aliases.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_aliases.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/update_aliases.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_aliases.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/update_aliases.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_aliases.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/update_aliases.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_and_pickup_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/update_and_pickup_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_and_pickup_mappings.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/update_and_pickup_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_and_pickup_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/update_and_pickup_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_and_pickup_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/update_and_pickup_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/update_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_mappings.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/update_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/update_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/update_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_source_mappings_properties.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/update_source_mappings_properties.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_source_mappings_properties.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/update_source_mappings_properties.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_source_mappings_properties.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/update_source_mappings_properties.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/update_source_mappings_properties.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/update_source_mappings_properties.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_delete_by_query_task.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_delete_by_query_task.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_delete_by_query_task.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_delete_by_query_task.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_delete_by_query_task.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_delete_by_query_task.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_delete_by_query_task.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_delete_by_query_task.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_index_status.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_index_status.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_index_status.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_index_status.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_index_status.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_index_status.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_index_status.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_index_status.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_pickup_updated_mappings_task.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_pickup_updated_mappings_task.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_pickup_updated_mappings_task.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_pickup_updated_mappings_task.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_pickup_updated_mappings_task.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_pickup_updated_mappings_task.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_pickup_updated_mappings_task.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_pickup_updated_mappings_task.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_reindex_task.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_reindex_task.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_reindex_task.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_reindex_task.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_reindex_task.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_reindex_task.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_reindex_task.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_reindex_task.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_task.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_task.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_task.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_task.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_task.ts b/src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_task.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/wait_for_task.ts rename to src/core/packages/saved-objects/migration-server-internal/src/actions/wait_for_task.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/constants.ts b/src/core/packages/saved-objects/migration-server-internal/src/common/constants.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/constants.ts rename to src/core/packages/saved-objects/migration-server-internal/src/common/constants.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/redact_state.ts b/src/core/packages/saved-objects/migration-server-internal/src/common/redact_state.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/redact_state.ts rename to src/core/packages/saved-objects/migration-server-internal/src/common/redact_state.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/delay.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/common/utils/delay.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/delay.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/common/utils/delay.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/delay.ts b/src/core/packages/saved-objects/migration-server-internal/src/common/utils/delay.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/delay.ts rename to src/core/packages/saved-objects/migration-server-internal/src/common/utils/delay.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/common/utils/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/common/utils/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/logs.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/common/utils/logs.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/logs.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/common/utils/logs.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/logs.ts b/src/core/packages/saved-objects/migration-server-internal/src/common/utils/logs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/common/utils/logs.ts rename to src/core/packages/saved-objects/migration-server-internal/src/common/utils/logs.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/__snapshots__/build_active_mappings.test.ts.snap b/src/core/packages/saved-objects/migration-server-internal/src/core/__snapshots__/build_active_mappings.test.ts.snap similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/__snapshots__/build_active_mappings.test.ts.snap rename to src/core/packages/saved-objects/migration-server-internal/src/core/__snapshots__/build_active_mappings.test.ts.snap diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_active_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/build_active_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_active_mappings.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/build_active_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_active_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/build_active_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_active_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/build_active_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_index_map.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/build_index_map.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_index_map.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/build_index_map.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_index_map.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/build_index_map.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_index_map.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/build_index_map.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_pickup_mappings_query.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/build_pickup_mappings_query.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_pickup_mappings_query.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/build_pickup_mappings_query.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_pickup_mappings_query.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/build_pickup_mappings_query.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_pickup_mappings_query.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/build_pickup_mappings_query.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_types_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/build_types_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/build_types_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/build_types_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/compare_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/compare_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/compare_mappings.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/compare_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/compare_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/compare_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/compare_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/compare_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/diff_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/diff_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/diff_mappings.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/diff_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/diff_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/diff_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/diff_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/diff_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migrate_raw_docs.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/migrate_raw_docs.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migrate_raw_docs.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/migrate_raw_docs.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migrate_raw_docs.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/migrate_raw_docs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migrate_raw_docs.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/migrate_raw_docs.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migration_logger.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/migration_logger.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migration_logger.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/migration_logger.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/regenerate_object_id.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/regenerate_object_id.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/regenerate_object_id.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/regenerate_object_id.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/transform_saved_object_document_error.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/transform_saved_object_document_error.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/transform_saved_object_document_error.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/transform_saved_object_document_error.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/transform_saved_object_document_error.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/transform_saved_object_document_error.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/transform_saved_object_document_error.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/transform_saved_object_document_error.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/unused_types.ts b/src/core/packages/saved-objects/migration-server-internal/src/core/unused_types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/unused_types.ts rename to src/core/packages/saved-objects/migration-server-internal/src/core/unused_types.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/build_active_migrations.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/build_active_migrations.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/build_active_migrations.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/build_active_migrations.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/build_active_migrations.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/build_active_migrations.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/build_active_migrations.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/build_active_migrations.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/build_active_migrations.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/build_active_migrations.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/build_active_migrations.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/build_active_migrations.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.test.mock.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.test.mock.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/document_migrator.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/internal_transforms.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/internal_transforms.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/internal_transforms.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/internal_transforms.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/transform_migration_version.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/transform_migration_version.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/transform_migration_version.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/transform_migration_version.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/transform_migration_version.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/transform_migration_version.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/transform_migration_version.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/transform_migration_version.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/transform_set_managed_default.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/transform_set_managed_default.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/transform_set_managed_default.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/transform_set_managed_default.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/transform_set_managed_default.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/transform_set_managed_default.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/migrations/transform_set_managed_default.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/migrations/transform_set_managed_default.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/model_version.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/model_version.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/model_version.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/model_version.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/model_version.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/model_version.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/model_version.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/model_version.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/model_version.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/model_version.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/model_version.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/model_version.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/downgrade_pipeline.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/downgrade_pipeline.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/downgrade_pipeline.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/downgrade_pipeline.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/downgrade_pipeline.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/downgrade_pipeline.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/downgrade_pipeline.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/downgrade_pipeline.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/types.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/types.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/upgrade_pipeline.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/upgrade_pipeline.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/upgrade_pipeline.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/upgrade_pipeline.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/upgrade_pipeline.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/upgrade_pipeline.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/upgrade_pipeline.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/upgrade_pipeline.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/utils.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/pipelines/utils.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/pipelines/utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/types.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/types.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/utils.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/utils.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/utils.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/utils.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/validate_migration.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migration.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/validate_migration.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migration.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/validate_migrations.ts b/src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migrations.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/validate_migrations.ts rename to src/core/packages/saved-objects/migration-server-internal/src/document_migrator/validate_migrations.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/get_outdated_documents_query.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/get_outdated_documents_query.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/get_outdated_documents_query.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/get_outdated_documents_query.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/get_outdated_documents_query.ts b/src/core/packages/saved-objects/migration-server-internal/src/get_outdated_documents_query.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/get_outdated_documents_query.ts rename to src/core/packages/saved-objects/migration-server-internal/src/get_outdated_documents_query.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/initial_state.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/initial_state.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/initial_state.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/initial_state.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/initial_state.ts b/src/core/packages/saved-objects/migration-server-internal/src/initial_state.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/initial_state.ts rename to src/core/packages/saved-objects/migration-server-internal/src/initial_state.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts b/src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts rename to src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator_constants.ts b/src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator_constants.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator_constants.ts rename to src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator_constants.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator_utils.fixtures.ts b/src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator_utils.fixtures.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator_utils.fixtures.ts rename to src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator_utils.fixtures.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator_utils.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator_utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator_utils.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator_utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator_utils.ts b/src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator_utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator_utils.ts rename to src/core/packages/saved-objects/migration-server-internal/src/kibana_migrator_utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/migrations_state_action_machine.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/migrations_state_action_machine.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/migrations_state_action_machine.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/migrations_state_action_machine.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/migrations_state_action_machine.ts b/src/core/packages/saved-objects/migration-server-internal/src/migrations_state_action_machine.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/migrations_state_action_machine.ts rename to src/core/packages/saved-objects/migration-server-internal/src/migrations_state_action_machine.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/migrations_state_machine_cleanup.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/migrations_state_machine_cleanup.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/migrations_state_machine_cleanup.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/migrations_state_machine_cleanup.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/migrations_state_machine_cleanup.ts b/src/core/packages/saved-objects/migration-server-internal/src/migrations_state_machine_cleanup.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/migrations_state_machine_cleanup.ts rename to src/core/packages/saved-objects/migration-server-internal/src/migrations_state_machine_cleanup.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/create_batches.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/create_batches.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/create_batches.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/create_batches.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/create_batches.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/create_batches.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/create_batches.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/create_batches.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/extract_errors.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/extract_errors.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/extract_errors.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/extract_errors.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/extract_errors.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/extract_errors.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/extract_errors.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/extract_errors.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/helpers.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/helpers.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/helpers.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/helpers.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/helpers.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/helpers.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/helpers.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/helpers.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/model.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/model.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/model.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/model.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/model.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/model.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/model.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/model.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/progress.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/progress.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/progress.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/progress.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/progress.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/progress.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/progress.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/progress.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/retry_state.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/retry_state.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/retry_state.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/retry_state.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/retry_state.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/retry_state.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/retry_state.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/retry_state.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/types.ts b/src/core/packages/saved-objects/migration-server-internal/src/model/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/model/types.ts rename to src/core/packages/saved-objects/migration-server-internal/src/model/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/next.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/next.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/next.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/next.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/next.ts b/src/core/packages/saved-objects/migration-server-internal/src/next.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/next.ts rename to src/core/packages/saved-objects/migration-server-internal/src/next.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_resilient_migrator.fixtures.ts b/src/core/packages/saved-objects/migration-server-internal/src/run_resilient_migrator.fixtures.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_resilient_migrator.fixtures.ts rename to src/core/packages/saved-objects/migration-server-internal/src/run_resilient_migrator.fixtures.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_resilient_migrator.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/run_resilient_migrator.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_resilient_migrator.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/run_resilient_migrator.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_resilient_migrator.ts b/src/core/packages/saved-objects/migration-server-internal/src/run_resilient_migrator.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_resilient_migrator.ts rename to src/core/packages/saved-objects/migration-server-internal/src/run_resilient_migrator.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_v2_migration.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/run_v2_migration.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_v2_migration.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/run_v2_migration.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_v2_migration.ts b/src/core/packages/saved-objects/migration-server-internal/src/run_v2_migration.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/run_v2_migration.ts rename to src/core/packages/saved-objects/migration-server-internal/src/run_v2_migration.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/state.ts b/src/core/packages/saved-objects/migration-server-internal/src/state.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/state.ts rename to src/core/packages/saved-objects/migration-server-internal/src/state.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/state_action_machine.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/state_action_machine.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/state_action_machine.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/state_action_machine.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/state_action_machine.ts b/src/core/packages/saved-objects/migration-server-internal/src/state_action_machine.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/state_action_machine.ts rename to src/core/packages/saved-objects/migration-server-internal/src/state_action_machine.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/types.ts b/src/core/packages/saved-objects/migration-server-internal/src/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/types.ts rename to src/core/packages/saved-objects/migration-server-internal/src/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/update_index_meta.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/update_index_meta.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/update_index_meta.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/update_index_meta.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/update_index_meta.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/update_index_meta.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/update_index_meta.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/update_index_meta.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/update_index_meta.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/update_index_meta.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/update_index_meta.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/update_index_meta.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/wait_for_delay.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/wait_for_delay.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/wait_for_delay.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/wait_for_delay.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/wait_for_delay.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/wait_for_delay.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/actions/wait_for_delay.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/actions/wait_for_delay.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/context/create_context.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/context/create_context.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/context/create_context.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/context/create_context.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/context/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/context/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/context/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/context/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/context/types.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/context/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/context/types.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/context/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/migrate_index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/migrate_index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/migrate_index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/migrate_index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/migration_state_action_machine.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/migration_state_action_machine.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/migration_state_action_machine.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/migration_state_action_machine.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/model.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/model.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/model.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/model.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/model.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/model.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/model.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/model.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/model.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/model.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/model.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/model.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_refresh.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/cleanup_unknown_and_excluded_docs_wait_for_task.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/create_target_index.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/create_target_index.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/create_target_index.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/create_target_index.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/create_target_index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/create_target_index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/create_target_index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/create_target_index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/documents_update_init.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/documents_update_init.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/documents_update_init.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/documents_update_init.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/documents_update_init.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/documents_update_init.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/documents_update_init.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/documents_update_init.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/documents_update_init.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/documents_update_init.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/documents_update_init.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/documents_update_init.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/index_state_update_done.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/index_state_update_done.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/index_state_update_done.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/index_state_update_done.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/index_state_update_done.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/index_state_update_done.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/index_state_update_done.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/index_state_update_done.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/init.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/init.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/init.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/init.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/init.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/init.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/init.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/init.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/init.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/init.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/init.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/init.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_bulk_index.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_bulk_index.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_bulk_index.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_bulk_index.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_bulk_index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_bulk_index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_bulk_index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_bulk_index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_close_pit.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_close_pit.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_close_pit.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_close_pit.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_close_pit.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_close_pit.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_close_pit.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_close_pit.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_open_pit.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_open_pit.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_open_pit.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_open_pit.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_open_pit.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_open_pit.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_open_pit.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_open_pit.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_read.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_read.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_read.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_read.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_read.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_read.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_read.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_read.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_refresh.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_refresh.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_refresh.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_refresh.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_refresh.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_refresh.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_refresh.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_refresh.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_transform.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_transform.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_transform.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_transform.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_transform.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_transform.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/outdated_documents_search_transform.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/outdated_documents_search_transform.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/set_doc_migration_started.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/set_doc_migration_started.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/set_doc_migration_started.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/set_doc_migration_started.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/set_doc_migration_started.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/set_doc_migration_started.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/set_doc_migration_started.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/set_doc_migration_started.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/set_doc_migration_started_wait_for_instances.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_aliases.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_aliases.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_aliases.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_aliases.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_aliases.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_aliases.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_aliases.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_aliases.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_document_model_version.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_document_model_version.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_document_model_version.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_document_model_version.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_document_model_version.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_document_model_version.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_document_model_version.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_document_model_version.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_document_model_version_wait_for_instance.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_document_model_version_wait_for_instance.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_document_model_version_wait_for_instance.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_document_model_version_wait_for_instance.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_document_model_version_wait_for_instances.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_document_model_version_wait_for_instances.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_document_model_version_wait_for_instances.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_document_model_version_wait_for_instances.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_index_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_index_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_index_mappings.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_index_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_index_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_index_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_index_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_index_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_index_mappings_wait_for_task.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_index_mappings_wait_for_task.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_index_mappings_wait_for_task.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_index_mappings_wait_for_task.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_index_mappings_wait_for_task.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_index_mappings_wait_for_task.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_index_mappings_wait_for_task.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_index_mappings_wait_for_task.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_mapping_model_version.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_mapping_model_version.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_mapping_model_version.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_mapping_model_version.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_mapping_model_version.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_mapping_model_version.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/stages/update_mapping_model_version.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/stages/update_mapping_model_version.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/types.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/model/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/model/types.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/model/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/next.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/next.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/next.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/next.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/next.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/next.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/next.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/next.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/next.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/next.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/next.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/next.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/run_zdt_migration.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/run_zdt_migration.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/run_zdt_migration.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/run_zdt_migration.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/state/create_initial_state.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/state/create_initial_state.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/state/create_initial_state.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/state/create_initial_state.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/state/create_initial_state.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/state/create_initial_state.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/state/create_initial_state.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/state/create_initial_state.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/state/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/state/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/state/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/state/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/state/types.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/state/types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/state/types.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/state/types.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/context.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/context.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/context.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/context.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/document_migrator.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/document_migrator.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/document_migrator.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/document_migrator.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/saved_object.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/saved_object.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/saved_object.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/saved_object.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/saved_object_type.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/saved_object_type.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/saved_object_type.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/saved_object_type.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/state.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/state.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/test_helpers/state.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/test_helpers/state.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/build_index_mappings.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/build_index_mappings.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/build_index_mappings.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/build_index_mappings.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/build_index_mappings.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/build_index_mappings.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/build_index_mappings.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/build_index_mappings.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_index_algorithm.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_index_algorithm.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_index_algorithm.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_index_algorithm.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_index_algorithm.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_index_algorithm.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_index_algorithm.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_index_algorithm.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_version_compatibility.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_version_compatibility.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_version_compatibility.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_version_compatibility.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_version_compatibility.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_version_compatibility.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_version_compatibility.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_version_compatibility.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_version_compatibility.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_version_compatibility.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/check_version_compatibility.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/check_version_compatibility.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/generate_additive_mapping_diff.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_alias_actions.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_alias_actions.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_alias_actions.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_alias_actions.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_alias_actions.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_alias_actions.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_alias_actions.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_alias_actions.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_creation_aliases.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_creation_aliases.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_creation_aliases.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_creation_aliases.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_creation_aliases.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_creation_aliases.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_creation_aliases.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_creation_aliases.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_current_index.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_current_index.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_current_index.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_current_index.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_current_index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_current_index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_current_index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_current_index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_migrator_configs.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_migrator_configs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/get_migrator_configs.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/get_migrator_configs.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/index.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/index.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/outdated_documents_query.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/outdated_documents_query.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/outdated_documents_query.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/outdated_documents_query.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/outdated_documents_query.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/outdated_documents_query.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/outdated_documents_query.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/outdated_documents_query.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/transform_raw_docs.test.mocks.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/transform_raw_docs.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/transform_raw_docs.test.mocks.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/transform_raw_docs.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/transform_raw_docs.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/transform_raw_docs.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/transform_raw_docs.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/transform_raw_docs.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/transform_raw_docs.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/transform_raw_docs.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/transform_raw_docs.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/transform_raw_docs.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/update_index_meta.test.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/update_index_meta.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/update_index_meta.test.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/update_index_meta.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/update_index_meta.ts b/src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/update_index_meta.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/src/zdt/utils/update_index_meta.ts rename to src/core/packages/saved-objects/migration-server-internal/src/zdt/utils/update_index_meta.ts diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/tsconfig.json b/src/core/packages/saved-objects/migration-server-internal/tsconfig.json similarity index 95% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/tsconfig.json rename to src/core/packages/saved-objects/migration-server-internal/tsconfig.json index c1d993b0f4761..31f3da33386f4 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-server-internal/tsconfig.json +++ b/src/core/packages/saved-objects/migration-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/README.md b/src/core/packages/saved-objects/server-internal/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/README.md rename to src/core/packages/saved-objects/server-internal/README.md diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/index.ts b/src/core/packages/saved-objects/server-internal/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/index.ts rename to src/core/packages/saved-objects/server-internal/index.ts diff --git a/src/core/packages/saved-objects/server-internal/jest.config.js b/src/core/packages/saved-objects/server-internal/jest.config.js new file mode 100644 index 0000000000000..a39534a81e908 --- /dev/null +++ b/src/core/packages/saved-objects/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/server-internal'], +}; diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/kibana.jsonc b/src/core/packages/saved-objects/server-internal/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/kibana.jsonc rename to src/core/packages/saved-objects/server-internal/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/package.json b/src/core/packages/saved-objects/server-internal/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/package.json rename to src/core/packages/saved-objects/server-internal/package.json diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/apply_type_defaults.test.ts b/src/core/packages/saved-objects/server-internal/src/apply_type_defaults.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/apply_type_defaults.test.ts rename to src/core/packages/saved-objects/server-internal/src/apply_type_defaults.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/apply_type_defaults.ts b/src/core/packages/saved-objects/server-internal/src/apply_type_defaults.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/apply_type_defaults.ts rename to src/core/packages/saved-objects/server-internal/src/apply_type_defaults.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/constants.ts b/src/core/packages/saved-objects/server-internal/src/constants.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/constants.ts rename to src/core/packages/saved-objects/server-internal/src/constants.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/deprecation_factory.ts b/src/core/packages/saved-objects/server-internal/src/deprecations/deprecation_factory.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/deprecation_factory.ts rename to src/core/packages/saved-objects/server-internal/src/deprecations/deprecation_factory.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/index.ts b/src/core/packages/saved-objects/server-internal/src/deprecations/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/index.ts rename to src/core/packages/saved-objects/server-internal/src/deprecations/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/unknown_object_types.test.mocks.ts b/src/core/packages/saved-objects/server-internal/src/deprecations/unknown_object_types.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/unknown_object_types.test.mocks.ts rename to src/core/packages/saved-objects/server-internal/src/deprecations/unknown_object_types.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/unknown_object_types.test.ts b/src/core/packages/saved-objects/server-internal/src/deprecations/unknown_object_types.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/unknown_object_types.test.ts rename to src/core/packages/saved-objects/server-internal/src/deprecations/unknown_object_types.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/unknown_object_types.ts b/src/core/packages/saved-objects/server-internal/src/deprecations/unknown_object_types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/deprecations/unknown_object_types.ts rename to src/core/packages/saved-objects/server-internal/src/deprecations/unknown_object_types.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/index.ts b/src/core/packages/saved-objects/server-internal/src/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/index.ts rename to src/core/packages/saved-objects/server-internal/src/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/internal_types.ts b/src/core/packages/saved-objects/server-internal/src/internal_types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/internal_types.ts rename to src/core/packages/saved-objects/server-internal/src/internal_types.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/mocks/internal_mocks.ts b/src/core/packages/saved-objects/server-internal/src/mocks/internal_mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/mocks/internal_mocks.ts rename to src/core/packages/saved-objects/server-internal/src/mocks/internal_mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/object_types/index.ts b/src/core/packages/saved-objects/server-internal/src/object_types/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/object_types/index.ts rename to src/core/packages/saved-objects/server-internal/src/object_types/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/object_types/registration.test.ts b/src/core/packages/saved-objects/server-internal/src/object_types/registration.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/object_types/registration.test.ts rename to src/core/packages/saved-objects/server-internal/src/object_types/registration.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/object_types/registration.ts b/src/core/packages/saved-objects/server-internal/src/object_types/registration.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/object_types/registration.ts rename to src/core/packages/saved-objects/server-internal/src/object_types/registration.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_create.ts b/src/core/packages/saved-objects/server-internal/src/routes/bulk_create.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_create.ts rename to src/core/packages/saved-objects/server-internal/src/routes/bulk_create.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_delete.ts b/src/core/packages/saved-objects/server-internal/src/routes/bulk_delete.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_delete.ts rename to src/core/packages/saved-objects/server-internal/src/routes/bulk_delete.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_get.ts b/src/core/packages/saved-objects/server-internal/src/routes/bulk_get.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_get.ts rename to src/core/packages/saved-objects/server-internal/src/routes/bulk_get.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_resolve.ts b/src/core/packages/saved-objects/server-internal/src/routes/bulk_resolve.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_resolve.ts rename to src/core/packages/saved-objects/server-internal/src/routes/bulk_resolve.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_update.ts b/src/core/packages/saved-objects/server-internal/src/routes/bulk_update.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/bulk_update.ts rename to src/core/packages/saved-objects/server-internal/src/routes/bulk_update.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/create.ts b/src/core/packages/saved-objects/server-internal/src/routes/create.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/create.ts rename to src/core/packages/saved-objects/server-internal/src/routes/create.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/delete.ts b/src/core/packages/saved-objects/server-internal/src/routes/delete.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/delete.ts rename to src/core/packages/saved-objects/server-internal/src/routes/delete.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/deprecations/delete_unknown_types.ts b/src/core/packages/saved-objects/server-internal/src/routes/deprecations/delete_unknown_types.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/deprecations/delete_unknown_types.ts rename to src/core/packages/saved-objects/server-internal/src/routes/deprecations/delete_unknown_types.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/deprecations/index.ts b/src/core/packages/saved-objects/server-internal/src/routes/deprecations/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/deprecations/index.ts rename to src/core/packages/saved-objects/server-internal/src/routes/deprecations/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/export.ts b/src/core/packages/saved-objects/server-internal/src/routes/export.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/export.ts rename to src/core/packages/saved-objects/server-internal/src/routes/export.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/find.ts b/src/core/packages/saved-objects/server-internal/src/routes/find.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/find.ts rename to src/core/packages/saved-objects/server-internal/src/routes/find.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/get.ts b/src/core/packages/saved-objects/server-internal/src/routes/get.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/get.ts rename to src/core/packages/saved-objects/server-internal/src/routes/get.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/import.ts b/src/core/packages/saved-objects/server-internal/src/routes/import.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/import.ts rename to src/core/packages/saved-objects/server-internal/src/routes/import.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/index.ts b/src/core/packages/saved-objects/server-internal/src/routes/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/index.ts rename to src/core/packages/saved-objects/server-internal/src/routes/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/export.ts b/src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/export.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/export.ts rename to src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/export.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/import.ts b/src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/import.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/import.ts rename to src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/import.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts b/src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts rename to src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.ts b/src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/collect_references_deep.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.ts rename to src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/collect_references_deep.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/export_dashboards.ts b/src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/export_dashboards.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/export_dashboards.ts rename to src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/export_dashboards.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.test.ts b/src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/import_dashboards.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.test.ts rename to src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/import_dashboards.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts b/src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts rename to src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/index.ts b/src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/index.ts rename to src/core/packages/saved-objects/server-internal/src/routes/legacy_import_export/lib/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/migrate.ts b/src/core/packages/saved-objects/server-internal/src/routes/migrate.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/migrate.ts rename to src/core/packages/saved-objects/server-internal/src/routes/migrate.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/resolve.ts b/src/core/packages/saved-objects/server-internal/src/routes/resolve.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/resolve.ts rename to src/core/packages/saved-objects/server-internal/src/routes/resolve.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/resolve_import_errors.ts b/src/core/packages/saved-objects/server-internal/src/routes/resolve_import_errors.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/resolve_import_errors.ts rename to src/core/packages/saved-objects/server-internal/src/routes/resolve_import_errors.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/update.ts b/src/core/packages/saved-objects/server-internal/src/routes/update.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/update.ts rename to src/core/packages/saved-objects/server-internal/src/routes/update.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/utils.test.ts b/src/core/packages/saved-objects/server-internal/src/routes/utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/utils.test.ts rename to src/core/packages/saved-objects/server-internal/src/routes/utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/utils.ts b/src/core/packages/saved-objects/server-internal/src/routes/utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/routes/utils.ts rename to src/core/packages/saved-objects/server-internal/src/routes/utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_route_handler_context.ts b/src/core/packages/saved-objects/server-internal/src/saved_objects_route_handler_context.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_route_handler_context.ts rename to src/core/packages/saved-objects/server-internal/src/saved_objects_route_handler_context.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.test.mocks.ts b/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.mocks.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.test.mocks.ts rename to src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.mocks.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.test.ts b/src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.test.ts rename to src/core/packages/saved-objects/server-internal/src/saved_objects_service.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.ts b/src/core/packages/saved-objects/server-internal/src/saved_objects_service.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.ts rename to src/core/packages/saved-objects/server-internal/src/saved_objects_service.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/status.test.ts b/src/core/packages/saved-objects/server-internal/src/status.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/status.test.ts rename to src/core/packages/saved-objects/server-internal/src/status.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/status.ts b/src/core/packages/saved-objects/server-internal/src/status.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/status.ts rename to src/core/packages/saved-objects/server-internal/src/status.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/utils/get_all_indices.test.ts b/src/core/packages/saved-objects/server-internal/src/utils/get_all_indices.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/utils/get_all_indices.test.ts rename to src/core/packages/saved-objects/server-internal/src/utils/get_all_indices.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/utils/get_all_indices.ts b/src/core/packages/saved-objects/server-internal/src/utils/get_all_indices.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/utils/get_all_indices.ts rename to src/core/packages/saved-objects/server-internal/src/utils/get_all_indices.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/utils/index.ts b/src/core/packages/saved-objects/server-internal/src/utils/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server-internal/src/utils/index.ts rename to src/core/packages/saved-objects/server-internal/src/utils/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/tsconfig.json b/src/core/packages/saved-objects/server-internal/tsconfig.json similarity index 96% rename from packages/core/saved-objects/core-saved-objects-server-internal/tsconfig.json rename to src/core/packages/saved-objects/server-internal/tsconfig.json index bd5c290172794..0397bea8f0dbd 100644 --- a/packages/core/saved-objects/core-saved-objects-server-internal/tsconfig.json +++ b/src/core/packages/saved-objects/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-server/README.md b/src/core/packages/saved-objects/server/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/README.md rename to src/core/packages/saved-objects/server/README.md diff --git a/packages/core/saved-objects/core-saved-objects-server/docs/assets/mv_img_1.png b/src/core/packages/saved-objects/server/docs/assets/mv_img_1.png similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/docs/assets/mv_img_1.png rename to src/core/packages/saved-objects/server/docs/assets/mv_img_1.png diff --git a/packages/core/saved-objects/core-saved-objects-server/docs/model_versions.md b/src/core/packages/saved-objects/server/docs/model_versions.md similarity index 97% rename from packages/core/saved-objects/core-saved-objects-server/docs/model_versions.md rename to src/core/packages/saved-objects/server/docs/model_versions.md index 2790a2ebc8204..098f399686b7b 100644 --- a/packages/core/saved-objects/core-saved-objects-server/docs/model_versions.md +++ b/src/core/packages/saved-objects/server/docs/model_versions.md @@ -70,10 +70,10 @@ unsafe given our backward compatibility requirements. ## Defining model versions -As for old migrations, model versions are bound to a given [savedObject type](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts#L22-L27) +As for old migrations, model versions are bound to a given [savedObject type](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/saved_objects_type.ts#L22-L27) -When registering a SO type, a new [modelVersions](https://github.com/elastic/kibana/blob/9a6a2ccdff619f827b31c40dd9ed30cb27203da7/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts#L138-L177) -property is available. This attribute is a map of [SavedObjectsModelVersion](https://github.com/elastic/kibana/blob/9a6a2ccdff619f827b31c40dd9ed30cb27203da7/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_version.ts#L12-L20) +When registering a SO type, a new [modelVersions](https://github.com/elastic/kibana/blob/9a6a2ccdff619f827b31c40dd9ed30cb27203da7/src/core/packages/saved-objects/server/src/saved_objects_type.ts#L138-L177) +property is available. This attribute is a map of [SavedObjectsModelVersion](https://github.com/elastic/kibana/blob/9a6a2ccdff619f827b31c40dd9ed30cb27203da7/src/core/packages/saved-objects/server/src/model_version/model_version.ts#L12-L20) which is the top-level type/container to define model versions. This map follows a similar `{ [version number] => version definition }` format as the old migration map, however @@ -113,7 +113,7 @@ const myType: SavedObjectsType = { ## Structure of a model version -[Model versions](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_version.ts#L12-L20) +[Model versions](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/model_version/model_version.ts#L12-L20) are not just functions as the previous migrations were, but structured objects describing how the version behaves and what changed since the last one. *A base example of what a model version can look like:* @@ -175,7 +175,7 @@ It's currently composed of two main properties: ### changes -[link to the TS doc for `changes`](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_version.ts#L21-L51) +[link to the TS doc for `changes`](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/model_version/model_version.ts#L21-L51) Describes the list of changes applied during this version. @@ -281,7 +281,7 @@ let change: SavedObjectsModelUnsafeTransformChange = { ### schemas -[link to the TS doc for `schemas`](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/model_version/schemas.ts#L11-L16) +[link to the TS doc for `schemas`](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/model_version/schemas.ts#L11-L16) The schemas associated with this version. Schemas are used to validate or convert SO documents at various stages of their lifecycle. @@ -335,7 +335,7 @@ const versionSchema: SavedObjectModelVersionEvictionFn = (attributes) => { #### create -This is a direct replacement for [the old SavedObjectType.schemas](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts#L75-L82) +This is a direct replacement for [the old SavedObjectType.schemas](https://github.com/elastic/kibana/blob/9b330e493216e8dde3166451e4714966f63f5ab7/src/core/packages/saved-objects/server/src/saved_objects_type.ts#L75-L82) definition, now directly included in the model version definition. As a refresher the `create` schema is a `@kbn/config-schema` object-type schema, and is used to validate the properties of the document diff --git a/packages/core/saved-objects/core-saved-objects-server/index.ts b/src/core/packages/saved-objects/server/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/index.ts rename to src/core/packages/saved-objects/server/index.ts diff --git a/src/core/packages/saved-objects/server/jest.config.js b/src/core/packages/saved-objects/server/jest.config.js new file mode 100644 index 0000000000000..78eb06f85f28e --- /dev/null +++ b/src/core/packages/saved-objects/server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/server'], +}; diff --git a/packages/core/saved-objects/core-saved-objects-server/kibana.jsonc b/src/core/packages/saved-objects/server/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/kibana.jsonc rename to src/core/packages/saved-objects/server/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-server/package.json b/src/core/packages/saved-objects/server/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/package.json rename to src/core/packages/saved-objects/server/package.json diff --git a/packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts b/src/core/packages/saved-objects/server/src/client_factory.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts rename to src/core/packages/saved-objects/server/src/client_factory.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/contracts.ts b/src/core/packages/saved-objects/server/src/contracts.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/contracts.ts rename to src/core/packages/saved-objects/server/src/contracts.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/export.ts b/src/core/packages/saved-objects/server/src/export.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/export.ts rename to src/core/packages/saved-objects/server/src/export.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/extensions/encryption.ts b/src/core/packages/saved-objects/server/src/extensions/encryption.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/extensions/encryption.ts rename to src/core/packages/saved-objects/server/src/extensions/encryption.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/extensions/extensions.ts b/src/core/packages/saved-objects/server/src/extensions/extensions.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/extensions/extensions.ts rename to src/core/packages/saved-objects/server/src/extensions/extensions.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/extensions/security.ts b/src/core/packages/saved-objects/server/src/extensions/security.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/extensions/security.ts rename to src/core/packages/saved-objects/server/src/extensions/security.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/extensions/spaces.ts b/src/core/packages/saved-objects/server/src/extensions/spaces.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/extensions/spaces.ts rename to src/core/packages/saved-objects/server/src/extensions/spaces.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/import.ts b/src/core/packages/saved-objects/server/src/import.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/import.ts rename to src/core/packages/saved-objects/server/src/import.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/mapping_definition.ts b/src/core/packages/saved-objects/server/src/mapping_definition.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/mapping_definition.ts rename to src/core/packages/saved-objects/server/src/mapping_definition.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/migration.ts b/src/core/packages/saved-objects/server/src/migration.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/migration.ts rename to src/core/packages/saved-objects/server/src/migration.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/model_version/index.ts b/src/core/packages/saved-objects/server/src/model_version/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/model_version/index.ts rename to src/core/packages/saved-objects/server/src/model_version/index.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_change.ts b/src/core/packages/saved-objects/server/src/model_version/model_change.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/model_version/model_change.ts rename to src/core/packages/saved-objects/server/src/model_version/model_change.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/model_version/model_version.ts b/src/core/packages/saved-objects/server/src/model_version/model_version.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/model_version/model_version.ts rename to src/core/packages/saved-objects/server/src/model_version/model_version.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/model_version/schemas.ts b/src/core/packages/saved-objects/server/src/model_version/schemas.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/model_version/schemas.ts rename to src/core/packages/saved-objects/server/src/model_version/schemas.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/model_version/transformations.ts b/src/core/packages/saved-objects/server/src/model_version/transformations.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/model_version/transformations.ts rename to src/core/packages/saved-objects/server/src/model_version/transformations.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts b/src/core/packages/saved-objects/server/src/request_handler_context.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts rename to src/core/packages/saved-objects/server/src/request_handler_context.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_error_helpers.test.ts b/src/core/packages/saved-objects/server/src/saved_objects_error_helpers.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/saved_objects_error_helpers.test.ts rename to src/core/packages/saved-objects/server/src/saved_objects_error_helpers.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_error_helpers.ts b/src/core/packages/saved-objects/server/src/saved_objects_error_helpers.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/saved_objects_error_helpers.ts rename to src/core/packages/saved-objects/server/src/saved_objects_error_helpers.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_index_pattern.ts b/src/core/packages/saved-objects/server/src/saved_objects_index_pattern.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/saved_objects_index_pattern.ts rename to src/core/packages/saved-objects/server/src/saved_objects_index_pattern.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts b/src/core/packages/saved-objects/server/src/saved_objects_management.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts rename to src/core/packages/saved-objects/server/src/saved_objects_management.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_status.ts b/src/core/packages/saved-objects/server/src/saved_objects_status.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/saved_objects_status.ts rename to src/core/packages/saved-objects/server/src/saved_objects_status.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts b/src/core/packages/saved-objects/server/src/saved_objects_type.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts rename to src/core/packages/saved-objects/server/src/saved_objects_type.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/serialization.ts b/src/core/packages/saved-objects/server/src/serialization.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/serialization.ts rename to src/core/packages/saved-objects/server/src/serialization.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts b/src/core/packages/saved-objects/server/src/type_registry.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts rename to src/core/packages/saved-objects/server/src/type_registry.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/src/validation.ts b/src/core/packages/saved-objects/server/src/validation.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-server/src/validation.ts rename to src/core/packages/saved-objects/server/src/validation.ts diff --git a/packages/core/saved-objects/core-saved-objects-server/tsconfig.json b/src/core/packages/saved-objects/server/tsconfig.json similarity index 90% rename from packages/core/saved-objects/core-saved-objects-server/tsconfig.json rename to src/core/packages/saved-objects/server/tsconfig.json index 71c4049e369da..8c73006487eee 100644 --- a/packages/core/saved-objects/core-saved-objects-server/tsconfig.json +++ b/src/core/packages/saved-objects/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/README.md b/src/core/packages/saved-objects/utils-server/README.md similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/README.md rename to src/core/packages/saved-objects/utils-server/README.md diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/index.ts b/src/core/packages/saved-objects/utils-server/index.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/index.ts rename to src/core/packages/saved-objects/utils-server/index.ts diff --git a/src/core/packages/saved-objects/utils-server/jest.config.js b/src/core/packages/saved-objects/utils-server/jest.config.js new file mode 100644 index 0000000000000..39e1ecc94a42f --- /dev/null +++ b/src/core/packages/saved-objects/utils-server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/saved-objects/utils-server'], +}; diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/kibana.jsonc b/src/core/packages/saved-objects/utils-server/kibana.jsonc similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/kibana.jsonc rename to src/core/packages/saved-objects/utils-server/kibana.jsonc diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/package.json b/src/core/packages/saved-objects/utils-server/package.json similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/package.json rename to src/core/packages/saved-objects/utils-server/package.json diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migrations.test.ts b/src/core/packages/saved-objects/utils-server/src/merge_migrations.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migrations.test.ts rename to src/core/packages/saved-objects/utils-server/src/merge_migrations.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migrations.ts b/src/core/packages/saved-objects/utils-server/src/merge_migrations.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migrations.ts rename to src/core/packages/saved-objects/utils-server/src/merge_migrations.ts diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_test_utils.test.ts b/src/core/packages/saved-objects/utils-server/src/saved_objects_test_utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_test_utils.test.ts rename to src/core/packages/saved-objects/utils-server/src/saved_objects_test_utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_test_utils.ts b/src/core/packages/saved-objects/utils-server/src/saved_objects_test_utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_test_utils.ts rename to src/core/packages/saved-objects/utils-server/src/saved_objects_test_utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.test.mock.ts b/src/core/packages/saved-objects/utils-server/src/saved_objects_utils.test.mock.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.test.mock.ts rename to src/core/packages/saved-objects/utils-server/src/saved_objects_utils.test.mock.ts diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.test.ts b/src/core/packages/saved-objects/utils-server/src/saved_objects_utils.test.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.test.ts rename to src/core/packages/saved-objects/utils-server/src/saved_objects_utils.test.ts diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts b/src/core/packages/saved-objects/utils-server/src/saved_objects_utils.ts similarity index 100% rename from packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts rename to src/core/packages/saved-objects/utils-server/src/saved_objects_utils.ts diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/tsconfig.json b/src/core/packages/saved-objects/utils-server/tsconfig.json similarity index 85% rename from packages/core/saved-objects/core-saved-objects-utils-server/tsconfig.json rename to src/core/packages/saved-objects/utils-server/tsconfig.json index 25ba9d5fefac7..3614e2d7fc1f6 100644 --- a/packages/core/saved-objects/core-saved-objects-utils-server/tsconfig.json +++ b/src/core/packages/saved-objects/utils-server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/security/core-security-browser-internal/README.md b/src/core/packages/security/browser-internal/README.md similarity index 100% rename from packages/core/security/core-security-browser-internal/README.md rename to src/core/packages/security/browser-internal/README.md diff --git a/packages/core/security/core-security-browser-internal/index.ts b/src/core/packages/security/browser-internal/index.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/index.ts rename to src/core/packages/security/browser-internal/index.ts diff --git a/src/core/packages/security/browser-internal/jest.config.js b/src/core/packages/security/browser-internal/jest.config.js new file mode 100644 index 0000000000000..44b52e3999acd --- /dev/null +++ b/src/core/packages/security/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/security/browser-internal'], +}; diff --git a/packages/core/security/core-security-browser-internal/kibana.jsonc b/src/core/packages/security/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/security/core-security-browser-internal/kibana.jsonc rename to src/core/packages/security/browser-internal/kibana.jsonc diff --git a/packages/core/security/core-security-browser-internal/package.json b/src/core/packages/security/browser-internal/package.json similarity index 100% rename from packages/core/security/core-security-browser-internal/package.json rename to src/core/packages/security/browser-internal/package.json diff --git a/packages/core/security/core-security-browser-internal/src/internal_contracts.ts b/src/core/packages/security/browser-internal/src/internal_contracts.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/src/internal_contracts.ts rename to src/core/packages/security/browser-internal/src/internal_contracts.ts diff --git a/packages/core/security/core-security-browser-internal/src/security_service.test.mocks.ts b/src/core/packages/security/browser-internal/src/security_service.test.mocks.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/src/security_service.test.mocks.ts rename to src/core/packages/security/browser-internal/src/security_service.test.mocks.ts diff --git a/packages/core/security/core-security-browser-internal/src/security_service.test.ts b/src/core/packages/security/browser-internal/src/security_service.test.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/src/security_service.test.ts rename to src/core/packages/security/browser-internal/src/security_service.test.ts diff --git a/packages/core/security/core-security-browser-internal/src/security_service.ts b/src/core/packages/security/browser-internal/src/security_service.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/src/security_service.ts rename to src/core/packages/security/browser-internal/src/security_service.ts diff --git a/packages/core/security/core-security-browser-internal/src/utils/convert_security_api.test.ts b/src/core/packages/security/browser-internal/src/utils/convert_security_api.test.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/src/utils/convert_security_api.test.ts rename to src/core/packages/security/browser-internal/src/utils/convert_security_api.test.ts diff --git a/packages/core/security/core-security-browser-internal/src/utils/convert_security_api.ts b/src/core/packages/security/browser-internal/src/utils/convert_security_api.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/src/utils/convert_security_api.ts rename to src/core/packages/security/browser-internal/src/utils/convert_security_api.ts diff --git a/packages/core/security/core-security-browser-internal/src/utils/default_implementation.test.ts b/src/core/packages/security/browser-internal/src/utils/default_implementation.test.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/src/utils/default_implementation.test.ts rename to src/core/packages/security/browser-internal/src/utils/default_implementation.test.ts diff --git a/packages/core/security/core-security-browser-internal/src/utils/default_implementation.ts b/src/core/packages/security/browser-internal/src/utils/default_implementation.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/src/utils/default_implementation.ts rename to src/core/packages/security/browser-internal/src/utils/default_implementation.ts diff --git a/packages/core/security/core-security-browser-internal/src/utils/index.ts b/src/core/packages/security/browser-internal/src/utils/index.ts similarity index 100% rename from packages/core/security/core-security-browser-internal/src/utils/index.ts rename to src/core/packages/security/browser-internal/src/utils/index.ts diff --git a/packages/core/security/core-security-browser-internal/tsconfig.json b/src/core/packages/security/browser-internal/tsconfig.json similarity index 88% rename from packages/core/security/core-security-browser-internal/tsconfig.json rename to src/core/packages/security/browser-internal/tsconfig.json index d7fa9fd23c1d0..1b500e87c8583 100644 --- a/packages/core/security/core-security-browser-internal/tsconfig.json +++ b/src/core/packages/security/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/security/core-security-browser-mocks/README.md b/src/core/packages/security/browser-mocks/README.md similarity index 100% rename from packages/core/security/core-security-browser-mocks/README.md rename to src/core/packages/security/browser-mocks/README.md diff --git a/packages/core/security/core-security-browser-mocks/index.ts b/src/core/packages/security/browser-mocks/index.ts similarity index 100% rename from packages/core/security/core-security-browser-mocks/index.ts rename to src/core/packages/security/browser-mocks/index.ts diff --git a/src/core/packages/security/browser-mocks/jest.config.js b/src/core/packages/security/browser-mocks/jest.config.js new file mode 100644 index 0000000000000..b51482959871b --- /dev/null +++ b/src/core/packages/security/browser-mocks/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/security/browser-mocks'], +}; diff --git a/packages/core/security/core-security-browser-mocks/kibana.jsonc b/src/core/packages/security/browser-mocks/kibana.jsonc similarity index 100% rename from packages/core/security/core-security-browser-mocks/kibana.jsonc rename to src/core/packages/security/browser-mocks/kibana.jsonc diff --git a/packages/core/security/core-security-browser-mocks/package.json b/src/core/packages/security/browser-mocks/package.json similarity index 100% rename from packages/core/security/core-security-browser-mocks/package.json rename to src/core/packages/security/browser-mocks/package.json diff --git a/packages/core/security/core-security-browser-mocks/src/security_service.mock.ts b/src/core/packages/security/browser-mocks/src/security_service.mock.ts similarity index 100% rename from packages/core/security/core-security-browser-mocks/src/security_service.mock.ts rename to src/core/packages/security/browser-mocks/src/security_service.mock.ts diff --git a/packages/core/security/core-security-browser-mocks/tsconfig.json b/src/core/packages/security/browser-mocks/tsconfig.json similarity index 87% rename from packages/core/security/core-security-browser-mocks/tsconfig.json rename to src/core/packages/security/browser-mocks/tsconfig.json index 363e26375db29..c2a72b1c34971 100644 --- a/packages/core/security/core-security-browser-mocks/tsconfig.json +++ b/src/core/packages/security/browser-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/security/core-security-browser/README.md b/src/core/packages/security/browser/README.md similarity index 100% rename from packages/core/security/core-security-browser/README.md rename to src/core/packages/security/browser/README.md diff --git a/packages/core/security/core-security-browser/index.ts b/src/core/packages/security/browser/index.ts similarity index 100% rename from packages/core/security/core-security-browser/index.ts rename to src/core/packages/security/browser/index.ts diff --git a/src/core/packages/security/browser/jest.config.js b/src/core/packages/security/browser/jest.config.js new file mode 100644 index 0000000000000..3b7b1dcd7d569 --- /dev/null +++ b/src/core/packages/security/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/security/browser'], +}; diff --git a/packages/core/security/core-security-browser/kibana.jsonc b/src/core/packages/security/browser/kibana.jsonc similarity index 100% rename from packages/core/security/core-security-browser/kibana.jsonc rename to src/core/packages/security/browser/kibana.jsonc diff --git a/packages/core/security/core-security-browser/package.json b/src/core/packages/security/browser/package.json similarity index 100% rename from packages/core/security/core-security-browser/package.json rename to src/core/packages/security/browser/package.json diff --git a/packages/core/security/core-security-browser/src/api_provider.ts b/src/core/packages/security/browser/src/api_provider.ts similarity index 100% rename from packages/core/security/core-security-browser/src/api_provider.ts rename to src/core/packages/security/browser/src/api_provider.ts diff --git a/packages/core/security/core-security-browser/src/authc.ts b/src/core/packages/security/browser/src/authc.ts similarity index 100% rename from packages/core/security/core-security-browser/src/authc.ts rename to src/core/packages/security/browser/src/authc.ts diff --git a/packages/core/security/core-security-browser/src/contracts.ts b/src/core/packages/security/browser/src/contracts.ts similarity index 100% rename from packages/core/security/core-security-browser/src/contracts.ts rename to src/core/packages/security/browser/src/contracts.ts diff --git a/packages/core/security/core-security-browser/tsconfig.json b/src/core/packages/security/browser/tsconfig.json similarity index 84% rename from packages/core/security/core-security-browser/tsconfig.json rename to src/core/packages/security/browser/tsconfig.json index 460811ea00d14..18e00d93a2a98 100644 --- a/packages/core/security/core-security-browser/tsconfig.json +++ b/src/core/packages/security/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/security/core-security-common/README.md b/src/core/packages/security/common/README.md similarity index 100% rename from packages/core/security/core-security-common/README.md rename to src/core/packages/security/common/README.md diff --git a/packages/core/security/core-security-common/index.ts b/src/core/packages/security/common/index.ts similarity index 100% rename from packages/core/security/core-security-common/index.ts rename to src/core/packages/security/common/index.ts diff --git a/packages/core/i18n/core-i18n-browser/jest.config.js b/src/core/packages/security/common/jest.config.js similarity index 85% rename from packages/core/i18n/core-i18n-browser/jest.config.js rename to src/core/packages/security/common/jest.config.js index 5bb5c07d329e5..270bc08613d3b 100644 --- a/packages/core/i18n/core-i18n-browser/jest.config.js +++ b/src/core/packages/security/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/i18n/core-i18n-browser'], + rootDir: '../../../../..', + roots: ['/src/core/packages/security/common'], }; diff --git a/packages/core/security/core-security-common/kibana.jsonc b/src/core/packages/security/common/kibana.jsonc similarity index 100% rename from packages/core/security/core-security-common/kibana.jsonc rename to src/core/packages/security/common/kibana.jsonc diff --git a/packages/core/security/core-security-common/mocks.ts b/src/core/packages/security/common/mocks.ts similarity index 100% rename from packages/core/security/core-security-common/mocks.ts rename to src/core/packages/security/common/mocks.ts diff --git a/packages/core/security/core-security-common/package.json b/src/core/packages/security/common/package.json similarity index 100% rename from packages/core/security/core-security-common/package.json rename to src/core/packages/security/common/package.json diff --git a/packages/core/security/core-security-common/src/authentication/authenticated_user.mock.ts b/src/core/packages/security/common/src/authentication/authenticated_user.mock.ts similarity index 100% rename from packages/core/security/core-security-common/src/authentication/authenticated_user.mock.ts rename to src/core/packages/security/common/src/authentication/authenticated_user.mock.ts diff --git a/packages/core/security/core-security-common/src/authentication/authenticated_user.ts b/src/core/packages/security/common/src/authentication/authenticated_user.ts similarity index 100% rename from packages/core/security/core-security-common/src/authentication/authenticated_user.ts rename to src/core/packages/security/common/src/authentication/authenticated_user.ts diff --git a/packages/core/security/core-security-common/src/authentication/authentication_provider.ts b/src/core/packages/security/common/src/authentication/authentication_provider.ts similarity index 100% rename from packages/core/security/core-security-common/src/authentication/authentication_provider.ts rename to src/core/packages/security/common/src/authentication/authentication_provider.ts diff --git a/packages/core/security/core-security-common/src/authentication/index.ts b/src/core/packages/security/common/src/authentication/index.ts similarity index 100% rename from packages/core/security/core-security-common/src/authentication/index.ts rename to src/core/packages/security/common/src/authentication/index.ts diff --git a/packages/core/security/core-security-common/src/authentication/user.ts b/src/core/packages/security/common/src/authentication/user.ts similarity index 100% rename from packages/core/security/core-security-common/src/authentication/user.ts rename to src/core/packages/security/common/src/authentication/user.ts diff --git a/packages/core/user-profile/core-user-profile-common/tsconfig.json b/src/core/packages/security/common/tsconfig.json similarity index 82% rename from packages/core/user-profile/core-user-profile-common/tsconfig.json rename to src/core/packages/security/common/tsconfig.json index b05325b824a67..447899d604592 100644 --- a/packages/core/user-profile/core-user-profile-common/tsconfig.json +++ b/src/core/packages/security/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/security/core-security-server-internal/README.md b/src/core/packages/security/server-internal/README.md similarity index 100% rename from packages/core/security/core-security-server-internal/README.md rename to src/core/packages/security/server-internal/README.md diff --git a/packages/core/security/core-security-server-internal/index.ts b/src/core/packages/security/server-internal/index.ts similarity index 100% rename from packages/core/security/core-security-server-internal/index.ts rename to src/core/packages/security/server-internal/index.ts diff --git a/packages/core/base/core-base-server-internal/jest.config.js b/src/core/packages/security/server-internal/jest.config.js similarity index 84% rename from packages/core/base/core-base-server-internal/jest.config.js rename to src/core/packages/security/server-internal/jest.config.js index 916990ebba57f..8e43af5a1c504 100644 --- a/packages/core/base/core-base-server-internal/jest.config.js +++ b/src/core/packages/security/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/base/core-base-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/security/server-internal'], }; diff --git a/packages/core/security/core-security-server-internal/kibana.jsonc b/src/core/packages/security/server-internal/kibana.jsonc similarity index 100% rename from packages/core/security/core-security-server-internal/kibana.jsonc rename to src/core/packages/security/server-internal/kibana.jsonc diff --git a/packages/core/security/core-security-server-internal/package.json b/src/core/packages/security/server-internal/package.json similarity index 100% rename from packages/core/security/core-security-server-internal/package.json rename to src/core/packages/security/server-internal/package.json diff --git a/packages/core/security/core-security-server-internal/src/fips/fips.test.ts b/src/core/packages/security/server-internal/src/fips/fips.test.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/fips/fips.test.ts rename to src/core/packages/security/server-internal/src/fips/fips.test.ts diff --git a/packages/core/security/core-security-server-internal/src/fips/fips.ts b/src/core/packages/security/server-internal/src/fips/fips.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/fips/fips.ts rename to src/core/packages/security/server-internal/src/fips/fips.ts diff --git a/packages/core/security/core-security-server-internal/src/internal_contracts.ts b/src/core/packages/security/server-internal/src/internal_contracts.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/internal_contracts.ts rename to src/core/packages/security/server-internal/src/internal_contracts.ts diff --git a/packages/core/security/core-security-server-internal/src/security_route_handler_context.ts b/src/core/packages/security/server-internal/src/security_route_handler_context.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/security_route_handler_context.ts rename to src/core/packages/security/server-internal/src/security_route_handler_context.ts diff --git a/packages/core/security/core-security-server-internal/src/security_service.test.mocks.ts b/src/core/packages/security/server-internal/src/security_service.test.mocks.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/security_service.test.mocks.ts rename to src/core/packages/security/server-internal/src/security_service.test.mocks.ts diff --git a/packages/core/security/core-security-server-internal/src/security_service.test.ts b/src/core/packages/security/server-internal/src/security_service.test.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/security_service.test.ts rename to src/core/packages/security/server-internal/src/security_service.test.ts diff --git a/packages/core/security/core-security-server-internal/src/security_service.ts b/src/core/packages/security/server-internal/src/security_service.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/security_service.ts rename to src/core/packages/security/server-internal/src/security_service.ts diff --git a/packages/core/security/core-security-server-internal/src/test_helpers/create_audit_logger.mock.ts b/src/core/packages/security/server-internal/src/test_helpers/create_audit_logger.mock.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/test_helpers/create_audit_logger.mock.ts rename to src/core/packages/security/server-internal/src/test_helpers/create_audit_logger.mock.ts diff --git a/packages/core/security/core-security-server-internal/src/utils/convert_security_api.test.ts b/src/core/packages/security/server-internal/src/utils/convert_security_api.test.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/utils/convert_security_api.test.ts rename to src/core/packages/security/server-internal/src/utils/convert_security_api.test.ts diff --git a/packages/core/security/core-security-server-internal/src/utils/convert_security_api.ts b/src/core/packages/security/server-internal/src/utils/convert_security_api.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/utils/convert_security_api.ts rename to src/core/packages/security/server-internal/src/utils/convert_security_api.ts diff --git a/packages/core/security/core-security-server-internal/src/utils/default_implementation.test.ts b/src/core/packages/security/server-internal/src/utils/default_implementation.test.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/utils/default_implementation.test.ts rename to src/core/packages/security/server-internal/src/utils/default_implementation.test.ts diff --git a/packages/core/security/core-security-server-internal/src/utils/default_implementation.ts b/src/core/packages/security/server-internal/src/utils/default_implementation.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/utils/default_implementation.ts rename to src/core/packages/security/server-internal/src/utils/default_implementation.ts diff --git a/packages/core/security/core-security-server-internal/src/utils/index.ts b/src/core/packages/security/server-internal/src/utils/index.ts similarity index 100% rename from packages/core/security/core-security-server-internal/src/utils/index.ts rename to src/core/packages/security/server-internal/src/utils/index.ts diff --git a/packages/core/security/core-security-server-internal/tsconfig.json b/src/core/packages/security/server-internal/tsconfig.json similarity index 90% rename from packages/core/security/core-security-server-internal/tsconfig.json rename to src/core/packages/security/server-internal/tsconfig.json index 11128461daf4e..087d716005c02 100644 --- a/packages/core/security/core-security-server-internal/tsconfig.json +++ b/src/core/packages/security/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/security/core-security-server-mocks/README.md b/src/core/packages/security/server-mocks/README.md similarity index 100% rename from packages/core/security/core-security-server-mocks/README.md rename to src/core/packages/security/server-mocks/README.md diff --git a/packages/core/security/core-security-server-mocks/index.ts b/src/core/packages/security/server-mocks/index.ts similarity index 100% rename from packages/core/security/core-security-server-mocks/index.ts rename to src/core/packages/security/server-mocks/index.ts diff --git a/src/core/packages/security/server-mocks/jest.config.js b/src/core/packages/security/server-mocks/jest.config.js new file mode 100644 index 0000000000000..59a4f4172873c --- /dev/null +++ b/src/core/packages/security/server-mocks/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/security/server-mocks'], +}; diff --git a/packages/core/security/core-security-server-mocks/kibana.jsonc b/src/core/packages/security/server-mocks/kibana.jsonc similarity index 100% rename from packages/core/security/core-security-server-mocks/kibana.jsonc rename to src/core/packages/security/server-mocks/kibana.jsonc diff --git a/packages/core/security/core-security-server-mocks/package.json b/src/core/packages/security/server-mocks/package.json similarity index 100% rename from packages/core/security/core-security-server-mocks/package.json rename to src/core/packages/security/server-mocks/package.json diff --git a/packages/core/security/core-security-server-mocks/src/api_keys.mock.ts b/src/core/packages/security/server-mocks/src/api_keys.mock.ts similarity index 100% rename from packages/core/security/core-security-server-mocks/src/api_keys.mock.ts rename to src/core/packages/security/server-mocks/src/api_keys.mock.ts diff --git a/packages/core/security/core-security-server-mocks/src/audit.mock.ts b/src/core/packages/security/server-mocks/src/audit.mock.ts similarity index 100% rename from packages/core/security/core-security-server-mocks/src/audit.mock.ts rename to src/core/packages/security/server-mocks/src/audit.mock.ts diff --git a/packages/core/security/core-security-server-mocks/src/security_service.mock.ts b/src/core/packages/security/server-mocks/src/security_service.mock.ts similarity index 100% rename from packages/core/security/core-security-server-mocks/src/security_service.mock.ts rename to src/core/packages/security/server-mocks/src/security_service.mock.ts diff --git a/packages/core/security/core-security-server-mocks/tsconfig.json b/src/core/packages/security/server-mocks/tsconfig.json similarity index 87% rename from packages/core/security/core-security-server-mocks/tsconfig.json rename to src/core/packages/security/server-mocks/tsconfig.json index 9c170d484ca9c..3635bcf047674 100644 --- a/packages/core/security/core-security-server-mocks/tsconfig.json +++ b/src/core/packages/security/server-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/security/core-security-server/README.md b/src/core/packages/security/server/README.md similarity index 100% rename from packages/core/security/core-security-server/README.md rename to src/core/packages/security/server/README.md diff --git a/packages/core/security/core-security-server/index.ts b/src/core/packages/security/server/index.ts similarity index 100% rename from packages/core/security/core-security-server/index.ts rename to src/core/packages/security/server/index.ts diff --git a/src/core/packages/security/server/jest.config.js b/src/core/packages/security/server/jest.config.js new file mode 100644 index 0000000000000..150c6a567ba55 --- /dev/null +++ b/src/core/packages/security/server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/security/server'], +}; diff --git a/packages/core/security/core-security-server/kibana.jsonc b/src/core/packages/security/server/kibana.jsonc similarity index 100% rename from packages/core/security/core-security-server/kibana.jsonc rename to src/core/packages/security/server/kibana.jsonc diff --git a/packages/core/security/core-security-server/package.json b/src/core/packages/security/server/package.json similarity index 100% rename from packages/core/security/core-security-server/package.json rename to src/core/packages/security/server/package.json diff --git a/packages/core/security/core-security-server/src/api_provider.ts b/src/core/packages/security/server/src/api_provider.ts similarity index 100% rename from packages/core/security/core-security-server/src/api_provider.ts rename to src/core/packages/security/server/src/api_provider.ts diff --git a/packages/core/security/core-security-server/src/audit.ts b/src/core/packages/security/server/src/audit.ts similarity index 100% rename from packages/core/security/core-security-server/src/audit.ts rename to src/core/packages/security/server/src/audit.ts diff --git a/packages/core/security/core-security-server/src/audit_logging/audit_events.ts b/src/core/packages/security/server/src/audit_logging/audit_events.ts similarity index 100% rename from packages/core/security/core-security-server/src/audit_logging/audit_events.ts rename to src/core/packages/security/server/src/audit_logging/audit_events.ts diff --git a/packages/core/security/core-security-server/src/audit_logging/audit_logger.ts b/src/core/packages/security/server/src/audit_logging/audit_logger.ts similarity index 100% rename from packages/core/security/core-security-server/src/audit_logging/audit_logger.ts rename to src/core/packages/security/server/src/audit_logging/audit_logger.ts diff --git a/packages/core/security/core-security-server/src/authc.ts b/src/core/packages/security/server/src/authc.ts similarity index 100% rename from packages/core/security/core-security-server/src/authc.ts rename to src/core/packages/security/server/src/authc.ts diff --git a/packages/core/security/core-security-server/src/authentication/api_keys/api_keys.ts b/src/core/packages/security/server/src/authentication/api_keys/api_keys.ts similarity index 100% rename from packages/core/security/core-security-server/src/authentication/api_keys/api_keys.ts rename to src/core/packages/security/server/src/authentication/api_keys/api_keys.ts diff --git a/packages/core/security/core-security-server/src/authentication/api_keys/api_keys_context.ts b/src/core/packages/security/server/src/authentication/api_keys/api_keys_context.ts similarity index 100% rename from packages/core/security/core-security-server/src/authentication/api_keys/api_keys_context.ts rename to src/core/packages/security/server/src/authentication/api_keys/api_keys_context.ts diff --git a/packages/core/security/core-security-server/src/authentication/api_keys/index.ts b/src/core/packages/security/server/src/authentication/api_keys/index.ts similarity index 100% rename from packages/core/security/core-security-server/src/authentication/api_keys/index.ts rename to src/core/packages/security/server/src/authentication/api_keys/index.ts diff --git a/packages/core/security/core-security-server/src/contracts.ts b/src/core/packages/security/server/src/contracts.ts similarity index 100% rename from packages/core/security/core-security-server/src/contracts.ts rename to src/core/packages/security/server/src/contracts.ts diff --git a/packages/core/security/core-security-server/src/fips.ts b/src/core/packages/security/server/src/fips.ts similarity index 100% rename from packages/core/security/core-security-server/src/fips.ts rename to src/core/packages/security/server/src/fips.ts diff --git a/packages/core/security/core-security-server/src/request_handler_context.ts b/src/core/packages/security/server/src/request_handler_context.ts similarity index 100% rename from packages/core/security/core-security-server/src/request_handler_context.ts rename to src/core/packages/security/server/src/request_handler_context.ts diff --git a/packages/core/security/core-security-server/src/roles/index.ts b/src/core/packages/security/server/src/roles/index.ts similarity index 100% rename from packages/core/security/core-security-server/src/roles/index.ts rename to src/core/packages/security/server/src/roles/index.ts diff --git a/packages/core/security/core-security-server/src/roles/schema.ts b/src/core/packages/security/server/src/roles/schema.ts similarity index 100% rename from packages/core/security/core-security-server/src/roles/schema.ts rename to src/core/packages/security/server/src/roles/schema.ts diff --git a/packages/core/security/core-security-server/tsconfig.json b/src/core/packages/security/server/tsconfig.json similarity index 85% rename from packages/core/security/core-security-server/tsconfig.json rename to src/core/packages/security/server/tsconfig.json index 0304c8ef6dee2..393e73afe9e7e 100644 --- a/packages/core/security/core-security-server/tsconfig.json +++ b/src/core/packages/security/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/status/core-status-common/README.md b/src/core/packages/status/common/README.md similarity index 100% rename from packages/core/status/core-status-common/README.md rename to src/core/packages/status/common/README.md diff --git a/packages/core/status/core-status-common/index.ts b/src/core/packages/status/common/index.ts similarity index 100% rename from packages/core/status/core-status-common/index.ts rename to src/core/packages/status/common/index.ts diff --git a/src/core/packages/status/common/jest.config.js b/src/core/packages/status/common/jest.config.js new file mode 100644 index 0000000000000..a85918b7e4256 --- /dev/null +++ b/src/core/packages/status/common/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/status/common'], +}; diff --git a/packages/core/status/core-status-common/kibana.jsonc b/src/core/packages/status/common/kibana.jsonc similarity index 100% rename from packages/core/status/core-status-common/kibana.jsonc rename to src/core/packages/status/common/kibana.jsonc diff --git a/packages/core/status/core-status-common/package.json b/src/core/packages/status/common/package.json similarity index 100% rename from packages/core/status/core-status-common/package.json rename to src/core/packages/status/common/package.json diff --git a/packages/core/status/core-status-common/src/core_status.ts b/src/core/packages/status/common/src/core_status.ts similarity index 100% rename from packages/core/status/core-status-common/src/core_status.ts rename to src/core/packages/status/common/src/core_status.ts diff --git a/packages/core/status/core-status-common/src/service_status.ts b/src/core/packages/status/common/src/service_status.ts similarity index 100% rename from packages/core/status/core-status-common/src/service_status.ts rename to src/core/packages/status/common/src/service_status.ts diff --git a/packages/core/status/core-status-common/src/status.ts b/src/core/packages/status/common/src/status.ts similarity index 100% rename from packages/core/status/core-status-common/src/status.ts rename to src/core/packages/status/common/src/status.ts diff --git a/packages/core/status/core-status-common/tsconfig.json b/src/core/packages/status/common/tsconfig.json similarity index 85% rename from packages/core/status/core-status-common/tsconfig.json rename to src/core/packages/status/common/tsconfig.json index 3b61a574a06bb..97b67960ffb87 100644 --- a/packages/core/status/core-status-common/tsconfig.json +++ b/src/core/packages/status/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/status/core-status-server-internal/README.md b/src/core/packages/status/server-internal/README.md similarity index 100% rename from packages/core/status/core-status-server-internal/README.md rename to src/core/packages/status/server-internal/README.md diff --git a/packages/core/status/core-status-server-internal/index.ts b/src/core/packages/status/server-internal/index.ts similarity index 100% rename from packages/core/status/core-status-server-internal/index.ts rename to src/core/packages/status/server-internal/index.ts diff --git a/src/core/packages/status/server-internal/jest.config.js b/src/core/packages/status/server-internal/jest.config.js new file mode 100644 index 0000000000000..28641e77736e3 --- /dev/null +++ b/src/core/packages/status/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/status/server-internal'], +}; diff --git a/packages/core/status/core-status-server-internal/kibana.jsonc b/src/core/packages/status/server-internal/kibana.jsonc similarity index 100% rename from packages/core/status/core-status-server-internal/kibana.jsonc rename to src/core/packages/status/server-internal/kibana.jsonc diff --git a/packages/core/status/core-status-server-internal/package.json b/src/core/packages/status/server-internal/package.json similarity index 100% rename from packages/core/status/core-status-server-internal/package.json rename to src/core/packages/status/server-internal/package.json diff --git a/packages/core/status/core-status-server-internal/src/cached_plugins_status.ts b/src/core/packages/status/server-internal/src/cached_plugins_status.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/cached_plugins_status.ts rename to src/core/packages/status/server-internal/src/cached_plugins_status.ts diff --git a/packages/core/status/core-status-server-internal/src/get_summary_status.test.ts b/src/core/packages/status/server-internal/src/get_summary_status.test.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/get_summary_status.test.ts rename to src/core/packages/status/server-internal/src/get_summary_status.test.ts diff --git a/packages/core/status/core-status-server-internal/src/get_summary_status.ts b/src/core/packages/status/server-internal/src/get_summary_status.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/get_summary_status.ts rename to src/core/packages/status/server-internal/src/get_summary_status.ts diff --git a/packages/core/status/core-status-server-internal/src/index.ts b/src/core/packages/status/server-internal/src/index.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/index.ts rename to src/core/packages/status/server-internal/src/index.ts diff --git a/packages/core/status/core-status-server-internal/src/legacy_status.test.ts b/src/core/packages/status/server-internal/src/legacy_status.test.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/legacy_status.test.ts rename to src/core/packages/status/server-internal/src/legacy_status.test.ts diff --git a/packages/core/status/core-status-server-internal/src/legacy_status.ts b/src/core/packages/status/server-internal/src/legacy_status.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/legacy_status.ts rename to src/core/packages/status/server-internal/src/legacy_status.ts diff --git a/packages/core/status/core-status-server-internal/src/log_core_services_status.test.ts b/src/core/packages/status/server-internal/src/log_core_services_status.test.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/log_core_services_status.test.ts rename to src/core/packages/status/server-internal/src/log_core_services_status.test.ts diff --git a/packages/core/status/core-status-server-internal/src/log_core_services_status.ts b/src/core/packages/status/server-internal/src/log_core_services_status.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/log_core_services_status.ts rename to src/core/packages/status/server-internal/src/log_core_services_status.ts diff --git a/packages/core/status/core-status-server-internal/src/log_overall_status.test.ts b/src/core/packages/status/server-internal/src/log_overall_status.test.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/log_overall_status.test.ts rename to src/core/packages/status/server-internal/src/log_overall_status.test.ts diff --git a/packages/core/status/core-status-server-internal/src/log_overall_status.ts b/src/core/packages/status/server-internal/src/log_overall_status.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/log_overall_status.ts rename to src/core/packages/status/server-internal/src/log_overall_status.ts diff --git a/packages/core/status/core-status-server-internal/src/log_plugins_status.test.ts b/src/core/packages/status/server-internal/src/log_plugins_status.test.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/log_plugins_status.test.ts rename to src/core/packages/status/server-internal/src/log_plugins_status.test.ts diff --git a/packages/core/status/core-status-server-internal/src/log_plugins_status.ts b/src/core/packages/status/server-internal/src/log_plugins_status.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/log_plugins_status.ts rename to src/core/packages/status/server-internal/src/log_plugins_status.ts diff --git a/packages/core/status/core-status-server-internal/src/plugins_status.test.ts b/src/core/packages/status/server-internal/src/plugins_status.test.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/plugins_status.test.ts rename to src/core/packages/status/server-internal/src/plugins_status.test.ts diff --git a/packages/core/status/core-status-server-internal/src/plugins_status.ts b/src/core/packages/status/server-internal/src/plugins_status.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/plugins_status.ts rename to src/core/packages/status/server-internal/src/plugins_status.ts diff --git a/packages/core/status/core-status-server-internal/src/routes/index.ts b/src/core/packages/status/server-internal/src/routes/index.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/routes/index.ts rename to src/core/packages/status/server-internal/src/routes/index.ts diff --git a/packages/core/status/core-status-server-internal/src/routes/status.ts b/src/core/packages/status/server-internal/src/routes/status.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/routes/status.ts rename to src/core/packages/status/server-internal/src/routes/status.ts diff --git a/packages/core/status/core-status-server-internal/src/routes/status_preboot.ts b/src/core/packages/status/server-internal/src/routes/status_preboot.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/routes/status_preboot.ts rename to src/core/packages/status/server-internal/src/routes/status_preboot.ts diff --git a/packages/core/status/core-status-server-internal/src/routes/status_response_schemas.ts b/src/core/packages/status/server-internal/src/routes/status_response_schemas.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/routes/status_response_schemas.ts rename to src/core/packages/status/server-internal/src/routes/status_response_schemas.ts diff --git a/packages/core/status/core-status-server-internal/src/status_config.ts b/src/core/packages/status/server-internal/src/status_config.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/status_config.ts rename to src/core/packages/status/server-internal/src/status_config.ts diff --git a/packages/core/status/core-status-server-internal/src/status_service.test.mocks.ts b/src/core/packages/status/server-internal/src/status_service.test.mocks.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/status_service.test.mocks.ts rename to src/core/packages/status/server-internal/src/status_service.test.mocks.ts diff --git a/packages/core/status/core-status-server-internal/src/status_service.test.ts b/src/core/packages/status/server-internal/src/status_service.test.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/status_service.test.ts rename to src/core/packages/status/server-internal/src/status_service.test.ts diff --git a/packages/core/status/core-status-server-internal/src/status_service.ts b/src/core/packages/status/server-internal/src/status_service.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/status_service.ts rename to src/core/packages/status/server-internal/src/status_service.ts diff --git a/packages/core/status/core-status-server-internal/src/test_helpers/index.ts b/src/core/packages/status/server-internal/src/test_helpers/index.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/test_helpers/index.ts rename to src/core/packages/status/server-internal/src/test_helpers/index.ts diff --git a/packages/core/status/core-status-server-internal/src/test_helpers/test_utils.ts b/src/core/packages/status/server-internal/src/test_helpers/test_utils.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/test_helpers/test_utils.ts rename to src/core/packages/status/server-internal/src/test_helpers/test_utils.ts diff --git a/packages/core/status/core-status-server-internal/src/types.ts b/src/core/packages/status/server-internal/src/types.ts similarity index 100% rename from packages/core/status/core-status-server-internal/src/types.ts rename to src/core/packages/status/server-internal/src/types.ts diff --git a/packages/core/status/core-status-server-internal/tsconfig.json b/src/core/packages/status/server-internal/tsconfig.json similarity index 96% rename from packages/core/status/core-status-server-internal/tsconfig.json rename to src/core/packages/status/server-internal/tsconfig.json index 5ca46556cac33..a52619e10222f 100644 --- a/packages/core/status/core-status-server-internal/tsconfig.json +++ b/src/core/packages/status/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/status/core-status-server/README.md b/src/core/packages/status/server/README.md similarity index 100% rename from packages/core/status/core-status-server/README.md rename to src/core/packages/status/server/README.md diff --git a/packages/core/status/core-status-server/index.ts b/src/core/packages/status/server/index.ts similarity index 100% rename from packages/core/status/core-status-server/index.ts rename to src/core/packages/status/server/index.ts diff --git a/packages/kbn-es-errors/jest.config.js b/src/core/packages/status/server/jest.config.js similarity index 86% rename from packages/kbn-es-errors/jest.config.js rename to src/core/packages/status/server/jest.config.js index 248fb8e70af56..1fbf49df94ba5 100644 --- a/packages/kbn-es-errors/jest.config.js +++ b/src/core/packages/status/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-es-errors'], + rootDir: '../../../../..', + roots: ['/src/core/packages/status/server'], }; diff --git a/packages/core/status/core-status-server/kibana.jsonc b/src/core/packages/status/server/kibana.jsonc similarity index 100% rename from packages/core/status/core-status-server/kibana.jsonc rename to src/core/packages/status/server/kibana.jsonc diff --git a/packages/core/status/core-status-server/package.json b/src/core/packages/status/server/package.json similarity index 100% rename from packages/core/status/core-status-server/package.json rename to src/core/packages/status/server/package.json diff --git a/packages/core/status/core-status-server/src/contracts.ts b/src/core/packages/status/server/src/contracts.ts similarity index 100% rename from packages/core/status/core-status-server/src/contracts.ts rename to src/core/packages/status/server/src/contracts.ts diff --git a/packages/core/status/core-status-server/src/index.ts b/src/core/packages/status/server/src/index.ts similarity index 100% rename from packages/core/status/core-status-server/src/index.ts rename to src/core/packages/status/server/src/index.ts diff --git a/packages/core/status/core-status-server/tsconfig.json b/src/core/packages/status/server/tsconfig.json similarity index 82% rename from packages/core/status/core-status-server/tsconfig.json rename to src/core/packages/status/server/tsconfig.json index f1268b704981a..c13400e3a004d 100644 --- a/packages/core/status/core-status-server/tsconfig.json +++ b/src/core/packages/status/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/README.md b/src/core/packages/test-helpers/deprecations-getters/README.md similarity index 100% rename from packages/core/test-helpers/core-test-helpers-deprecations-getters/README.md rename to src/core/packages/test-helpers/deprecations-getters/README.md diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/index.ts b/src/core/packages/test-helpers/deprecations-getters/index.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-deprecations-getters/index.ts rename to src/core/packages/test-helpers/deprecations-getters/index.ts diff --git a/src/core/packages/test-helpers/deprecations-getters/jest.config.js b/src/core/packages/test-helpers/deprecations-getters/jest.config.js new file mode 100644 index 0000000000000..0f55cdadc7687 --- /dev/null +++ b/src/core/packages/test-helpers/deprecations-getters/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/test-helpers/deprecations-getters'], +}; diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/kibana.jsonc b/src/core/packages/test-helpers/deprecations-getters/kibana.jsonc similarity index 100% rename from packages/core/test-helpers/core-test-helpers-deprecations-getters/kibana.jsonc rename to src/core/packages/test-helpers/deprecations-getters/kibana.jsonc diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/package.json b/src/core/packages/test-helpers/deprecations-getters/package.json similarity index 100% rename from packages/core/test-helpers/core-test-helpers-deprecations-getters/package.json rename to src/core/packages/test-helpers/deprecations-getters/package.json diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/src/deprecations_getters.ts b/src/core/packages/test-helpers/deprecations-getters/src/deprecations_getters.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-deprecations-getters/src/deprecations_getters.ts rename to src/core/packages/test-helpers/deprecations-getters/src/deprecations_getters.ts diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/tsconfig.json b/src/core/packages/test-helpers/deprecations-getters/tsconfig.json similarity index 84% rename from packages/core/test-helpers/core-test-helpers-deprecations-getters/tsconfig.json rename to src/core/packages/test-helpers/deprecations-getters/tsconfig.json index 709b092761e40..3949ce34ea573 100644 --- a/packages/core/test-helpers/core-test-helpers-deprecations-getters/tsconfig.json +++ b/src/core/packages/test-helpers/deprecations-getters/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/README.md b/src/core/packages/test-helpers/http-setup-browser/README.md similarity index 100% rename from packages/core/test-helpers/core-test-helpers-http-setup-browser/README.md rename to src/core/packages/test-helpers/http-setup-browser/README.md diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/index.ts b/src/core/packages/test-helpers/http-setup-browser/index.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-http-setup-browser/index.ts rename to src/core/packages/test-helpers/http-setup-browser/index.ts diff --git a/src/core/packages/test-helpers/http-setup-browser/jest.config.js b/src/core/packages/test-helpers/http-setup-browser/jest.config.js new file mode 100644 index 0000000000000..2b08b1f014a16 --- /dev/null +++ b/src/core/packages/test-helpers/http-setup-browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/test-helpers/http-setup-browser'], +}; diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/kibana.jsonc b/src/core/packages/test-helpers/http-setup-browser/kibana.jsonc similarity index 100% rename from packages/core/test-helpers/core-test-helpers-http-setup-browser/kibana.jsonc rename to src/core/packages/test-helpers/http-setup-browser/kibana.jsonc diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/package.json b/src/core/packages/test-helpers/http-setup-browser/package.json similarity index 100% rename from packages/core/test-helpers/core-test-helpers-http-setup-browser/package.json rename to src/core/packages/test-helpers/http-setup-browser/package.json diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/src/http_test_setup.ts b/src/core/packages/test-helpers/http-setup-browser/src/http_test_setup.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-http-setup-browser/src/http_test_setup.ts rename to src/core/packages/test-helpers/http-setup-browser/src/http_test_setup.ts diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/tsconfig.json b/src/core/packages/test-helpers/http-setup-browser/tsconfig.json similarity index 88% rename from packages/core/test-helpers/core-test-helpers-http-setup-browser/tsconfig.json rename to src/core/packages/test-helpers/http-setup-browser/tsconfig.json index 50f950223c66c..59012dd7715e8 100644 --- a/packages/core/test-helpers/core-test-helpers-http-setup-browser/tsconfig.json +++ b/src/core/packages/test-helpers/http-setup-browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/README.md b/src/core/packages/test-helpers/so-type-serializer/README.md similarity index 100% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/README.md rename to src/core/packages/test-helpers/so-type-serializer/README.md diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/index.ts b/src/core/packages/test-helpers/so-type-serializer/index.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/index.ts rename to src/core/packages/test-helpers/so-type-serializer/index.ts diff --git a/packages/core/deprecations/core-deprecations-server/jest.config.js b/src/core/packages/test-helpers/so-type-serializer/jest.config.js similarity index 83% rename from packages/core/deprecations/core-deprecations-server/jest.config.js rename to src/core/packages/test-helpers/so-type-serializer/jest.config.js index b8a324fd515e6..e83f3d54e5142 100644 --- a/packages/core/deprecations/core-deprecations-server/jest.config.js +++ b/src/core/packages/test-helpers/so-type-serializer/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/deprecations/core-deprecations-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/test-helpers/so-type-serializer'], }; diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/kibana.jsonc b/src/core/packages/test-helpers/so-type-serializer/kibana.jsonc similarity index 100% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/kibana.jsonc rename to src/core/packages/test-helpers/so-type-serializer/kibana.jsonc diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/package.json b/src/core/packages/test-helpers/so-type-serializer/package.json similarity index 100% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/package.json rename to src/core/packages/test-helpers/so-type-serializer/package.json diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/src/extract_migration_info.test.ts b/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.test.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/src/extract_migration_info.test.ts rename to src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.test.ts diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/src/extract_migration_info.ts b/src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/src/extract_migration_info.ts rename to src/core/packages/test-helpers/so-type-serializer/src/extract_migration_info.ts diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/src/get_migration_hash.test.ts b/src/core/packages/test-helpers/so-type-serializer/src/get_migration_hash.test.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/src/get_migration_hash.test.ts rename to src/core/packages/test-helpers/so-type-serializer/src/get_migration_hash.test.ts diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/src/get_migration_hash.ts b/src/core/packages/test-helpers/so-type-serializer/src/get_migration_hash.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/src/get_migration_hash.ts rename to src/core/packages/test-helpers/so-type-serializer/src/get_migration_hash.ts diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/tsconfig.json b/src/core/packages/test-helpers/so-type-serializer/tsconfig.json similarity index 88% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/tsconfig.json rename to src/core/packages/test-helpers/so-type-serializer/tsconfig.json index 1587301a55138..dcafa2c80ed4e 100644 --- a/packages/core/test-helpers/core-test-helpers-so-type-serializer/tsconfig.json +++ b/src/core/packages/test-helpers/so-type-serializer/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/README.md b/src/core/packages/test-helpers/test-utils/README.md similarity index 100% rename from packages/core/test-helpers/core-test-helpers-test-utils/README.md rename to src/core/packages/test-helpers/test-utils/README.md diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/index.ts b/src/core/packages/test-helpers/test-utils/index.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-test-utils/index.ts rename to src/core/packages/test-helpers/test-utils/index.ts diff --git a/src/core/packages/test-helpers/test-utils/jest.config.js b/src/core/packages/test-helpers/test-utils/jest.config.js new file mode 100644 index 0000000000000..e1c3f460a1163 --- /dev/null +++ b/src/core/packages/test-helpers/test-utils/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/test-helpers/test-utils'], +}; diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/kibana.jsonc b/src/core/packages/test-helpers/test-utils/kibana.jsonc similarity index 100% rename from packages/core/test-helpers/core-test-helpers-test-utils/kibana.jsonc rename to src/core/packages/test-helpers/test-utils/kibana.jsonc diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/package.json b/src/core/packages/test-helpers/test-utils/package.json similarity index 100% rename from packages/core/test-helpers/core-test-helpers-test-utils/package.json rename to src/core/packages/test-helpers/test-utils/package.json diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/src/create_exportable_type.ts b/src/core/packages/test-helpers/test-utils/src/create_exportable_type.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-test-utils/src/create_exportable_type.ts rename to src/core/packages/test-helpers/test-utils/src/create_exportable_type.ts diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/src/create_hidden_type_variants.ts b/src/core/packages/test-helpers/test-utils/src/create_hidden_type_variants.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-test-utils/src/create_hidden_type_variants.ts rename to src/core/packages/test-helpers/test-utils/src/create_hidden_type_variants.ts diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/src/setup_server.ts b/src/core/packages/test-helpers/test-utils/src/setup_server.ts similarity index 100% rename from packages/core/test-helpers/core-test-helpers-test-utils/src/setup_server.ts rename to src/core/packages/test-helpers/test-utils/src/setup_server.ts diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/tsconfig.json b/src/core/packages/test-helpers/test-utils/tsconfig.json similarity index 93% rename from packages/core/test-helpers/core-test-helpers-test-utils/tsconfig.json rename to src/core/packages/test-helpers/test-utils/tsconfig.json index 6f63745884070..2d75b4355a948 100644 --- a/packages/core/test-helpers/core-test-helpers-test-utils/tsconfig.json +++ b/src/core/packages/test-helpers/test-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/theme/core-theme-browser-internal/README.md b/src/core/packages/theme/browser-internal/README.md similarity index 100% rename from packages/core/theme/core-theme-browser-internal/README.md rename to src/core/packages/theme/browser-internal/README.md diff --git a/packages/core/theme/core-theme-browser-internal/index.ts b/src/core/packages/theme/browser-internal/index.ts similarity index 100% rename from packages/core/theme/core-theme-browser-internal/index.ts rename to src/core/packages/theme/browser-internal/index.ts diff --git a/src/core/packages/theme/browser-internal/jest.config.js b/src/core/packages/theme/browser-internal/jest.config.js new file mode 100644 index 0000000000000..0fdeacefc9495 --- /dev/null +++ b/src/core/packages/theme/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/theme/browser-internal'], +}; diff --git a/packages/core/theme/core-theme-browser-internal/kibana.jsonc b/src/core/packages/theme/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/theme/core-theme-browser-internal/kibana.jsonc rename to src/core/packages/theme/browser-internal/kibana.jsonc diff --git a/packages/core/theme/core-theme-browser-internal/package.json b/src/core/packages/theme/browser-internal/package.json similarity index 100% rename from packages/core/theme/core-theme-browser-internal/package.json rename to src/core/packages/theme/browser-internal/package.json diff --git a/packages/core/theme/core-theme-browser-internal/src/core_theme_provider.test.tsx b/src/core/packages/theme/browser-internal/src/core_theme_provider.test.tsx similarity index 100% rename from packages/core/theme/core-theme-browser-internal/src/core_theme_provider.test.tsx rename to src/core/packages/theme/browser-internal/src/core_theme_provider.test.tsx diff --git a/packages/core/theme/core-theme-browser-internal/src/core_theme_provider.tsx b/src/core/packages/theme/browser-internal/src/core_theme_provider.tsx similarity index 100% rename from packages/core/theme/core-theme-browser-internal/src/core_theme_provider.tsx rename to src/core/packages/theme/browser-internal/src/core_theme_provider.tsx diff --git a/packages/core/theme/core-theme-browser-internal/src/system_theme.ts b/src/core/packages/theme/browser-internal/src/system_theme.ts similarity index 100% rename from packages/core/theme/core-theme-browser-internal/src/system_theme.ts rename to src/core/packages/theme/browser-internal/src/system_theme.ts diff --git a/packages/core/theme/core-theme-browser-internal/src/theme_service.test.mocks.ts b/src/core/packages/theme/browser-internal/src/theme_service.test.mocks.ts similarity index 100% rename from packages/core/theme/core-theme-browser-internal/src/theme_service.test.mocks.ts rename to src/core/packages/theme/browser-internal/src/theme_service.test.mocks.ts diff --git a/packages/core/theme/core-theme-browser-internal/src/theme_service.test.ts b/src/core/packages/theme/browser-internal/src/theme_service.test.ts similarity index 100% rename from packages/core/theme/core-theme-browser-internal/src/theme_service.test.ts rename to src/core/packages/theme/browser-internal/src/theme_service.test.ts diff --git a/packages/core/theme/core-theme-browser-internal/src/theme_service.ts b/src/core/packages/theme/browser-internal/src/theme_service.ts similarity index 100% rename from packages/core/theme/core-theme-browser-internal/src/theme_service.ts rename to src/core/packages/theme/browser-internal/src/theme_service.ts diff --git a/packages/core/theme/core-theme-browser-internal/src/utils.ts b/src/core/packages/theme/browser-internal/src/utils.ts similarity index 100% rename from packages/core/theme/core-theme-browser-internal/src/utils.ts rename to src/core/packages/theme/browser-internal/src/utils.ts diff --git a/packages/core/theme/core-theme-browser-internal/tsconfig.json b/src/core/packages/theme/browser-internal/tsconfig.json similarity index 92% rename from packages/core/theme/core-theme-browser-internal/tsconfig.json rename to src/core/packages/theme/browser-internal/tsconfig.json index 0289639ddbf83..7f3a17576fad8 100644 --- a/packages/core/theme/core-theme-browser-internal/tsconfig.json +++ b/src/core/packages/theme/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/theme/core-theme-browser/README.md b/src/core/packages/theme/browser/README.md similarity index 100% rename from packages/core/theme/core-theme-browser/README.md rename to src/core/packages/theme/browser/README.md diff --git a/packages/core/theme/core-theme-browser/index.ts b/src/core/packages/theme/browser/index.ts similarity index 100% rename from packages/core/theme/core-theme-browser/index.ts rename to src/core/packages/theme/browser/index.ts diff --git a/src/core/packages/theme/browser/jest.config.js b/src/core/packages/theme/browser/jest.config.js new file mode 100644 index 0000000000000..b8d8fafa43b16 --- /dev/null +++ b/src/core/packages/theme/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/theme/browser'], +}; diff --git a/packages/core/theme/core-theme-browser/kibana.jsonc b/src/core/packages/theme/browser/kibana.jsonc similarity index 100% rename from packages/core/theme/core-theme-browser/kibana.jsonc rename to src/core/packages/theme/browser/kibana.jsonc diff --git a/packages/core/theme/core-theme-browser/package.json b/src/core/packages/theme/browser/package.json similarity index 100% rename from packages/core/theme/core-theme-browser/package.json rename to src/core/packages/theme/browser/package.json diff --git a/packages/core/theme/core-theme-browser/src/types.ts b/src/core/packages/theme/browser/src/types.ts similarity index 100% rename from packages/core/theme/core-theme-browser/src/types.ts rename to src/core/packages/theme/browser/src/types.ts diff --git a/src/core/packages/theme/browser/tsconfig.json b/src/core/packages/theme/browser/tsconfig.json new file mode 100644 index 0000000000000..131ff3e6bb433 --- /dev/null +++ b/src/core/packages/theme/browser/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/README.md b/src/core/packages/usage-data/base-server-internal/README.md similarity index 100% rename from packages/core/usage-data/core-usage-data-base-server-internal/README.md rename to src/core/packages/usage-data/base-server-internal/README.md diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/index.ts b/src/core/packages/usage-data/base-server-internal/index.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-base-server-internal/index.ts rename to src/core/packages/usage-data/base-server-internal/index.ts diff --git a/packages/core/capabilities/core-capabilities-server/jest.config.js b/src/core/packages/usage-data/base-server-internal/jest.config.js similarity index 83% rename from packages/core/capabilities/core-capabilities-server/jest.config.js rename to src/core/packages/usage-data/base-server-internal/jest.config.js index 5f711b34aa83d..2bad8ace3cb93 100644 --- a/packages/core/capabilities/core-capabilities-server/jest.config.js +++ b/src/core/packages/usage-data/base-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/capabilities/core-capabilities-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/usage-data/base-server-internal'], }; diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/kibana.jsonc b/src/core/packages/usage-data/base-server-internal/kibana.jsonc similarity index 100% rename from packages/core/usage-data/core-usage-data-base-server-internal/kibana.jsonc rename to src/core/packages/usage-data/base-server-internal/kibana.jsonc diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/package.json b/src/core/packages/usage-data/base-server-internal/package.json similarity index 100% rename from packages/core/usage-data/core-usage-data-base-server-internal/package.json rename to src/core/packages/usage-data/base-server-internal/package.json diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/src/constants.ts b/src/core/packages/usage-data/base-server-internal/src/constants.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-base-server-internal/src/constants.ts rename to src/core/packages/usage-data/base-server-internal/src/constants.ts diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/src/index.ts b/src/core/packages/usage-data/base-server-internal/src/index.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-base-server-internal/src/index.ts rename to src/core/packages/usage-data/base-server-internal/src/index.ts diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/src/internal_contract.ts b/src/core/packages/usage-data/base-server-internal/src/internal_contract.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-base-server-internal/src/internal_contract.ts rename to src/core/packages/usage-data/base-server-internal/src/internal_contract.ts diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/src/usage_stats_client.ts b/src/core/packages/usage-data/base-server-internal/src/usage_stats_client.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-base-server-internal/src/usage_stats_client.ts rename to src/core/packages/usage-data/base-server-internal/src/usage_stats_client.ts diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/tsconfig.json b/src/core/packages/usage-data/base-server-internal/tsconfig.json similarity index 86% rename from packages/core/usage-data/core-usage-data-base-server-internal/tsconfig.json rename to src/core/packages/usage-data/base-server-internal/tsconfig.json index cfcefb9833f7f..1aa30aa898a9f 100644 --- a/packages/core/usage-data/core-usage-data-base-server-internal/tsconfig.json +++ b/src/core/packages/usage-data/base-server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/usage-data/core-usage-data-server-internal/README.md b/src/core/packages/usage-data/server-internal/README.md similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/README.md rename to src/core/packages/usage-data/server-internal/README.md diff --git a/packages/core/usage-data/core-usage-data-server-internal/index.ts b/src/core/packages/usage-data/server-internal/index.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/index.ts rename to src/core/packages/usage-data/server-internal/index.ts diff --git a/packages/core/i18n/core-i18n-server-internal/jest.config.js b/src/core/packages/usage-data/server-internal/jest.config.js similarity index 85% rename from packages/core/i18n/core-i18n-server-internal/jest.config.js rename to src/core/packages/usage-data/server-internal/jest.config.js index 561d36c0739d2..88f6f492bf766 100644 --- a/packages/core/i18n/core-i18n-server-internal/jest.config.js +++ b/src/core/packages/usage-data/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/i18n/core-i18n-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/usage-data/server-internal'], }; diff --git a/packages/core/usage-data/core-usage-data-server-internal/kibana.jsonc b/src/core/packages/usage-data/server-internal/kibana.jsonc similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/kibana.jsonc rename to src/core/packages/usage-data/server-internal/kibana.jsonc diff --git a/packages/core/usage-data/core-usage-data-server-internal/package.json b/src/core/packages/usage-data/server-internal/package.json similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/package.json rename to src/core/packages/usage-data/server-internal/package.json diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.test.ts b/src/core/packages/usage-data/server-internal/src/core_usage_data_service.test.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.test.ts rename to src/core/packages/usage-data/server-internal/src/core_usage_data_service.test.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts b/src/core/packages/usage-data/server-internal/src/core_usage_data_service.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts rename to src/core/packages/usage-data/server-internal/src/core_usage_data_service.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_stats_client.test.ts b/src/core/packages/usage-data/server-internal/src/core_usage_stats_client.test.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/core_usage_stats_client.test.ts rename to src/core/packages/usage-data/server-internal/src/core_usage_stats_client.test.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_stats_client.ts b/src/core/packages/usage-data/server-internal/src/core_usage_stats_client.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/core_usage_stats_client.ts rename to src/core/packages/usage-data/server-internal/src/core_usage_stats_client.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/index.ts b/src/core/packages/usage-data/server-internal/src/index.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/index.ts rename to src/core/packages/usage-data/server-internal/src/index.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/is_configured.test.ts b/src/core/packages/usage-data/server-internal/src/is_configured.test.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/is_configured.test.ts rename to src/core/packages/usage-data/server-internal/src/is_configured.test.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/is_configured.ts b/src/core/packages/usage-data/server-internal/src/is_configured.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/is_configured.ts rename to src/core/packages/usage-data/server-internal/src/is_configured.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/saved_objects/core_usage_stats.ts b/src/core/packages/usage-data/server-internal/src/saved_objects/core_usage_stats.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/saved_objects/core_usage_stats.ts rename to src/core/packages/usage-data/server-internal/src/saved_objects/core_usage_stats.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/saved_objects/index.ts b/src/core/packages/usage-data/server-internal/src/saved_objects/index.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/saved_objects/index.ts rename to src/core/packages/usage-data/server-internal/src/saved_objects/index.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/saved_objects/migrations.test.ts b/src/core/packages/usage-data/server-internal/src/saved_objects/migrations.test.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/saved_objects/migrations.test.ts rename to src/core/packages/usage-data/server-internal/src/saved_objects/migrations.test.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/src/saved_objects/migrations.ts b/src/core/packages/usage-data/server-internal/src/saved_objects/migrations.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server-internal/src/saved_objects/migrations.ts rename to src/core/packages/usage-data/server-internal/src/saved_objects/migrations.ts diff --git a/packages/core/usage-data/core-usage-data-server-internal/tsconfig.json b/src/core/packages/usage-data/server-internal/tsconfig.json similarity index 95% rename from packages/core/usage-data/core-usage-data-server-internal/tsconfig.json rename to src/core/packages/usage-data/server-internal/tsconfig.json index 51b42f8df7736..0ce80ab998d66 100644 --- a/packages/core/usage-data/core-usage-data-server-internal/tsconfig.json +++ b/src/core/packages/usage-data/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/usage-data/core-usage-data-server/README.md b/src/core/packages/usage-data/server/README.md similarity index 100% rename from packages/core/usage-data/core-usage-data-server/README.md rename to src/core/packages/usage-data/server/README.md diff --git a/packages/core/usage-data/core-usage-data-server/index.ts b/src/core/packages/usage-data/server/index.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server/index.ts rename to src/core/packages/usage-data/server/index.ts diff --git a/src/core/packages/usage-data/server/jest.config.js b/src/core/packages/usage-data/server/jest.config.js new file mode 100644 index 0000000000000..30c3499892e64 --- /dev/null +++ b/src/core/packages/usage-data/server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/usage-data/server'], +}; diff --git a/packages/core/usage-data/core-usage-data-server/kibana.jsonc b/src/core/packages/usage-data/server/kibana.jsonc similarity index 100% rename from packages/core/usage-data/core-usage-data-server/kibana.jsonc rename to src/core/packages/usage-data/server/kibana.jsonc diff --git a/packages/core/usage-data/core-usage-data-server/package.json b/src/core/packages/usage-data/server/package.json similarity index 100% rename from packages/core/usage-data/core-usage-data-server/package.json rename to src/core/packages/usage-data/server/package.json diff --git a/packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts b/src/core/packages/usage-data/server/src/core_usage_data.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts rename to src/core/packages/usage-data/server/src/core_usage_data.ts diff --git a/packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts b/src/core/packages/usage-data/server/src/core_usage_stats.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts rename to src/core/packages/usage-data/server/src/core_usage_stats.ts diff --git a/packages/core/usage-data/core-usage-data-server/src/index.ts b/src/core/packages/usage-data/server/src/index.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server/src/index.ts rename to src/core/packages/usage-data/server/src/index.ts diff --git a/packages/core/usage-data/core-usage-data-server/src/setup_contract.ts b/src/core/packages/usage-data/server/src/setup_contract.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server/src/setup_contract.ts rename to src/core/packages/usage-data/server/src/setup_contract.ts diff --git a/packages/core/usage-data/core-usage-data-server/src/start_contract.ts b/src/core/packages/usage-data/server/src/start_contract.ts similarity index 100% rename from packages/core/usage-data/core-usage-data-server/src/start_contract.ts rename to src/core/packages/usage-data/server/src/start_contract.ts diff --git a/packages/core/usage-data/core-usage-data-server/tsconfig.json b/src/core/packages/usage-data/server/tsconfig.json similarity index 83% rename from packages/core/usage-data/core-usage-data-server/tsconfig.json rename to src/core/packages/usage-data/server/tsconfig.json index 83abb04d150ac..2896a58de9e33 100644 --- a/packages/core/usage-data/core-usage-data-server/tsconfig.json +++ b/src/core/packages/usage-data/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-profile/core-user-profile-browser-internal/README.md b/src/core/packages/user-profile/browser-internal/README.md similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/README.md rename to src/core/packages/user-profile/browser-internal/README.md diff --git a/packages/core/user-profile/core-user-profile-browser-internal/index.ts b/src/core/packages/user-profile/browser-internal/index.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/index.ts rename to src/core/packages/user-profile/browser-internal/index.ts diff --git a/src/core/packages/user-profile/browser-internal/jest.config.js b/src/core/packages/user-profile/browser-internal/jest.config.js new file mode 100644 index 0000000000000..114e8aa2533dd --- /dev/null +++ b/src/core/packages/user-profile/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/user-profile/browser-internal'], +}; diff --git a/packages/core/user-profile/core-user-profile-browser-internal/kibana.jsonc b/src/core/packages/user-profile/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/kibana.jsonc rename to src/core/packages/user-profile/browser-internal/kibana.jsonc diff --git a/packages/core/user-profile/core-user-profile-browser-internal/package.json b/src/core/packages/user-profile/browser-internal/package.json similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/package.json rename to src/core/packages/user-profile/browser-internal/package.json diff --git a/packages/core/user-profile/core-user-profile-browser-internal/src/internal_contracts.ts b/src/core/packages/user-profile/browser-internal/src/internal_contracts.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/src/internal_contracts.ts rename to src/core/packages/user-profile/browser-internal/src/internal_contracts.ts diff --git a/packages/core/user-profile/core-user-profile-browser-internal/src/user_profile_service.test.mocks.ts b/src/core/packages/user-profile/browser-internal/src/user_profile_service.test.mocks.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/src/user_profile_service.test.mocks.ts rename to src/core/packages/user-profile/browser-internal/src/user_profile_service.test.mocks.ts diff --git a/packages/core/user-profile/core-user-profile-browser-internal/src/user_profile_service.test.ts b/src/core/packages/user-profile/browser-internal/src/user_profile_service.test.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/src/user_profile_service.test.ts rename to src/core/packages/user-profile/browser-internal/src/user_profile_service.test.ts diff --git a/packages/core/user-profile/core-user-profile-browser-internal/src/user_profile_service.ts b/src/core/packages/user-profile/browser-internal/src/user_profile_service.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/src/user_profile_service.ts rename to src/core/packages/user-profile/browser-internal/src/user_profile_service.ts diff --git a/packages/core/user-profile/core-user-profile-browser-internal/src/utils/convert_api.test.ts b/src/core/packages/user-profile/browser-internal/src/utils/convert_api.test.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/src/utils/convert_api.test.ts rename to src/core/packages/user-profile/browser-internal/src/utils/convert_api.test.ts diff --git a/packages/core/user-profile/core-user-profile-browser-internal/src/utils/convert_api.ts b/src/core/packages/user-profile/browser-internal/src/utils/convert_api.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/src/utils/convert_api.ts rename to src/core/packages/user-profile/browser-internal/src/utils/convert_api.ts diff --git a/packages/core/user-profile/core-user-profile-browser-internal/src/utils/default_implementation.test.ts b/src/core/packages/user-profile/browser-internal/src/utils/default_implementation.test.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/src/utils/default_implementation.test.ts rename to src/core/packages/user-profile/browser-internal/src/utils/default_implementation.test.ts diff --git a/packages/core/user-profile/core-user-profile-browser-internal/src/utils/default_implementation.ts b/src/core/packages/user-profile/browser-internal/src/utils/default_implementation.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/src/utils/default_implementation.ts rename to src/core/packages/user-profile/browser-internal/src/utils/default_implementation.ts diff --git a/packages/core/user-profile/core-user-profile-browser-internal/src/utils/index.ts b/src/core/packages/user-profile/browser-internal/src/utils/index.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-internal/src/utils/index.ts rename to src/core/packages/user-profile/browser-internal/src/utils/index.ts diff --git a/packages/core/user-profile/core-user-profile-browser-internal/tsconfig.json b/src/core/packages/user-profile/browser-internal/tsconfig.json similarity index 89% rename from packages/core/user-profile/core-user-profile-browser-internal/tsconfig.json rename to src/core/packages/user-profile/browser-internal/tsconfig.json index ab75fcaab6575..74881f4eca265 100644 --- a/packages/core/user-profile/core-user-profile-browser-internal/tsconfig.json +++ b/src/core/packages/user-profile/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-profile/core-user-profile-browser-mocks/README.md b/src/core/packages/user-profile/browser-mocks/README.md similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-mocks/README.md rename to src/core/packages/user-profile/browser-mocks/README.md diff --git a/packages/core/user-profile/core-user-profile-browser-mocks/index.ts b/src/core/packages/user-profile/browser-mocks/index.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-mocks/index.ts rename to src/core/packages/user-profile/browser-mocks/index.ts diff --git a/src/core/packages/user-profile/browser-mocks/jest.config.js b/src/core/packages/user-profile/browser-mocks/jest.config.js new file mode 100644 index 0000000000000..2c4abe2957b64 --- /dev/null +++ b/src/core/packages/user-profile/browser-mocks/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/user-profile/browser-mocks'], +}; diff --git a/packages/core/user-profile/core-user-profile-browser-mocks/kibana.jsonc b/src/core/packages/user-profile/browser-mocks/kibana.jsonc similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-mocks/kibana.jsonc rename to src/core/packages/user-profile/browser-mocks/kibana.jsonc diff --git a/packages/core/user-profile/core-user-profile-browser-mocks/package.json b/src/core/packages/user-profile/browser-mocks/package.json similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-mocks/package.json rename to src/core/packages/user-profile/browser-mocks/package.json diff --git a/packages/core/user-profile/core-user-profile-browser-mocks/src/user_profile_service.mock.ts b/src/core/packages/user-profile/browser-mocks/src/user_profile_service.mock.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser-mocks/src/user_profile_service.mock.ts rename to src/core/packages/user-profile/browser-mocks/src/user_profile_service.mock.ts diff --git a/packages/core/user-profile/core-user-profile-browser-mocks/tsconfig.json b/src/core/packages/user-profile/browser-mocks/tsconfig.json similarity index 86% rename from packages/core/user-profile/core-user-profile-browser-mocks/tsconfig.json rename to src/core/packages/user-profile/browser-mocks/tsconfig.json index b4f4683993884..bbe270286c22f 100644 --- a/packages/core/user-profile/core-user-profile-browser-mocks/tsconfig.json +++ b/src/core/packages/user-profile/browser-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-profile/core-user-profile-browser/README.md b/src/core/packages/user-profile/browser/README.md similarity index 100% rename from packages/core/user-profile/core-user-profile-browser/README.md rename to src/core/packages/user-profile/browser/README.md diff --git a/packages/core/user-profile/core-user-profile-browser/index.ts b/src/core/packages/user-profile/browser/index.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser/index.ts rename to src/core/packages/user-profile/browser/index.ts diff --git a/src/core/packages/user-profile/browser/jest.config.js b/src/core/packages/user-profile/browser/jest.config.js new file mode 100644 index 0000000000000..10850230d6612 --- /dev/null +++ b/src/core/packages/user-profile/browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/user-profile/browser'], +}; diff --git a/packages/core/user-profile/core-user-profile-browser/kibana.jsonc b/src/core/packages/user-profile/browser/kibana.jsonc similarity index 100% rename from packages/core/user-profile/core-user-profile-browser/kibana.jsonc rename to src/core/packages/user-profile/browser/kibana.jsonc diff --git a/packages/core/user-profile/core-user-profile-browser/package.json b/src/core/packages/user-profile/browser/package.json similarity index 100% rename from packages/core/user-profile/core-user-profile-browser/package.json rename to src/core/packages/user-profile/browser/package.json diff --git a/packages/core/user-profile/core-user-profile-browser/src/api_provider.ts b/src/core/packages/user-profile/browser/src/api_provider.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser/src/api_provider.ts rename to src/core/packages/user-profile/browser/src/api_provider.ts diff --git a/packages/core/user-profile/core-user-profile-browser/src/contracts.ts b/src/core/packages/user-profile/browser/src/contracts.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser/src/contracts.ts rename to src/core/packages/user-profile/browser/src/contracts.ts diff --git a/packages/core/user-profile/core-user-profile-browser/src/service.ts b/src/core/packages/user-profile/browser/src/service.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-browser/src/service.ts rename to src/core/packages/user-profile/browser/src/service.ts diff --git a/packages/core/user-profile/core-user-profile-browser/tsconfig.json b/src/core/packages/user-profile/browser/tsconfig.json similarity index 86% rename from packages/core/user-profile/core-user-profile-browser/tsconfig.json rename to src/core/packages/user-profile/browser/tsconfig.json index 47b7d8c2017fe..3c757098455e4 100644 --- a/packages/core/user-profile/core-user-profile-browser/tsconfig.json +++ b/src/core/packages/user-profile/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-profile/core-user-profile-common/README.md b/src/core/packages/user-profile/common/README.md similarity index 100% rename from packages/core/user-profile/core-user-profile-common/README.md rename to src/core/packages/user-profile/common/README.md diff --git a/packages/core/user-profile/core-user-profile-common/index.ts b/src/core/packages/user-profile/common/index.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-common/index.ts rename to src/core/packages/user-profile/common/index.ts diff --git a/src/core/packages/user-profile/common/jest.config.js b/src/core/packages/user-profile/common/jest.config.js new file mode 100644 index 0000000000000..d7388cd2aef57 --- /dev/null +++ b/src/core/packages/user-profile/common/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/user-profile/common'], +}; diff --git a/packages/core/user-profile/core-user-profile-common/kibana.jsonc b/src/core/packages/user-profile/common/kibana.jsonc similarity index 100% rename from packages/core/user-profile/core-user-profile-common/kibana.jsonc rename to src/core/packages/user-profile/common/kibana.jsonc diff --git a/packages/core/user-profile/core-user-profile-common/package.json b/src/core/packages/user-profile/common/package.json similarity index 100% rename from packages/core/user-profile/core-user-profile-common/package.json rename to src/core/packages/user-profile/common/package.json diff --git a/packages/core/user-profile/core-user-profile-common/src/user_profile.ts b/src/core/packages/user-profile/common/src/user_profile.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-common/src/user_profile.ts rename to src/core/packages/user-profile/common/src/user_profile.ts diff --git a/packages/analytics/utils/analytics_collection_utils/tsconfig.json b/src/core/packages/user-profile/common/tsconfig.json similarity index 82% rename from packages/analytics/utils/analytics_collection_utils/tsconfig.json rename to src/core/packages/user-profile/common/tsconfig.json index b05325b824a67..447899d604592 100644 --- a/packages/analytics/utils/analytics_collection_utils/tsconfig.json +++ b/src/core/packages/user-profile/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-profile/core-user-profile-server-internal/README.md b/src/core/packages/user-profile/server-internal/README.md similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/README.md rename to src/core/packages/user-profile/server-internal/README.md diff --git a/packages/core/user-profile/core-user-profile-server-internal/index.ts b/src/core/packages/user-profile/server-internal/index.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/index.ts rename to src/core/packages/user-profile/server-internal/index.ts diff --git a/src/core/packages/user-profile/server-internal/jest.config.js b/src/core/packages/user-profile/server-internal/jest.config.js new file mode 100644 index 0000000000000..6f9e28037afe3 --- /dev/null +++ b/src/core/packages/user-profile/server-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/user-profile/server-internal'], +}; diff --git a/packages/core/user-profile/core-user-profile-server-internal/kibana.jsonc b/src/core/packages/user-profile/server-internal/kibana.jsonc similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/kibana.jsonc rename to src/core/packages/user-profile/server-internal/kibana.jsonc diff --git a/packages/core/user-profile/core-user-profile-server-internal/package.json b/src/core/packages/user-profile/server-internal/package.json similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/package.json rename to src/core/packages/user-profile/server-internal/package.json diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/internal_contracts.ts b/src/core/packages/user-profile/server-internal/src/internal_contracts.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/internal_contracts.ts rename to src/core/packages/user-profile/server-internal/src/internal_contracts.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/user_profile_route_handler_context.ts b/src/core/packages/user-profile/server-internal/src/user_profile_route_handler_context.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/user_profile_route_handler_context.ts rename to src/core/packages/user-profile/server-internal/src/user_profile_route_handler_context.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/user_profile_service.test.mocks.ts b/src/core/packages/user-profile/server-internal/src/user_profile_service.test.mocks.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/user_profile_service.test.mocks.ts rename to src/core/packages/user-profile/server-internal/src/user_profile_service.test.mocks.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/user_profile_service.test.ts b/src/core/packages/user-profile/server-internal/src/user_profile_service.test.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/user_profile_service.test.ts rename to src/core/packages/user-profile/server-internal/src/user_profile_service.test.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/user_profile_service.ts b/src/core/packages/user-profile/server-internal/src/user_profile_service.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/user_profile_service.ts rename to src/core/packages/user-profile/server-internal/src/user_profile_service.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/utils/convert_api.test.ts b/src/core/packages/user-profile/server-internal/src/utils/convert_api.test.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/utils/convert_api.test.ts rename to src/core/packages/user-profile/server-internal/src/utils/convert_api.test.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/utils/convert_api.ts b/src/core/packages/user-profile/server-internal/src/utils/convert_api.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/utils/convert_api.ts rename to src/core/packages/user-profile/server-internal/src/utils/convert_api.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/utils/default_implementation.test.ts b/src/core/packages/user-profile/server-internal/src/utils/default_implementation.test.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/utils/default_implementation.test.ts rename to src/core/packages/user-profile/server-internal/src/utils/default_implementation.test.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/utils/default_implementation.ts b/src/core/packages/user-profile/server-internal/src/utils/default_implementation.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/utils/default_implementation.ts rename to src/core/packages/user-profile/server-internal/src/utils/default_implementation.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/src/utils/index.ts b/src/core/packages/user-profile/server-internal/src/utils/index.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-internal/src/utils/index.ts rename to src/core/packages/user-profile/server-internal/src/utils/index.ts diff --git a/packages/core/user-profile/core-user-profile-server-internal/tsconfig.json b/src/core/packages/user-profile/server-internal/tsconfig.json similarity index 89% rename from packages/core/user-profile/core-user-profile-server-internal/tsconfig.json rename to src/core/packages/user-profile/server-internal/tsconfig.json index db09577dded94..4bb3b61faf22d 100644 --- a/packages/core/user-profile/core-user-profile-server-internal/tsconfig.json +++ b/src/core/packages/user-profile/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-profile/core-user-profile-server-mocks/README.md b/src/core/packages/user-profile/server-mocks/README.md similarity index 100% rename from packages/core/user-profile/core-user-profile-server-mocks/README.md rename to src/core/packages/user-profile/server-mocks/README.md diff --git a/packages/core/user-profile/core-user-profile-server-mocks/index.ts b/src/core/packages/user-profile/server-mocks/index.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-mocks/index.ts rename to src/core/packages/user-profile/server-mocks/index.ts diff --git a/src/core/packages/user-profile/server-mocks/jest.config.js b/src/core/packages/user-profile/server-mocks/jest.config.js new file mode 100644 index 0000000000000..f6c2fd324b130 --- /dev/null +++ b/src/core/packages/user-profile/server-mocks/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/user-profile/server-mocks'], +}; diff --git a/packages/core/user-profile/core-user-profile-server-mocks/kibana.jsonc b/src/core/packages/user-profile/server-mocks/kibana.jsonc similarity index 100% rename from packages/core/user-profile/core-user-profile-server-mocks/kibana.jsonc rename to src/core/packages/user-profile/server-mocks/kibana.jsonc diff --git a/packages/core/user-profile/core-user-profile-server-mocks/package.json b/src/core/packages/user-profile/server-mocks/package.json similarity index 100% rename from packages/core/user-profile/core-user-profile-server-mocks/package.json rename to src/core/packages/user-profile/server-mocks/package.json diff --git a/packages/core/user-profile/core-user-profile-server-mocks/src/user_profile_service.mock.ts b/src/core/packages/user-profile/server-mocks/src/user_profile_service.mock.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server-mocks/src/user_profile_service.mock.ts rename to src/core/packages/user-profile/server-mocks/src/user_profile_service.mock.ts diff --git a/packages/core/user-profile/core-user-profile-server-mocks/tsconfig.json b/src/core/packages/user-profile/server-mocks/tsconfig.json similarity index 85% rename from packages/core/user-profile/core-user-profile-server-mocks/tsconfig.json rename to src/core/packages/user-profile/server-mocks/tsconfig.json index a2f13d1e160c7..b65abaa31c594 100644 --- a/packages/core/user-profile/core-user-profile-server-mocks/tsconfig.json +++ b/src/core/packages/user-profile/server-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/user-profile/core-user-profile-server/README.md b/src/core/packages/user-profile/server/README.md similarity index 100% rename from packages/core/user-profile/core-user-profile-server/README.md rename to src/core/packages/user-profile/server/README.md diff --git a/packages/core/user-profile/core-user-profile-server/index.ts b/src/core/packages/user-profile/server/index.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server/index.ts rename to src/core/packages/user-profile/server/index.ts diff --git a/src/core/packages/user-profile/server/jest.config.js b/src/core/packages/user-profile/server/jest.config.js new file mode 100644 index 0000000000000..41691e0c32643 --- /dev/null +++ b/src/core/packages/user-profile/server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/core/packages/user-profile/server'], +}; diff --git a/packages/core/user-profile/core-user-profile-server/kibana.jsonc b/src/core/packages/user-profile/server/kibana.jsonc similarity index 100% rename from packages/core/user-profile/core-user-profile-server/kibana.jsonc rename to src/core/packages/user-profile/server/kibana.jsonc diff --git a/packages/core/user-profile/core-user-profile-server/package.json b/src/core/packages/user-profile/server/package.json similarity index 100% rename from packages/core/user-profile/core-user-profile-server/package.json rename to src/core/packages/user-profile/server/package.json diff --git a/packages/core/user-profile/core-user-profile-server/src/api_provider.ts b/src/core/packages/user-profile/server/src/api_provider.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server/src/api_provider.ts rename to src/core/packages/user-profile/server/src/api_provider.ts diff --git a/packages/core/user-profile/core-user-profile-server/src/contracts.ts b/src/core/packages/user-profile/server/src/contracts.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server/src/contracts.ts rename to src/core/packages/user-profile/server/src/contracts.ts diff --git a/packages/core/user-profile/core-user-profile-server/src/request_handler_context.ts b/src/core/packages/user-profile/server/src/request_handler_context.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server/src/request_handler_context.ts rename to src/core/packages/user-profile/server/src/request_handler_context.ts diff --git a/packages/core/user-profile/core-user-profile-server/src/service.ts b/src/core/packages/user-profile/server/src/service.ts similarity index 100% rename from packages/core/user-profile/core-user-profile-server/src/service.ts rename to src/core/packages/user-profile/server/src/service.ts diff --git a/packages/core/user-profile/core-user-profile-server/tsconfig.json b/src/core/packages/user-profile/server/tsconfig.json similarity index 84% rename from packages/core/user-profile/core-user-profile-server/tsconfig.json rename to src/core/packages/user-profile/server/tsconfig.json index 85f418a0eb6c9..5a69da534c9f9 100644 --- a/packages/core/user-profile/core-user-profile-server/tsconfig.json +++ b/src/core/packages/user-profile/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/dev/i18n_tools/tasks/check_untracked_namespaces/extract_untracked_translations.ts b/src/dev/i18n_tools/tasks/check_untracked_namespaces/extract_untracked_translations.ts index 0fb6e0a5cf14c..c2790972ab231 100644 --- a/src/dev/i18n_tools/tasks/check_untracked_namespaces/extract_untracked_translations.ts +++ b/src/dev/i18n_tools/tasks/check_untracked_namespaces/extract_untracked_translations.ts @@ -31,8 +31,8 @@ export async function* extractUntrackedMessages(rootPath: string, definedPathsFo ...definedPathsForRoot, '**/build/**', '**/__fixtures__/**', - '**/packages/kbn-i18n/**', - '**/packages/kbn-i18n-react/**', + '**/src/platform/packages/shared/kbn-i18n/**', + '**/src/platform/packages/shared/kbn-i18n-react/**', '**/packages/kbn-plugin-generator/template/**', '**/test/**', '**/scripts/**', diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 169cdbfd63aa4..babde56552eb4 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -38,7 +38,7 @@ export const IGNORE_FILE_GLOBS = [ 'x-pack/docs/**/*', 'src/core/packages/apps/server-internal/assets/fonts/**/*', 'src/dev/code_coverage/ingest_coverage/integration_tests/mocks/**/*', - 'packages/kbn-utility-types/test-d/**/*', + 'src/platform/packages/shared/kbn-utility-types/test-d/**/*', 'Dockerfile*', 'vars/*', 'packages/kbn-test/jest-preset.js', @@ -46,7 +46,7 @@ export const IGNORE_FILE_GLOBS = [ 'test/package/Vagrantfile', 'x-pack/solutions/security/plugins/security_solution/scripts/endpoint/common/vagrant/Vagrantfile', '**/test/**/fixtures/**/*', - 'packages/kbn-router-to-openapispec/openapi-types.d.ts', + 'src/platform/packages/shared/kbn-router-to-openapispec/openapi-types.d.ts', // Required to match the name in the docs.elastic.dev repo. 'dev_docs/nav-kibana-dev.docnav.json', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index c03fde3bc7125..ab5664257c606 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -19,7 +19,7 @@ export const storybookAliases = { cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook', cloud_security_posture_packages: 'x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook', - cloud: 'packages/cloud/.storybook', + cloud: 'src/platform/packages/shared/cloud/.storybook', coloring: 'packages/kbn-coloring/.storybook', language_documentation_popover: 'src/platform/packages/private/kbn-language-documentation/.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/core/capabilities/core-capabilities-browser-internal/jest.config.js b/src/platform/packages/private/analytics/utils/analytics_collection_utils/jest.config.js similarity index 79% rename from packages/core/capabilities/core-capabilities-browser-internal/jest.config.js rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/jest.config.js index 48851c9662315..777a34f7ec5a7 100644 --- a/packages/core/capabilities/core-capabilities-browser-internal/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/core/capabilities/core-capabilities-browser-internal'], + 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/core/security/core-security-common/tsconfig.json b/src/platform/packages/private/analytics/utils/analytics_collection_utils/tsconfig.json similarity index 80% rename from packages/core/security/core-security-common/tsconfig.json rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/tsconfig.json index b05325b824a67..3d8067cec004b 100644 --- a/packages/core/security/core-security-common/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/src/platform/packages/private/kbn-apm-config-loader/jest.config.js b/src/platform/packages/private/kbn-apm-config-loader/jest.config.js new file mode 100644 index 0000000000000..f8ff9a4c535bb --- /dev/null +++ b/src/platform/packages/private/kbn-apm-config-loader/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/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/kbn-config-mocks/README.md b/src/platform/packages/private/kbn-config-mocks/README.md similarity index 100% rename from packages/kbn-config-mocks/README.md rename to src/platform/packages/private/kbn-config-mocks/README.md diff --git a/packages/kbn-config-mocks/index.ts b/src/platform/packages/private/kbn-config-mocks/index.ts similarity index 100% rename from packages/kbn-config-mocks/index.ts rename to src/platform/packages/private/kbn-config-mocks/index.ts diff --git a/src/platform/packages/private/kbn-config-mocks/jest.config.js b/src/platform/packages/private/kbn-config-mocks/jest.config.js new file mode 100644 index 0000000000000..d1948829eb704 --- /dev/null +++ b/src/platform/packages/private/kbn-config-mocks/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-config-mocks'], +}; diff --git a/packages/kbn-config-mocks/kibana.jsonc b/src/platform/packages/private/kbn-config-mocks/kibana.jsonc similarity index 100% rename from packages/kbn-config-mocks/kibana.jsonc rename to src/platform/packages/private/kbn-config-mocks/kibana.jsonc diff --git a/packages/kbn-config-mocks/package.json b/src/platform/packages/private/kbn-config-mocks/package.json similarity index 100% rename from packages/kbn-config-mocks/package.json rename to src/platform/packages/private/kbn-config-mocks/package.json diff --git a/packages/kbn-config-mocks/src/config.mock.ts b/src/platform/packages/private/kbn-config-mocks/src/config.mock.ts similarity index 100% rename from packages/kbn-config-mocks/src/config.mock.ts rename to src/platform/packages/private/kbn-config-mocks/src/config.mock.ts diff --git a/packages/kbn-config-mocks/src/config_service.mock.ts b/src/platform/packages/private/kbn-config-mocks/src/config_service.mock.ts similarity index 100% rename from packages/kbn-config-mocks/src/config_service.mock.ts rename to src/platform/packages/private/kbn-config-mocks/src/config_service.mock.ts diff --git a/packages/kbn-config-mocks/src/deprecations.mock.ts b/src/platform/packages/private/kbn-config-mocks/src/deprecations.mock.ts similarity index 100% rename from packages/kbn-config-mocks/src/deprecations.mock.ts rename to src/platform/packages/private/kbn-config-mocks/src/deprecations.mock.ts diff --git a/packages/kbn-config-mocks/src/env.mock.ts b/src/platform/packages/private/kbn-config-mocks/src/env.mock.ts similarity index 100% rename from packages/kbn-config-mocks/src/env.mock.ts rename to src/platform/packages/private/kbn-config-mocks/src/env.mock.ts diff --git a/packages/kbn-config-mocks/src/raw_config_service.mock.ts b/src/platform/packages/private/kbn-config-mocks/src/raw_config_service.mock.ts similarity index 100% rename from packages/kbn-config-mocks/src/raw_config_service.mock.ts rename to src/platform/packages/private/kbn-config-mocks/src/raw_config_service.mock.ts diff --git a/packages/kbn-config-mocks/tsconfig.json b/src/platform/packages/private/kbn-config-mocks/tsconfig.json similarity index 86% rename from packages/kbn-config-mocks/tsconfig.json rename to src/platform/packages/private/kbn-config-mocks/tsconfig.json index 5e0c421e09cd6..bad5aa51f85c6 100644 --- a/packages/kbn-config-mocks/tsconfig.json +++ b/src/platform/packages/private/kbn-config-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-hapi-mocks/README.md b/src/platform/packages/private/kbn-hapi-mocks/README.md similarity index 100% rename from packages/kbn-hapi-mocks/README.md rename to src/platform/packages/private/kbn-hapi-mocks/README.md diff --git a/packages/kbn-hapi-mocks/index.ts b/src/platform/packages/private/kbn-hapi-mocks/index.ts similarity index 100% rename from packages/kbn-hapi-mocks/index.ts rename to src/platform/packages/private/kbn-hapi-mocks/index.ts diff --git a/src/platform/packages/private/kbn-hapi-mocks/jest.config.js b/src/platform/packages/private/kbn-hapi-mocks/jest.config.js new file mode 100644 index 0000000000000..4e0e144aa0da4 --- /dev/null +++ b/src/platform/packages/private/kbn-hapi-mocks/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-hapi-mocks'], +}; diff --git a/packages/kbn-hapi-mocks/kibana.jsonc b/src/platform/packages/private/kbn-hapi-mocks/kibana.jsonc similarity index 100% rename from packages/kbn-hapi-mocks/kibana.jsonc rename to src/platform/packages/private/kbn-hapi-mocks/kibana.jsonc diff --git a/packages/kbn-hapi-mocks/package.json b/src/platform/packages/private/kbn-hapi-mocks/package.json similarity index 100% rename from packages/kbn-hapi-mocks/package.json rename to src/platform/packages/private/kbn-hapi-mocks/package.json diff --git a/packages/kbn-hapi-mocks/src/request.ts b/src/platform/packages/private/kbn-hapi-mocks/src/request.ts similarity index 100% rename from packages/kbn-hapi-mocks/src/request.ts rename to src/platform/packages/private/kbn-hapi-mocks/src/request.ts diff --git a/packages/core/metrics/core-metrics-server/tsconfig.json b/src/platform/packages/private/kbn-hapi-mocks/tsconfig.json similarity index 82% rename from packages/core/metrics/core-metrics-server/tsconfig.json rename to src/platform/packages/private/kbn-hapi-mocks/tsconfig.json index 5dccac215ffaf..59554de320901 100644 --- a/packages/core/metrics/core-metrics-server/tsconfig.json +++ b/src/platform/packages/private/kbn-hapi-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-health-gateway-server/.gitignore b/src/platform/packages/private/kbn-health-gateway-server/.gitignore similarity index 100% rename from packages/kbn-health-gateway-server/.gitignore rename to src/platform/packages/private/kbn-health-gateway-server/.gitignore diff --git a/packages/kbn-health-gateway-server/README.md b/src/platform/packages/private/kbn-health-gateway-server/README.md similarity index 91% rename from packages/kbn-health-gateway-server/README.md rename to src/platform/packages/private/kbn-health-gateway-server/README.md index 7474b6a5c3440..a99a7501d9c7f 100644 --- a/packages/kbn-health-gateway-server/README.md +++ b/src/platform/packages/private/kbn-health-gateway-server/README.md @@ -59,7 +59,7 @@ two different Kibana instances for testing. Before using it, you'll want to crea a `.env` file: ```bash -# From the /packages/kbn-health-gateway-server/scripts directory +# From the /src/platform/packages/private/kbn-health-gateway-server/scripts directory $ cp .env.example .env # (modify the .env settings if desired) $ docker-compose up @@ -69,7 +69,7 @@ This will automatically run Kibana on the ports from the sample `gateway.yml` above (5605-5606). Once you have your `gateway.yml` and have started docker-compose, you can run the -server from the `/packages/kbn-health-gateway-server` directory with `yarn start`. Then you should +server from the `/src/platform/packages/private/kbn-health-gateway-server` directory with `yarn start`. Then you should be able to make requests to the `/` endpoint: ```bash diff --git a/packages/kbn-health-gateway-server/index.ts b/src/platform/packages/private/kbn-health-gateway-server/index.ts similarity index 100% rename from packages/kbn-health-gateway-server/index.ts rename to src/platform/packages/private/kbn-health-gateway-server/index.ts diff --git a/src/platform/packages/private/kbn-health-gateway-server/jest.config.js b/src/platform/packages/private/kbn-health-gateway-server/jest.config.js new file mode 100644 index 0000000000000..b115c05ab1006 --- /dev/null +++ b/src/platform/packages/private/kbn-health-gateway-server/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-health-gateway-server'], +}; diff --git a/packages/kbn-health-gateway-server/kibana.jsonc b/src/platform/packages/private/kbn-health-gateway-server/kibana.jsonc similarity index 100% rename from packages/kbn-health-gateway-server/kibana.jsonc rename to src/platform/packages/private/kbn-health-gateway-server/kibana.jsonc diff --git a/packages/kbn-health-gateway-server/package.json b/src/platform/packages/private/kbn-health-gateway-server/package.json similarity index 100% rename from packages/kbn-health-gateway-server/package.json rename to src/platform/packages/private/kbn-health-gateway-server/package.json diff --git a/packages/kbn-health-gateway-server/scripts/.env.example b/src/platform/packages/private/kbn-health-gateway-server/scripts/.env.example similarity index 100% rename from packages/kbn-health-gateway-server/scripts/.env.example rename to src/platform/packages/private/kbn-health-gateway-server/scripts/.env.example diff --git a/packages/kbn-health-gateway-server/scripts/docker-compose.yml b/src/platform/packages/private/kbn-health-gateway-server/scripts/docker-compose.yml similarity index 92% rename from packages/kbn-health-gateway-server/scripts/docker-compose.yml rename to src/platform/packages/private/kbn-health-gateway-server/scripts/docker-compose.yml index 460119688265a..c95f9b1c45e4a 100644 --- a/packages/kbn-health-gateway-server/scripts/docker-compose.yml +++ b/src/platform/packages/private/kbn-health-gateway-server/scripts/docker-compose.yml @@ -17,7 +17,7 @@ services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:${STACK_VERSION} volumes: - - ../../kbn-dev-utils/certs:/usr/share/elasticsearch/config/certs + - ../../../../../kbn-dev-utils/certs:/usr/share/elasticsearch/config/certs ports: - ${ES_PORT}:9200 environment: @@ -49,7 +49,7 @@ services: condition: service_healthy image: docker.elastic.co/kibana/kibana:${STACK_VERSION} volumes: - - ../../kbn-dev-utils/certs:/usr/share/kibana/config/certs + - ../../../../../kbn-dev-utils/certs:/usr/share/kibana/config/certs ports: - ${KIBANA_01_PORT}:5601 environment: @@ -71,7 +71,7 @@ services: condition: service_healthy image: docker.elastic.co/kibana/kibana:${STACK_VERSION} volumes: - - ../../kbn-dev-utils/certs:/usr/share/kibana/config/certs + - ../../../../../kbn-dev-utils/certs:/usr/share/kibana/config/certs ports: - ${KIBANA_02_PORT}:5601 environment: diff --git a/packages/kbn-health-gateway-server/scripts/init.ts b/src/platform/packages/private/kbn-health-gateway-server/scripts/init.ts similarity index 100% rename from packages/kbn-health-gateway-server/scripts/init.ts rename to src/platform/packages/private/kbn-health-gateway-server/scripts/init.ts diff --git a/packages/kbn-health-gateway-server/src/config/config_service.test.mocks.ts b/src/platform/packages/private/kbn-health-gateway-server/src/config/config_service.test.mocks.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/config/config_service.test.mocks.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/config/config_service.test.mocks.ts diff --git a/packages/kbn-health-gateway-server/src/config/config_service.test.ts b/src/platform/packages/private/kbn-health-gateway-server/src/config/config_service.test.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/config/config_service.test.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/config/config_service.test.ts diff --git a/packages/kbn-health-gateway-server/src/config/config_service.ts b/src/platform/packages/private/kbn-health-gateway-server/src/config/config_service.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/config/config_service.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/config/config_service.ts diff --git a/packages/kbn-health-gateway-server/src/config/index.ts b/src/platform/packages/private/kbn-health-gateway-server/src/config/index.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/config/index.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/config/index.ts diff --git a/packages/kbn-health-gateway-server/src/config/read_argv.test.ts b/src/platform/packages/private/kbn-health-gateway-server/src/config/read_argv.test.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/config/read_argv.test.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/config/read_argv.test.ts diff --git a/packages/kbn-health-gateway-server/src/config/read_argv.ts b/src/platform/packages/private/kbn-health-gateway-server/src/config/read_argv.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/config/read_argv.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/config/read_argv.ts diff --git a/packages/kbn-health-gateway-server/src/index.ts b/src/platform/packages/private/kbn-health-gateway-server/src/index.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/index.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/index.ts diff --git a/packages/kbn-health-gateway-server/src/kibana/handlers/index.ts b/src/platform/packages/private/kbn-health-gateway-server/src/kibana/handlers/index.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/kibana/handlers/index.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/kibana/handlers/index.ts diff --git a/packages/kbn-health-gateway-server/src/kibana/handlers/status.test.ts b/src/platform/packages/private/kbn-health-gateway-server/src/kibana/handlers/status.test.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/kibana/handlers/status.test.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/kibana/handlers/status.test.ts diff --git a/packages/kbn-health-gateway-server/src/kibana/handlers/status.ts b/src/platform/packages/private/kbn-health-gateway-server/src/kibana/handlers/status.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/kibana/handlers/status.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/kibana/handlers/status.ts diff --git a/packages/kbn-health-gateway-server/src/kibana/index.ts b/src/platform/packages/private/kbn-health-gateway-server/src/kibana/index.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/kibana/index.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/kibana/index.ts diff --git a/packages/kbn-health-gateway-server/src/kibana/kibana_config.test.ts b/src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_config.test.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/kibana/kibana_config.test.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_config.test.ts diff --git a/packages/kbn-health-gateway-server/src/kibana/kibana_config.ts b/src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_config.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/kibana/kibana_config.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_config.ts diff --git a/packages/kbn-health-gateway-server/src/kibana/kibana_service.test.mocks.ts b/src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_service.test.mocks.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/kibana/kibana_service.test.mocks.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_service.test.mocks.ts diff --git a/packages/kbn-health-gateway-server/src/kibana/kibana_service.test.ts b/src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_service.test.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/kibana/kibana_service.test.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_service.test.ts diff --git a/packages/kbn-health-gateway-server/src/kibana/kibana_service.ts b/src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_service.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/kibana/kibana_service.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/kibana/kibana_service.ts diff --git a/packages/kbn-health-gateway-server/src/server/index.ts b/src/platform/packages/private/kbn-health-gateway-server/src/server/index.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/server/index.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/server/index.ts diff --git a/packages/kbn-health-gateway-server/src/server/server.mock.ts b/src/platform/packages/private/kbn-health-gateway-server/src/server/server.mock.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/server/server.mock.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/server/server.mock.ts diff --git a/packages/kbn-health-gateway-server/src/server/server.test.mocks.ts b/src/platform/packages/private/kbn-health-gateway-server/src/server/server.test.mocks.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/server/server.test.mocks.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/server/server.test.mocks.ts diff --git a/packages/kbn-health-gateway-server/src/server/server.test.ts b/src/platform/packages/private/kbn-health-gateway-server/src/server/server.test.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/server/server.test.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/server/server.test.ts diff --git a/packages/kbn-health-gateway-server/src/server/server.ts b/src/platform/packages/private/kbn-health-gateway-server/src/server/server.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/server/server.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/server/server.ts diff --git a/packages/kbn-health-gateway-server/src/server/server_config.test.ts b/src/platform/packages/private/kbn-health-gateway-server/src/server/server_config.test.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/server/server_config.test.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/server/server_config.test.ts diff --git a/packages/kbn-health-gateway-server/src/server/server_config.ts b/src/platform/packages/private/kbn-health-gateway-server/src/server/server_config.ts similarity index 100% rename from packages/kbn-health-gateway-server/src/server/server_config.ts rename to src/platform/packages/private/kbn-health-gateway-server/src/server/server_config.ts diff --git a/packages/kbn-health-gateway-server/tsconfig.json b/src/platform/packages/private/kbn-health-gateway-server/tsconfig.json similarity index 91% rename from packages/kbn-health-gateway-server/tsconfig.json rename to src/platform/packages/private/kbn-health-gateway-server/tsconfig.json index c9a83f7a18223..75e5313cd0182 100644 --- a/packages/kbn-health-gateway-server/tsconfig.json +++ b/src/platform/packages/private/kbn-health-gateway-server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel b/src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel index 6d70288de9af8..25ee062d4c18d 100644 --- a/src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel +++ b/src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel @@ -22,17 +22,17 @@ webpack_cli( "//packages/kbn-babel-preset", # packages included in the shared deps src bundle "//src/platform/packages/shared/kbn-ui-theme", - "//packages/kbn-i18n", - "//packages/kbn-i18n-react", - "//packages/kbn-ebt-tools", + "//src/platform/packages/shared/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n-react", + "//src/platform/packages/shared/kbn-ebt-tools", "//src/platform/packages/shared/kbn-esql-ast", "//packages/kbn-monaco", "//src/platform/packages/shared/kbn-datemath", - "//packages/kbn-analytics", - "//packages/kbn-crypto-browser", + "//src/platform/packages/shared/kbn-analytics", + "//src/platform/packages/shared/kbn-crypto-browser", "//src/platform/packages/shared/kbn-es-query", "//src/platform/packages/shared/kbn-search-errors", - "//packages/kbn-std", + "//src/platform/packages/shared/kbn-std", "//packages/kbn-safer-lodash-set", "//packages/kbn-peggy", "//packages/kbn-peggy-loader", 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/src/platform/packages/shared/cloud/jest.config.js b/src/platform/packages/shared/cloud/jest.config.js new file mode 100644 index 0000000000000..8b33a82725496 --- /dev/null +++ b/src/platform/packages/shared/cloud/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/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 100% rename from packages/kbn-analytics/README.md rename to src/platform/packages/shared/kbn-analytics/README.md 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-schema/README.md b/src/platform/packages/shared/kbn-config-schema/README.md similarity index 100% rename from packages/kbn-config-schema/README.md rename to src/platform/packages/shared/kbn-config-schema/README.md diff --git a/packages/kbn-config-schema/index.ts b/src/platform/packages/shared/kbn-config-schema/index.ts similarity index 100% rename from packages/kbn-config-schema/index.ts rename to src/platform/packages/shared/kbn-config-schema/index.ts diff --git a/src/platform/packages/shared/kbn-config-schema/jest.config.js b/src/platform/packages/shared/kbn-config-schema/jest.config.js new file mode 100644 index 0000000000000..a96df8d746ddf --- /dev/null +++ b/src/platform/packages/shared/kbn-config-schema/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-config-schema'], +}; diff --git a/packages/kbn-config-schema/kibana.jsonc b/src/platform/packages/shared/kbn-config-schema/kibana.jsonc similarity index 100% rename from packages/kbn-config-schema/kibana.jsonc rename to src/platform/packages/shared/kbn-config-schema/kibana.jsonc diff --git a/packages/kbn-config-schema/package.json b/src/platform/packages/shared/kbn-config-schema/package.json similarity index 100% rename from packages/kbn-config-schema/package.json rename to src/platform/packages/shared/kbn-config-schema/package.json diff --git a/packages/kbn-config-schema/src/byte_size_value/index.test.ts b/src/platform/packages/shared/kbn-config-schema/src/byte_size_value/index.test.ts similarity index 100% rename from packages/kbn-config-schema/src/byte_size_value/index.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/byte_size_value/index.test.ts diff --git a/packages/kbn-config-schema/src/byte_size_value/index.ts b/src/platform/packages/shared/kbn-config-schema/src/byte_size_value/index.ts similarity index 100% rename from packages/kbn-config-schema/src/byte_size_value/index.ts rename to src/platform/packages/shared/kbn-config-schema/src/byte_size_value/index.ts diff --git a/packages/kbn-config-schema/src/duration/index.ts b/src/platform/packages/shared/kbn-config-schema/src/duration/index.ts similarity index 100% rename from packages/kbn-config-schema/src/duration/index.ts rename to src/platform/packages/shared/kbn-config-schema/src/duration/index.ts diff --git a/packages/kbn-config-schema/src/errors/index.ts b/src/platform/packages/shared/kbn-config-schema/src/errors/index.ts similarity index 100% rename from packages/kbn-config-schema/src/errors/index.ts rename to src/platform/packages/shared/kbn-config-schema/src/errors/index.ts diff --git a/packages/kbn-config-schema/src/errors/schema_error.test.ts b/src/platform/packages/shared/kbn-config-schema/src/errors/schema_error.test.ts similarity index 100% rename from packages/kbn-config-schema/src/errors/schema_error.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/errors/schema_error.test.ts diff --git a/packages/kbn-config-schema/src/errors/schema_error.ts b/src/platform/packages/shared/kbn-config-schema/src/errors/schema_error.ts similarity index 100% rename from packages/kbn-config-schema/src/errors/schema_error.ts rename to src/platform/packages/shared/kbn-config-schema/src/errors/schema_error.ts diff --git a/packages/kbn-config-schema/src/errors/schema_type_error.ts b/src/platform/packages/shared/kbn-config-schema/src/errors/schema_type_error.ts similarity index 100% rename from packages/kbn-config-schema/src/errors/schema_type_error.ts rename to src/platform/packages/shared/kbn-config-schema/src/errors/schema_type_error.ts diff --git a/packages/kbn-config-schema/src/errors/schema_types_error.ts b/src/platform/packages/shared/kbn-config-schema/src/errors/schema_types_error.ts similarity index 100% rename from packages/kbn-config-schema/src/errors/schema_types_error.ts rename to src/platform/packages/shared/kbn-config-schema/src/errors/schema_types_error.ts diff --git a/packages/kbn-config-schema/src/errors/validation_error.ts b/src/platform/packages/shared/kbn-config-schema/src/errors/validation_error.ts similarity index 100% rename from packages/kbn-config-schema/src/errors/validation_error.ts rename to src/platform/packages/shared/kbn-config-schema/src/errors/validation_error.ts diff --git a/packages/kbn-config-schema/src/helpers/index.ts b/src/platform/packages/shared/kbn-config-schema/src/helpers/index.ts similarity index 100% rename from packages/kbn-config-schema/src/helpers/index.ts rename to src/platform/packages/shared/kbn-config-schema/src/helpers/index.ts diff --git a/packages/kbn-config-schema/src/helpers/offering_based_schema.test.ts b/src/platform/packages/shared/kbn-config-schema/src/helpers/offering_based_schema.test.ts similarity index 100% rename from packages/kbn-config-schema/src/helpers/offering_based_schema.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/helpers/offering_based_schema.test.ts diff --git a/packages/kbn-config-schema/src/helpers/offering_based_schema.ts b/src/platform/packages/shared/kbn-config-schema/src/helpers/offering_based_schema.ts similarity index 100% rename from packages/kbn-config-schema/src/helpers/offering_based_schema.ts rename to src/platform/packages/shared/kbn-config-schema/src/helpers/offering_based_schema.ts diff --git a/packages/kbn-config-schema/src/internals/index.ts b/src/platform/packages/shared/kbn-config-schema/src/internals/index.ts similarity index 100% rename from packages/kbn-config-schema/src/internals/index.ts rename to src/platform/packages/shared/kbn-config-schema/src/internals/index.ts diff --git a/packages/kbn-config-schema/src/oas_meta_fields.ts b/src/platform/packages/shared/kbn-config-schema/src/oas_meta_fields.ts similarity index 100% rename from packages/kbn-config-schema/src/oas_meta_fields.ts rename to src/platform/packages/shared/kbn-config-schema/src/oas_meta_fields.ts diff --git a/packages/kbn-config-schema/src/references/context_reference.ts b/src/platform/packages/shared/kbn-config-schema/src/references/context_reference.ts similarity index 100% rename from packages/kbn-config-schema/src/references/context_reference.ts rename to src/platform/packages/shared/kbn-config-schema/src/references/context_reference.ts diff --git a/packages/kbn-config-schema/src/references/index.ts b/src/platform/packages/shared/kbn-config-schema/src/references/index.ts similarity index 100% rename from packages/kbn-config-schema/src/references/index.ts rename to src/platform/packages/shared/kbn-config-schema/src/references/index.ts diff --git a/packages/kbn-config-schema/src/references/reference.test.ts b/src/platform/packages/shared/kbn-config-schema/src/references/reference.test.ts similarity index 100% rename from packages/kbn-config-schema/src/references/reference.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/references/reference.test.ts diff --git a/packages/kbn-config-schema/src/references/reference.ts b/src/platform/packages/shared/kbn-config-schema/src/references/reference.ts similarity index 100% rename from packages/kbn-config-schema/src/references/reference.ts rename to src/platform/packages/shared/kbn-config-schema/src/references/reference.ts diff --git a/packages/kbn-config-schema/src/references/sibling_reference.ts b/src/platform/packages/shared/kbn-config-schema/src/references/sibling_reference.ts similarity index 100% rename from packages/kbn-config-schema/src/references/sibling_reference.ts rename to src/platform/packages/shared/kbn-config-schema/src/references/sibling_reference.ts diff --git a/packages/kbn-config-schema/src/typeguards/index.ts b/src/platform/packages/shared/kbn-config-schema/src/typeguards/index.ts similarity index 100% rename from packages/kbn-config-schema/src/typeguards/index.ts rename to src/platform/packages/shared/kbn-config-schema/src/typeguards/index.ts diff --git a/packages/kbn-config-schema/src/typeguards/is_config_schema.test.ts b/src/platform/packages/shared/kbn-config-schema/src/typeguards/is_config_schema.test.ts similarity index 100% rename from packages/kbn-config-schema/src/typeguards/is_config_schema.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/typeguards/is_config_schema.test.ts diff --git a/packages/kbn-config-schema/src/typeguards/is_config_schema.ts b/src/platform/packages/shared/kbn-config-schema/src/typeguards/is_config_schema.ts similarity index 100% rename from packages/kbn-config-schema/src/typeguards/is_config_schema.ts rename to src/platform/packages/shared/kbn-config-schema/src/typeguards/is_config_schema.ts diff --git a/packages/kbn-config-schema/src/types/any_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/any_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/any_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/any_type.test.ts diff --git a/packages/kbn-config-schema/src/types/any_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/any_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/any_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/any_type.ts diff --git a/packages/kbn-config-schema/src/types/array_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/array_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/array_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/array_type.test.ts diff --git a/packages/kbn-config-schema/src/types/array_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/array_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/array_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/array_type.ts diff --git a/packages/kbn-config-schema/src/types/boolean_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/boolean_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/boolean_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/boolean_type.test.ts diff --git a/packages/kbn-config-schema/src/types/boolean_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/boolean_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/boolean_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/boolean_type.ts diff --git a/packages/kbn-config-schema/src/types/buffer_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/buffer_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/buffer_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/buffer_type.test.ts diff --git a/packages/kbn-config-schema/src/types/buffer_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/buffer_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/buffer_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/buffer_type.ts diff --git a/packages/kbn-config-schema/src/types/byte_size_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/byte_size_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/byte_size_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/byte_size_type.test.ts diff --git a/packages/kbn-config-schema/src/types/byte_size_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/byte_size_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/byte_size_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/byte_size_type.ts diff --git a/packages/kbn-config-schema/src/types/conditional_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/conditional_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/conditional_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/conditional_type.test.ts diff --git a/packages/kbn-config-schema/src/types/conditional_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/conditional_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/conditional_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/conditional_type.ts diff --git a/packages/kbn-config-schema/src/types/duration_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/duration_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/duration_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/duration_type.test.ts diff --git a/packages/kbn-config-schema/src/types/duration_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/duration_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/duration_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/duration_type.ts diff --git a/packages/kbn-config-schema/src/types/index.ts b/src/platform/packages/shared/kbn-config-schema/src/types/index.ts similarity index 100% rename from packages/kbn-config-schema/src/types/index.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/index.ts diff --git a/packages/kbn-config-schema/src/types/intersection_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/intersection_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/intersection_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/intersection_type.test.ts diff --git a/packages/kbn-config-schema/src/types/intersection_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/intersection_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/intersection_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/intersection_type.ts diff --git a/packages/kbn-config-schema/src/types/ip_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/ip_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/ip_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/ip_type.test.ts diff --git a/packages/kbn-config-schema/src/types/ip_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/ip_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/ip_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/ip_type.ts diff --git a/packages/kbn-config-schema/src/types/lazy.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/lazy.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/lazy.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/lazy.test.ts diff --git a/packages/kbn-config-schema/src/types/lazy.ts b/src/platform/packages/shared/kbn-config-schema/src/types/lazy.ts similarity index 100% rename from packages/kbn-config-schema/src/types/lazy.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/lazy.ts diff --git a/packages/kbn-config-schema/src/types/literal_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/literal_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/literal_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/literal_type.test.ts diff --git a/packages/kbn-config-schema/src/types/literal_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/literal_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/literal_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/literal_type.ts diff --git a/packages/kbn-config-schema/src/types/map_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/map_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/map_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/map_type.test.ts diff --git a/packages/kbn-config-schema/src/types/map_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/map_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/map_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/map_type.ts diff --git a/packages/kbn-config-schema/src/types/maybe_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/maybe_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/maybe_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/maybe_type.test.ts diff --git a/packages/kbn-config-schema/src/types/maybe_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/maybe_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/maybe_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/maybe_type.ts diff --git a/packages/kbn-config-schema/src/types/never_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/never_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/never_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/never_type.test.ts diff --git a/packages/kbn-config-schema/src/types/never_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/never_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/never_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/never_type.ts diff --git a/packages/kbn-config-schema/src/types/nullable_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/nullable_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/nullable_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/nullable_type.test.ts diff --git a/packages/kbn-config-schema/src/types/number_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/number_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/number_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/number_type.test.ts diff --git a/packages/kbn-config-schema/src/types/number_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/number_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/number_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/number_type.ts diff --git a/packages/kbn-config-schema/src/types/object_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/object_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/object_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/object_type.test.ts diff --git a/packages/kbn-config-schema/src/types/object_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/object_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/object_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/object_type.ts diff --git a/packages/kbn-config-schema/src/types/record_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/record_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/record_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/record_type.test.ts diff --git a/packages/kbn-config-schema/src/types/record_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/record_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/record_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/record_type.ts diff --git a/packages/kbn-config-schema/src/types/stream_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/stream_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/stream_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/stream_type.test.ts diff --git a/packages/kbn-config-schema/src/types/stream_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/stream_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/stream_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/stream_type.ts diff --git a/packages/kbn-config-schema/src/types/string_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/string_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/string_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/string_type.test.ts diff --git a/packages/kbn-config-schema/src/types/string_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/string_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/string_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/string_type.ts diff --git a/packages/kbn-config-schema/src/types/type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/type.test.ts diff --git a/packages/kbn-config-schema/src/types/type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/type.ts diff --git a/packages/kbn-config-schema/src/types/union_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/union_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/union_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/union_type.test.ts diff --git a/packages/kbn-config-schema/src/types/union_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/union_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/union_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/union_type.ts diff --git a/packages/kbn-config-schema/src/types/uri_type.test.ts b/src/platform/packages/shared/kbn-config-schema/src/types/uri_type.test.ts similarity index 100% rename from packages/kbn-config-schema/src/types/uri_type.test.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/uri_type.test.ts diff --git a/packages/kbn-config-schema/src/types/uri_type.ts b/src/platform/packages/shared/kbn-config-schema/src/types/uri_type.ts similarity index 100% rename from packages/kbn-config-schema/src/types/uri_type.ts rename to src/platform/packages/shared/kbn-config-schema/src/types/uri_type.ts diff --git a/packages/kbn-config-schema/tsconfig.json b/src/platform/packages/shared/kbn-config-schema/tsconfig.json similarity index 80% rename from packages/kbn-config-schema/tsconfig.json rename to src/platform/packages/shared/kbn-config-schema/tsconfig.json index ffb5b09f86995..df789e68a009b 100644 --- a/packages/kbn-config-schema/tsconfig.json +++ b/src/platform/packages/shared/kbn-config-schema/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": true, diff --git a/packages/kbn-config-schema/types/joi.d.ts b/src/platform/packages/shared/kbn-config-schema/types/joi.d.ts similarity index 100% rename from packages/kbn-config-schema/types/joi.d.ts rename to src/platform/packages/shared/kbn-config-schema/types/joi.d.ts 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/src/platform/packages/shared/kbn-config/jest.config.js b/src/platform/packages/shared/kbn-config/jest.config.js new file mode 100644 index 0000000000000..12d831e0b3d24 --- /dev/null +++ b/src/platform/packages/shared/kbn-config/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/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 100% rename from packages/kbn-config/src/__fixtures__/unsplittable_2.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_2.yml 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 100% rename from packages/kbn-config/src/__fixtures__/unsplittable_3.yml rename to src/platform/packages/shared/kbn-config/src/__fixtures__/unsplittable_3.yml 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/packages/kbn-crypto-browser/BUILD.bazel b/src/platform/packages/shared/kbn-crypto-browser/BUILD.bazel similarity index 100% rename from packages/kbn-crypto-browser/BUILD.bazel rename to src/platform/packages/shared/kbn-crypto-browser/BUILD.bazel diff --git a/packages/kbn-crypto-browser/README.md b/src/platform/packages/shared/kbn-crypto-browser/README.md similarity index 100% rename from packages/kbn-crypto-browser/README.md rename to src/platform/packages/shared/kbn-crypto-browser/README.md diff --git a/packages/kbn-crypto-browser/index.ts b/src/platform/packages/shared/kbn-crypto-browser/index.ts similarity index 100% rename from packages/kbn-crypto-browser/index.ts rename to src/platform/packages/shared/kbn-crypto-browser/index.ts diff --git a/src/platform/packages/shared/kbn-crypto-browser/jest.config.js b/src/platform/packages/shared/kbn-crypto-browser/jest.config.js new file mode 100644 index 0000000000000..0e09faa8380cf --- /dev/null +++ b/src/platform/packages/shared/kbn-crypto-browser/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-crypto-browser'], +}; diff --git a/packages/kbn-crypto-browser/kibana.jsonc b/src/platform/packages/shared/kbn-crypto-browser/kibana.jsonc similarity index 100% rename from packages/kbn-crypto-browser/kibana.jsonc rename to src/platform/packages/shared/kbn-crypto-browser/kibana.jsonc diff --git a/packages/kbn-crypto-browser/package.json b/src/platform/packages/shared/kbn-crypto-browser/package.json similarity index 100% rename from packages/kbn-crypto-browser/package.json rename to src/platform/packages/shared/kbn-crypto-browser/package.json diff --git a/packages/kbn-crypto-browser/src/sha256.ts b/src/platform/packages/shared/kbn-crypto-browser/src/sha256.ts similarity index 100% rename from packages/kbn-crypto-browser/src/sha256.ts rename to src/platform/packages/shared/kbn-crypto-browser/src/sha256.ts diff --git a/src/platform/packages/shared/kbn-crypto-browser/tsconfig.json b/src/platform/packages/shared/kbn-crypto-browser/tsconfig.json new file mode 100644 index 0000000000000..131ff3e6bb433 --- /dev/null +++ b/src/platform/packages/shared/kbn-crypto-browser/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/kbn-ebt-tools/BUILD.bazel b/src/platform/packages/shared/kbn-ebt-tools/BUILD.bazel similarity index 100% rename from packages/kbn-ebt-tools/BUILD.bazel rename to src/platform/packages/shared/kbn-ebt-tools/BUILD.bazel diff --git a/packages/kbn-ebt-tools/README.md b/src/platform/packages/shared/kbn-ebt-tools/README.md similarity index 100% rename from packages/kbn-ebt-tools/README.md rename to src/platform/packages/shared/kbn-ebt-tools/README.md diff --git a/packages/kbn-ebt-tools/index.ts b/src/platform/packages/shared/kbn-ebt-tools/index.ts similarity index 100% rename from packages/kbn-ebt-tools/index.ts rename to src/platform/packages/shared/kbn-ebt-tools/index.ts diff --git a/src/platform/packages/shared/kbn-ebt-tools/jest.config.js b/src/platform/packages/shared/kbn-ebt-tools/jest.config.js new file mode 100644 index 0000000000000..7f223abdf2fc6 --- /dev/null +++ b/src/platform/packages/shared/kbn-ebt-tools/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-ebt-tools'], +}; diff --git a/packages/kbn-ebt-tools/kibana.jsonc b/src/platform/packages/shared/kbn-ebt-tools/kibana.jsonc similarity index 100% rename from packages/kbn-ebt-tools/kibana.jsonc rename to src/platform/packages/shared/kbn-ebt-tools/kibana.jsonc diff --git a/packages/kbn-ebt-tools/package.json b/src/platform/packages/shared/kbn-ebt-tools/package.json similarity index 100% rename from packages/kbn-ebt-tools/package.json rename to src/platform/packages/shared/kbn-ebt-tools/package.json diff --git a/packages/kbn-ebt-tools/src/performance_metric_events/helpers.test.ts b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metric_events/helpers.test.ts similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metric_events/helpers.test.ts rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metric_events/helpers.test.ts diff --git a/packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metric_events/helpers.ts similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metric_events/helpers.ts diff --git a/packages/kbn-ebt-tools/src/performance_metric_events/index.ts b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metric_events/index.ts similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metric_events/index.ts rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metric_events/index.ts diff --git a/packages/kbn-ebt-tools/src/performance_metric_events/schema.ts b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metric_events/schema.ts similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metric_events/schema.ts rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metric_events/schema.ts diff --git a/packages/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/index.ts b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/index.ts similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/index.ts rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/index.ts diff --git a/packages/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/measure_interaction.test.tsx b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/measure_interaction.test.tsx similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/measure_interaction.test.tsx rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/measure_interaction/measure_interaction.test.tsx diff --git a/packages/kbn-ebt-tools/src/performance_metrics/context/performance_context.tsx b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/performance_context.tsx similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metrics/context/performance_context.tsx rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/performance_context.tsx diff --git a/packages/kbn-ebt-tools/src/performance_metrics/context/use_page_ready.ts b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/use_page_ready.ts similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metrics/context/use_page_ready.ts rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/use_page_ready.ts diff --git a/packages/kbn-ebt-tools/src/performance_metrics/context/use_performance_context.tsx b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/use_performance_context.tsx similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metrics/context/use_performance_context.tsx rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/context/use_performance_context.tsx diff --git a/packages/kbn-ebt-tools/src/performance_metrics/index.tsx b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/index.tsx similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metrics/index.tsx rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/index.tsx diff --git a/packages/kbn-ebt-tools/src/performance_metrics/performance_markers.ts b/src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/performance_markers.ts similarity index 100% rename from packages/kbn-ebt-tools/src/performance_metrics/performance_markers.ts rename to src/platform/packages/shared/kbn-ebt-tools/src/performance_metrics/performance_markers.ts diff --git a/packages/kbn-ebt-tools/src/types/apm_rum_core.d.ts b/src/platform/packages/shared/kbn-ebt-tools/src/types/apm_rum_core.d.ts similarity index 100% rename from packages/kbn-ebt-tools/src/types/apm_rum_core.d.ts rename to src/platform/packages/shared/kbn-ebt-tools/src/types/apm_rum_core.d.ts diff --git a/packages/kbn-ebt-tools/tsconfig.json b/src/platform/packages/shared/kbn-ebt-tools/tsconfig.json similarity index 81% rename from packages/kbn-ebt-tools/tsconfig.json rename to src/platform/packages/shared/kbn-ebt-tools/tsconfig.json index f74f8991be327..7a784850a278b 100644 --- a/packages/kbn-ebt-tools/tsconfig.json +++ b/src/platform/packages/shared/kbn-ebt-tools/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node"] diff --git a/packages/kbn-es-errors/README.md b/src/platform/packages/shared/kbn-es-errors/README.md similarity index 100% rename from packages/kbn-es-errors/README.md rename to src/platform/packages/shared/kbn-es-errors/README.md diff --git a/packages/kbn-es-errors/index.ts b/src/platform/packages/shared/kbn-es-errors/index.ts similarity index 100% rename from packages/kbn-es-errors/index.ts rename to src/platform/packages/shared/kbn-es-errors/index.ts diff --git a/src/platform/packages/shared/kbn-es-errors/jest.config.js b/src/platform/packages/shared/kbn-es-errors/jest.config.js new file mode 100644 index 0000000000000..1366419656112 --- /dev/null +++ b/src/platform/packages/shared/kbn-es-errors/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-es-errors'], +}; diff --git a/packages/kbn-es-errors/kibana.jsonc b/src/platform/packages/shared/kbn-es-errors/kibana.jsonc similarity index 100% rename from packages/kbn-es-errors/kibana.jsonc rename to src/platform/packages/shared/kbn-es-errors/kibana.jsonc diff --git a/packages/kbn-es-errors/package.json b/src/platform/packages/shared/kbn-es-errors/package.json similarity index 100% rename from packages/kbn-es-errors/package.json rename to src/platform/packages/shared/kbn-es-errors/package.json diff --git a/packages/kbn-es-errors/src/errors.test.ts b/src/platform/packages/shared/kbn-es-errors/src/errors.test.ts similarity index 100% rename from packages/kbn-es-errors/src/errors.test.ts rename to src/platform/packages/shared/kbn-es-errors/src/errors.test.ts diff --git a/packages/kbn-es-errors/src/errors.ts b/src/platform/packages/shared/kbn-es-errors/src/errors.ts similarity index 100% rename from packages/kbn-es-errors/src/errors.ts rename to src/platform/packages/shared/kbn-es-errors/src/errors.ts diff --git a/packages/kbn-es-errors/src/types.ts b/src/platform/packages/shared/kbn-es-errors/src/types.ts similarity index 100% rename from packages/kbn-es-errors/src/types.ts rename to src/platform/packages/shared/kbn-es-errors/src/types.ts diff --git a/src/platform/packages/shared/kbn-es-errors/tsconfig.json b/src/platform/packages/shared/kbn-es-errors/tsconfig.json new file mode 100644 index 0000000000000..131ff3e6bb433 --- /dev/null +++ b/src/platform/packages/shared/kbn-es-errors/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/src/platform/packages/shared/kbn-es-query/BUILD.bazel b/src/platform/packages/shared/kbn-es-query/BUILD.bazel index 8d064f3e1262a..6e57bdfbea513 100644 --- a/src/platform/packages/shared/kbn-es-query/BUILD.bazel +++ b/src/platform/packages/shared/kbn-es-query/BUILD.bazel @@ -24,7 +24,7 @@ SRCS = glob( ) BUNDLER_DEPS = [ - "//packages/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n", "@npm//@elastic/elasticsearch", "@npm//load-json-file", "@npm//lodash", diff --git a/packages/kbn-es-types/README.md b/src/platform/packages/shared/kbn-es-types/README.md similarity index 100% rename from packages/kbn-es-types/README.md rename to src/platform/packages/shared/kbn-es-types/README.md diff --git a/packages/kbn-es-types/index.ts b/src/platform/packages/shared/kbn-es-types/index.ts similarity index 100% rename from packages/kbn-es-types/index.ts rename to src/platform/packages/shared/kbn-es-types/index.ts diff --git a/src/platform/packages/shared/kbn-es-types/jest.config.js b/src/platform/packages/shared/kbn-es-types/jest.config.js new file mode 100644 index 0000000000000..e9f81f1e10cbd --- /dev/null +++ b/src/platform/packages/shared/kbn-es-types/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-es-types'], +}; diff --git a/packages/kbn-es-types/kibana.jsonc b/src/platform/packages/shared/kbn-es-types/kibana.jsonc similarity index 100% rename from packages/kbn-es-types/kibana.jsonc rename to src/platform/packages/shared/kbn-es-types/kibana.jsonc diff --git a/packages/kbn-es-types/package.json b/src/platform/packages/shared/kbn-es-types/package.json similarity index 100% rename from packages/kbn-es-types/package.json rename to src/platform/packages/shared/kbn-es-types/package.json diff --git a/packages/kbn-es-types/src/index.ts b/src/platform/packages/shared/kbn-es-types/src/index.ts similarity index 100% rename from packages/kbn-es-types/src/index.ts rename to src/platform/packages/shared/kbn-es-types/src/index.ts diff --git a/packages/kbn-es-types/src/search.test.ts b/src/platform/packages/shared/kbn-es-types/src/search.test.ts similarity index 100% rename from packages/kbn-es-types/src/search.test.ts rename to src/platform/packages/shared/kbn-es-types/src/search.test.ts diff --git a/packages/kbn-es-types/src/search.ts b/src/platform/packages/shared/kbn-es-types/src/search.ts similarity index 100% rename from packages/kbn-es-types/src/search.ts rename to src/platform/packages/shared/kbn-es-types/src/search.ts diff --git a/packages/kbn-es-types/tsconfig.json b/src/platform/packages/shared/kbn-es-types/tsconfig.json similarity index 78% rename from packages/kbn-es-types/tsconfig.json rename to src/platform/packages/shared/kbn-es-types/tsconfig.json index b72f7b0a15c5c..d49872c3b2cf3 100644 --- a/packages/kbn-es-types/tsconfig.json +++ b/src/platform/packages/shared/kbn-es-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/platform/packages/shared/kbn-esql-validation-autocomplete/BUILD.bazel b/src/platform/packages/shared/kbn-esql-validation-autocomplete/BUILD.bazel index 1e956d1903dca..429bc5b8aaddd 100644 --- a/src/platform/packages/shared/kbn-esql-validation-autocomplete/BUILD.bazel +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/BUILD.bazel @@ -21,7 +21,7 @@ SRCS = glob( ) SHARED_DEPS = [ - "//packages/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n", "@npm//fastest-levenshtein", ] diff --git a/src/platform/packages/shared/kbn-flot-charts/BUILD.bazel b/src/platform/packages/shared/kbn-flot-charts/BUILD.bazel index 88b7b4a553e36..a5c98d8f65ded 100644 --- a/src/platform/packages/shared/kbn-flot-charts/BUILD.bazel +++ b/src/platform/packages/shared/kbn-flot-charts/BUILD.bazel @@ -22,7 +22,7 @@ NPM_MODULE_EXTRA_FILES = [ ] RUNTIME_DEPS = [ - "//packages/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n", ] js_library( diff --git a/packages/kbn-i18n-react/BUILD.bazel b/src/platform/packages/shared/kbn-i18n-react/BUILD.bazel similarity index 93% rename from packages/kbn-i18n-react/BUILD.bazel rename to src/platform/packages/shared/kbn-i18n-react/BUILD.bazel index 96b7ead491a34..38514770d3a62 100644 --- a/packages/kbn-i18n-react/BUILD.bazel +++ b/src/platform/packages/shared/kbn-i18n-react/BUILD.bazel @@ -21,7 +21,7 @@ SRCS = glob( ) BUNDLER_DEPS = [ - "//packages/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n", "@npm//prop-types", "@npm//react", "@npm//react-intl", diff --git a/packages/kbn-i18n-react/README.md b/src/platform/packages/shared/kbn-i18n-react/README.md similarity index 100% rename from packages/kbn-i18n-react/README.md rename to src/platform/packages/shared/kbn-i18n-react/README.md diff --git a/packages/kbn-i18n-react/index.tsx b/src/platform/packages/shared/kbn-i18n-react/index.tsx similarity index 100% rename from packages/kbn-i18n-react/index.tsx rename to src/platform/packages/shared/kbn-i18n-react/index.tsx diff --git a/src/platform/packages/shared/kbn-i18n-react/jest.config.js b/src/platform/packages/shared/kbn-i18n-react/jest.config.js new file mode 100644 index 0000000000000..3861b8c93894a --- /dev/null +++ b/src/platform/packages/shared/kbn-i18n-react/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-i18n-react'], +}; diff --git a/packages/kbn-i18n-react/kibana.jsonc b/src/platform/packages/shared/kbn-i18n-react/kibana.jsonc similarity index 100% rename from packages/kbn-i18n-react/kibana.jsonc rename to src/platform/packages/shared/kbn-i18n-react/kibana.jsonc diff --git a/packages/kbn-i18n-react/package.json b/src/platform/packages/shared/kbn-i18n-react/package.json similarity index 100% rename from packages/kbn-i18n-react/package.json rename to src/platform/packages/shared/kbn-i18n-react/package.json diff --git a/packages/kbn-i18n-react/src/__snapshots__/provider.test.tsx.snap b/src/platform/packages/shared/kbn-i18n-react/src/__snapshots__/provider.test.tsx.snap similarity index 100% rename from packages/kbn-i18n-react/src/__snapshots__/provider.test.tsx.snap rename to src/platform/packages/shared/kbn-i18n-react/src/__snapshots__/provider.test.tsx.snap diff --git a/packages/kbn-i18n-react/src/compatiblity_layer.tsx b/src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx similarity index 100% rename from packages/kbn-i18n-react/src/compatiblity_layer.tsx rename to src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx diff --git a/packages/kbn-i18n-react/src/inject.tsx b/src/platform/packages/shared/kbn-i18n-react/src/inject.tsx similarity index 100% rename from packages/kbn-i18n-react/src/inject.tsx rename to src/platform/packages/shared/kbn-i18n-react/src/inject.tsx diff --git a/packages/kbn-i18n-react/src/provider.test.tsx b/src/platform/packages/shared/kbn-i18n-react/src/provider.test.tsx similarity index 100% rename from packages/kbn-i18n-react/src/provider.test.tsx rename to src/platform/packages/shared/kbn-i18n-react/src/provider.test.tsx diff --git a/packages/kbn-i18n-react/src/provider.tsx b/src/platform/packages/shared/kbn-i18n-react/src/provider.tsx similarity index 100% rename from packages/kbn-i18n-react/src/provider.tsx rename to src/platform/packages/shared/kbn-i18n-react/src/provider.tsx diff --git a/packages/kbn-i18n-react/tsconfig.json b/src/platform/packages/shared/kbn-i18n-react/tsconfig.json similarity index 82% rename from packages/kbn-i18n-react/tsconfig.json rename to src/platform/packages/shared/kbn-i18n-react/tsconfig.json index 74fb754fc3d2d..9abdde569c6b1 100644 --- a/packages/kbn-i18n-react/tsconfig.json +++ b/src/platform/packages/shared/kbn-i18n-react/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-i18n/BUILD.bazel b/src/platform/packages/shared/kbn-i18n/BUILD.bazel similarity index 100% rename from packages/kbn-i18n/BUILD.bazel rename to src/platform/packages/shared/kbn-i18n/BUILD.bazel diff --git a/packages/kbn-i18n/GUIDELINE.md b/src/platform/packages/shared/kbn-i18n/GUIDELINE.md similarity index 100% rename from packages/kbn-i18n/GUIDELINE.md rename to src/platform/packages/shared/kbn-i18n/GUIDELINE.md diff --git a/packages/kbn-i18n/README.md b/src/platform/packages/shared/kbn-i18n/README.md similarity index 99% rename from packages/kbn-i18n/README.md rename to src/platform/packages/shared/kbn-i18n/README.md index 8492d8e12537f..342281adbbe7d 100644 --- a/packages/kbn-i18n/README.md +++ b/src/platform/packages/shared/kbn-i18n/README.md @@ -344,4 +344,4 @@ In order to simplify localization process, some additional tools were implemente - tool for verifying all translations have translatable strings and extracting default messages from templates - tool for verifying translation files and integrating them to Kibana -[I18n tools documentation](../../src/dev/i18n/README.md) +[I18n tools documentation](../../../../../src/dev/i18n/README.md) diff --git a/packages/kbn-i18n/index.ts b/src/platform/packages/shared/kbn-i18n/index.ts similarity index 100% rename from packages/kbn-i18n/index.ts rename to src/platform/packages/shared/kbn-i18n/index.ts diff --git a/src/platform/packages/shared/kbn-i18n/jest.config.js b/src/platform/packages/shared/kbn-i18n/jest.config.js new file mode 100644 index 0000000000000..306de4e3ec898 --- /dev/null +++ b/src/platform/packages/shared/kbn-i18n/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-i18n'], +}; diff --git a/packages/kbn-i18n/kibana.jsonc b/src/platform/packages/shared/kbn-i18n/kibana.jsonc similarity index 100% rename from packages/kbn-i18n/kibana.jsonc rename to src/platform/packages/shared/kbn-i18n/kibana.jsonc diff --git a/packages/kbn-i18n/package.json b/src/platform/packages/shared/kbn-i18n/package.json similarity index 100% rename from packages/kbn-i18n/package.json rename to src/platform/packages/shared/kbn-i18n/package.json diff --git a/packages/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en-US.json b/src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en-US.json similarity index 100% rename from packages/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en-US.json rename to src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en-US.json diff --git a/packages/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en.json b/src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en.json similarity index 100% rename from packages/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en.json rename to src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_1/translations/en.json diff --git a/packages/kbn-i18n/src/__fixtures__/test_plugin_2/translations/en.json b/src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_2/translations/en.json similarity index 100% rename from packages/kbn-i18n/src/__fixtures__/test_plugin_2/translations/en.json rename to src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_2/translations/en.json diff --git a/packages/kbn-i18n/src/__fixtures__/test_plugin_2/translations/fr.json b/src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_2/translations/fr.json similarity index 100% rename from packages/kbn-i18n/src/__fixtures__/test_plugin_2/translations/fr.json rename to src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_2/translations/fr.json diff --git a/packages/kbn-i18n/src/__fixtures__/test_plugin_2/translations/ru.json b/src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_2/translations/ru.json similarity index 100% rename from packages/kbn-i18n/src/__fixtures__/test_plugin_2/translations/ru.json rename to src/platform/packages/shared/kbn-i18n/src/__fixtures__/test_plugin_2/translations/ru.json diff --git a/packages/kbn-i18n/src/__snapshots__/loader.test.ts.snap b/src/platform/packages/shared/kbn-i18n/src/__snapshots__/loader.test.ts.snap similarity index 100% rename from packages/kbn-i18n/src/__snapshots__/loader.test.ts.snap rename to src/platform/packages/shared/kbn-i18n/src/__snapshots__/loader.test.ts.snap diff --git a/packages/kbn-i18n/src/browser.ts b/src/platform/packages/shared/kbn-i18n/src/browser.ts similarity index 100% rename from packages/kbn-i18n/src/browser.ts rename to src/platform/packages/shared/kbn-i18n/src/browser.ts diff --git a/packages/kbn-i18n/src/core/__snapshots__/i18n.test.ts.snap b/src/platform/packages/shared/kbn-i18n/src/core/__snapshots__/i18n.test.ts.snap similarity index 92% rename from packages/kbn-i18n/src/core/__snapshots__/i18n.test.ts.snap rename to src/platform/packages/shared/kbn-i18n/src/core/__snapshots__/i18n.test.ts.snap index 9f81b06a2c6a6..197eb35f34e2f 100644 --- a/packages/kbn-i18n/src/core/__snapshots__/i18n.test.ts.snap +++ b/src/platform/packages/shared/kbn-i18n/src/core/__snapshots__/i18n.test.ts.snap @@ -17,13 +17,13 @@ SyntaxError: INVALID_ARGUMENT_TYPE at /Users/bamieh/Bamieh/elastic/kibana/node_modules/@formatjs/intl/src/utils.js:115:20 at variadic (/Users/bamieh/Bamieh/elastic/kibana/node_modules/@formatjs/fast-memoize/index.js:37:28) at formatMessage (/Users/bamieh/Bamieh/elastic/kibana/node_modules/@formatjs/intl/src/message.js:72:39) - at Object.formatMessage [as translate] (/Users/bamieh/Bamieh/elastic/kibana/packages/kbn-i18n/src/core/i18n.ts:150:17) - at translate (/Users/bamieh/Bamieh/elastic/kibana/packages/kbn-i18n/src/core/i18n.test.ts:604:14) + at Object.formatMessage [as translate] (/Users/bamieh/Bamieh/elastic/kibana/src/platform/packages/shared/kbn-i18n/src/core/i18n.ts:150:17) + at translate (/Users/bamieh/Bamieh/elastic/kibana/src/platform/packages/shared/kbn-i18n/src/core/i18n.test.ts:604:14) at _toThrowErrorMatchingSnapshot (/Users/bamieh/Bamieh/elastic/kibana/node_modules/jest-snapshot/build/index.js:569:7) at Object.toThrowErrorMatchingSnapshot (/Users/bamieh/Bamieh/elastic/kibana/node_modules/jest-snapshot/build/index.js:469:10) at __EXTERNAL_MATCHER_TRAP__ (/Users/bamieh/Bamieh/elastic/kibana/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toThrowErrorMatchingSnapshot] (/Users/bamieh/Bamieh/elastic/kibana/node_modules/expect/build/index.js:326:15) - at Object.toThrowErrorMatchingSnapshot (/Users/bamieh/Bamieh/elastic/kibana/packages/kbn-i18n/src/core/i18n.test.ts:608:9) + at Object.toThrowErrorMatchingSnapshot (/Users/bamieh/Bamieh/elastic/kibana/src/platform/packages/shared/kbn-i18n/src/core/i18n.test.ts:608:9) at Promise.then.completed (/Users/bamieh/Bamieh/elastic/kibana/node_modules/jest-circus/build/utils.js:300:28) at new Promise () at callAsyncCircusFn (/Users/bamieh/Bamieh/elastic/kibana/node_modules/jest-circus/build/utils.js:233:10) @@ -71,13 +71,13 @@ Error: The intl string context variable \\"numPhotos\\" was not provided to the at IntlMessageFormat.formatToParts (/Users/bamieh/Bamieh/elastic/kibana/node_modules/intl-messageformat/src/core.js:120:51) at IntlMessageFormat.format (/Users/bamieh/Bamieh/elastic/kibana/node_modules/intl-messageformat/src/core.js:98:31) at formatMessage (/Users/bamieh/Bamieh/elastic/kibana/node_modules/@formatjs/intl/src/message.js:73:34) - at Object.formatMessage [as translate] (/Users/bamieh/Bamieh/elastic/kibana/packages/kbn-i18n/src/core/i18n.ts:150:17) - at translate (/Users/bamieh/Bamieh/elastic/kibana/packages/kbn-i18n/src/core/i18n.test.ts:432:14) + at Object.formatMessage [as translate] (/Users/bamieh/Bamieh/elastic/kibana/src/platform/packages/shared/kbn-i18n/src/core/i18n.ts:150:17) + at translate (/Users/bamieh/Bamieh/elastic/kibana/src/platform/packages/shared/kbn-i18n/src/core/i18n.test.ts:432:14) at _toThrowErrorMatchingSnapshot (/Users/bamieh/Bamieh/elastic/kibana/node_modules/jest-snapshot/build/index.js:569:7) at Object.toThrowErrorMatchingSnapshot (/Users/bamieh/Bamieh/elastic/kibana/node_modules/jest-snapshot/build/index.js:469:10) at __EXTERNAL_MATCHER_TRAP__ (/Users/bamieh/Bamieh/elastic/kibana/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toThrowErrorMatchingSnapshot] (/Users/bamieh/Bamieh/elastic/kibana/node_modules/expect/build/index.js:326:15) - at Object.toThrowErrorMatchingSnapshot (/Users/bamieh/Bamieh/elastic/kibana/packages/kbn-i18n/src/core/i18n.test.ts:440:9) + at Object.toThrowErrorMatchingSnapshot (/Users/bamieh/Bamieh/elastic/kibana/src/platform/packages/shared/kbn-i18n/src/core/i18n.test.ts:440:9) at Promise.then.completed (/Users/bamieh/Bamieh/elastic/kibana/node_modules/jest-circus/build/utils.js:300:28) at new Promise () at callAsyncCircusFn (/Users/bamieh/Bamieh/elastic/kibana/node_modules/jest-circus/build/utils.js:233:10) diff --git a/packages/kbn-i18n/src/core/error_handler.ts b/src/platform/packages/shared/kbn-i18n/src/core/error_handler.ts similarity index 100% rename from packages/kbn-i18n/src/core/error_handler.ts rename to src/platform/packages/shared/kbn-i18n/src/core/error_handler.ts diff --git a/packages/kbn-i18n/src/core/formats.ts b/src/platform/packages/shared/kbn-i18n/src/core/formats.ts similarity index 100% rename from packages/kbn-i18n/src/core/formats.ts rename to src/platform/packages/shared/kbn-i18n/src/core/formats.ts diff --git a/packages/kbn-i18n/src/core/i18n.test.ts b/src/platform/packages/shared/kbn-i18n/src/core/i18n.test.ts similarity index 100% rename from packages/kbn-i18n/src/core/i18n.test.ts rename to src/platform/packages/shared/kbn-i18n/src/core/i18n.test.ts diff --git a/packages/kbn-i18n/src/core/i18n.ts b/src/platform/packages/shared/kbn-i18n/src/core/i18n.ts similarity index 100% rename from packages/kbn-i18n/src/core/i18n.ts rename to src/platform/packages/shared/kbn-i18n/src/core/i18n.ts diff --git a/packages/kbn-i18n/src/core/index.ts b/src/platform/packages/shared/kbn-i18n/src/core/index.ts similarity index 100% rename from packages/kbn-i18n/src/core/index.ts rename to src/platform/packages/shared/kbn-i18n/src/core/index.ts diff --git a/packages/kbn-i18n/src/core/types.ts b/src/platform/packages/shared/kbn-i18n/src/core/types.ts similarity index 100% rename from packages/kbn-i18n/src/core/types.ts rename to src/platform/packages/shared/kbn-i18n/src/core/types.ts diff --git a/packages/kbn-i18n/src/loader.test.ts b/src/platform/packages/shared/kbn-i18n/src/loader.test.ts similarity index 100% rename from packages/kbn-i18n/src/loader.test.ts rename to src/platform/packages/shared/kbn-i18n/src/loader.test.ts diff --git a/packages/kbn-i18n/src/loader.ts b/src/platform/packages/shared/kbn-i18n/src/loader.ts similarity index 100% rename from packages/kbn-i18n/src/loader.ts rename to src/platform/packages/shared/kbn-i18n/src/loader.ts diff --git a/packages/kbn-i18n/src/translation.ts b/src/platform/packages/shared/kbn-i18n/src/translation.ts similarity index 100% rename from packages/kbn-i18n/src/translation.ts rename to src/platform/packages/shared/kbn-i18n/src/translation.ts diff --git a/packages/kbn-i18n/tsconfig.json b/src/platform/packages/shared/kbn-i18n/tsconfig.json similarity index 82% rename from packages/kbn-i18n/tsconfig.json rename to src/platform/packages/shared/kbn-i18n/tsconfig.json index 9939f46bea56c..d265dd6c7a51c 100644 --- a/packages/kbn-i18n/tsconfig.json +++ b/src/platform/packages/shared/kbn-i18n/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-logging-mocks/index.ts b/src/platform/packages/shared/kbn-logging-mocks/index.ts similarity index 100% rename from packages/kbn-logging-mocks/index.ts rename to src/platform/packages/shared/kbn-logging-mocks/index.ts diff --git a/packages/kbn-logging-mocks/kibana.jsonc b/src/platform/packages/shared/kbn-logging-mocks/kibana.jsonc similarity index 100% rename from packages/kbn-logging-mocks/kibana.jsonc rename to src/platform/packages/shared/kbn-logging-mocks/kibana.jsonc diff --git a/packages/kbn-logging-mocks/package.json b/src/platform/packages/shared/kbn-logging-mocks/package.json similarity index 100% rename from packages/kbn-logging-mocks/package.json rename to src/platform/packages/shared/kbn-logging-mocks/package.json diff --git a/packages/kbn-logging-mocks/src/logger.mock.ts b/src/platform/packages/shared/kbn-logging-mocks/src/logger.mock.ts similarity index 100% rename from packages/kbn-logging-mocks/src/logger.mock.ts rename to src/platform/packages/shared/kbn-logging-mocks/src/logger.mock.ts diff --git a/packages/kbn-logging-mocks/tsconfig.json b/src/platform/packages/shared/kbn-logging-mocks/tsconfig.json similarity index 82% rename from packages/kbn-logging-mocks/tsconfig.json rename to src/platform/packages/shared/kbn-logging-mocks/tsconfig.json index 10cff0e73883b..c101096106966 100644 --- a/packages/kbn-logging-mocks/tsconfig.json +++ b/src/platform/packages/shared/kbn-logging-mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-logging/README.md b/src/platform/packages/shared/kbn-logging/README.md similarity index 100% rename from packages/kbn-logging/README.md rename to src/platform/packages/shared/kbn-logging/README.md diff --git a/packages/kbn-logging/index.ts b/src/platform/packages/shared/kbn-logging/index.ts similarity index 100% rename from packages/kbn-logging/index.ts rename to src/platform/packages/shared/kbn-logging/index.ts diff --git a/src/platform/packages/shared/kbn-logging/jest.config.js b/src/platform/packages/shared/kbn-logging/jest.config.js new file mode 100644 index 0000000000000..8254c461effc1 --- /dev/null +++ b/src/platform/packages/shared/kbn-logging/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-logging'], +}; diff --git a/packages/kbn-logging/kibana.jsonc b/src/platform/packages/shared/kbn-logging/kibana.jsonc similarity index 100% rename from packages/kbn-logging/kibana.jsonc rename to src/platform/packages/shared/kbn-logging/kibana.jsonc diff --git a/packages/kbn-logging/package.json b/src/platform/packages/shared/kbn-logging/package.json similarity index 100% rename from packages/kbn-logging/package.json rename to src/platform/packages/shared/kbn-logging/package.json diff --git a/packages/kbn-logging/src/appenders.ts b/src/platform/packages/shared/kbn-logging/src/appenders.ts similarity index 100% rename from packages/kbn-logging/src/appenders.ts rename to src/platform/packages/shared/kbn-logging/src/appenders.ts diff --git a/packages/kbn-logging/src/layout.ts b/src/platform/packages/shared/kbn-logging/src/layout.ts similarity index 100% rename from packages/kbn-logging/src/layout.ts rename to src/platform/packages/shared/kbn-logging/src/layout.ts diff --git a/packages/kbn-logging/src/log_level.test.ts b/src/platform/packages/shared/kbn-logging/src/log_level.test.ts similarity index 100% rename from packages/kbn-logging/src/log_level.test.ts rename to src/platform/packages/shared/kbn-logging/src/log_level.test.ts diff --git a/packages/kbn-logging/src/log_level.ts b/src/platform/packages/shared/kbn-logging/src/log_level.ts similarity index 100% rename from packages/kbn-logging/src/log_level.ts rename to src/platform/packages/shared/kbn-logging/src/log_level.ts diff --git a/packages/kbn-logging/src/log_meta.ts b/src/platform/packages/shared/kbn-logging/src/log_meta.ts similarity index 100% rename from packages/kbn-logging/src/log_meta.ts rename to src/platform/packages/shared/kbn-logging/src/log_meta.ts diff --git a/packages/kbn-logging/src/log_record.ts b/src/platform/packages/shared/kbn-logging/src/log_record.ts similarity index 100% rename from packages/kbn-logging/src/log_record.ts rename to src/platform/packages/shared/kbn-logging/src/log_record.ts diff --git a/packages/kbn-logging/src/logger.ts b/src/platform/packages/shared/kbn-logging/src/logger.ts similarity index 100% rename from packages/kbn-logging/src/logger.ts rename to src/platform/packages/shared/kbn-logging/src/logger.ts diff --git a/packages/kbn-logging/src/logger_factory.ts b/src/platform/packages/shared/kbn-logging/src/logger_factory.ts similarity index 100% rename from packages/kbn-logging/src/logger_factory.ts rename to src/platform/packages/shared/kbn-logging/src/logger_factory.ts diff --git a/packages/kbn-logging/tsconfig.json b/src/platform/packages/shared/kbn-logging/tsconfig.json similarity index 81% rename from packages/kbn-logging/tsconfig.json rename to src/platform/packages/shared/kbn-logging/tsconfig.json index 0cd8de173ed4f..0d3f96d6a17b5 100644 --- a/packages/kbn-logging/tsconfig.json +++ b/src/platform/packages/shared/kbn-logging/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-router-to-openapispec/README.md b/src/platform/packages/shared/kbn-router-to-openapispec/README.md similarity index 100% rename from packages/kbn-router-to-openapispec/README.md rename to src/platform/packages/shared/kbn-router-to-openapispec/README.md diff --git a/packages/kbn-router-to-openapispec/index.ts b/src/platform/packages/shared/kbn-router-to-openapispec/index.ts similarity index 100% rename from packages/kbn-router-to-openapispec/index.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/index.ts diff --git a/src/platform/packages/shared/kbn-router-to-openapispec/jest.config.js b/src/platform/packages/shared/kbn-router-to-openapispec/jest.config.js new file mode 100644 index 0000000000000..8eb538c114952 --- /dev/null +++ b/src/platform/packages/shared/kbn-router-to-openapispec/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-router-to-openapispec'], +}; diff --git a/packages/kbn-router-to-openapispec/kibana.jsonc b/src/platform/packages/shared/kbn-router-to-openapispec/kibana.jsonc similarity index 100% rename from packages/kbn-router-to-openapispec/kibana.jsonc rename to src/platform/packages/shared/kbn-router-to-openapispec/kibana.jsonc diff --git a/packages/kbn-router-to-openapispec/openapi-types.d.ts b/src/platform/packages/shared/kbn-router-to-openapispec/openapi-types.d.ts similarity index 100% rename from packages/kbn-router-to-openapispec/openapi-types.d.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/openapi-types.d.ts diff --git a/packages/kbn-router-to-openapispec/package.json b/src/platform/packages/shared/kbn-router-to-openapispec/package.json similarity index 100% rename from packages/kbn-router-to-openapispec/package.json rename to src/platform/packages/shared/kbn-router-to-openapispec/package.json diff --git a/packages/kbn-router-to-openapispec/src/__snapshots__/generate_oas.test.ts.snap b/src/platform/packages/shared/kbn-router-to-openapispec/src/__snapshots__/generate_oas.test.ts.snap similarity index 100% rename from packages/kbn-router-to-openapispec/src/__snapshots__/generate_oas.test.ts.snap rename to src/platform/packages/shared/kbn-router-to-openapispec/src/__snapshots__/generate_oas.test.ts.snap diff --git a/packages/kbn-router-to-openapispec/src/extract_authz_description.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/extract_authz_description.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/extract_authz_description.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/extract_authz_description.test.ts diff --git a/packages/kbn-router-to-openapispec/src/extract_authz_description.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/extract_authz_description.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/extract_authz_description.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/extract_authz_description.ts diff --git a/packages/kbn-router-to-openapispec/src/generate_oas.test.fixture.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/generate_oas.test.fixture.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/generate_oas.test.fixture.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/generate_oas.test.fixture.ts diff --git a/packages/kbn-router-to-openapispec/src/generate_oas.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/generate_oas.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/generate_oas.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/generate_oas.test.ts diff --git a/packages/kbn-router-to-openapispec/src/generate_oas.test.util.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/generate_oas.test.util.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/generate_oas.test.util.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/generate_oas.test.util.ts diff --git a/packages/kbn-router-to-openapispec/src/generate_oas.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/generate_oas.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/generate_oas.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/generate_oas.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/catch_all.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/catch_all.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/catch_all.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/catch_all.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/common.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/common.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/common.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/common.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/common.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/common.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/common.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/common.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/index.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/index.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/index.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/index.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/index.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/index.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/index.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/index.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/index.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/index.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/index.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/index.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.util.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.util.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.util.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.test.util.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/lib.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/parse.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/context.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/object.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/utils.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/zod/index.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/zod/index.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/zod/index.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/zod/index.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.util.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.util.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.util.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/zod/lib.test.util.ts diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/zod/lib.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/zod/lib.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/oas_converter/zod/lib.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/oas_converter/zod/lib.ts diff --git a/packages/kbn-router-to-openapispec/src/process_router.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/process_router.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/process_router.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/process_router.test.ts diff --git a/packages/kbn-router-to-openapispec/src/process_router.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/process_router.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/process_router.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/process_router.ts diff --git a/packages/kbn-router-to-openapispec/src/process_versioned_router.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/process_versioned_router.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/process_versioned_router.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/process_versioned_router.test.ts diff --git a/packages/kbn-router-to-openapispec/src/process_versioned_router.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/process_versioned_router.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/process_versioned_router.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/process_versioned_router.ts diff --git a/packages/kbn-router-to-openapispec/src/type.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/type.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/type.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/type.ts diff --git a/packages/kbn-router-to-openapispec/src/util.test.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/util.test.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/util.test.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/util.test.ts diff --git a/packages/kbn-router-to-openapispec/src/util.ts b/src/platform/packages/shared/kbn-router-to-openapispec/src/util.ts similarity index 100% rename from packages/kbn-router-to-openapispec/src/util.ts rename to src/platform/packages/shared/kbn-router-to-openapispec/src/util.ts diff --git a/packages/kbn-router-to-openapispec/tsconfig.json b/src/platform/packages/shared/kbn-router-to-openapispec/tsconfig.json similarity index 86% rename from packages/kbn-router-to-openapispec/tsconfig.json rename to src/platform/packages/shared/kbn-router-to-openapispec/tsconfig.json index 3536a90a8256f..d33c70a6e4126 100644 --- a/packages/kbn-router-to-openapispec/tsconfig.json +++ b/src/platform/packages/shared/kbn-router-to-openapispec/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/platform/packages/shared/kbn-search-errors/BUILD.bazel b/src/platform/packages/shared/kbn-search-errors/BUILD.bazel index 7f462f59a85b7..068cfcf0630c7 100644 --- a/src/platform/packages/shared/kbn-search-errors/BUILD.bazel +++ b/src/platform/packages/shared/kbn-search-errors/BUILD.bazel @@ -22,7 +22,7 @@ SRCS = glob( ) BUNDLER_DEPS = [ - "//packages/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n", "@npm//@elastic/elasticsearch", "@npm//@elastic/eui", "@npm//react", diff --git a/packages/kbn-server-http-tools/README.md b/src/platform/packages/shared/kbn-server-http-tools/README.md similarity index 100% rename from packages/kbn-server-http-tools/README.md rename to src/platform/packages/shared/kbn-server-http-tools/README.md diff --git a/packages/kbn-server-http-tools/index.ts b/src/platform/packages/shared/kbn-server-http-tools/index.ts similarity index 100% rename from packages/kbn-server-http-tools/index.ts rename to src/platform/packages/shared/kbn-server-http-tools/index.ts diff --git a/src/platform/packages/shared/kbn-server-http-tools/jest.config.js b/src/platform/packages/shared/kbn-server-http-tools/jest.config.js new file mode 100644 index 0000000000000..47a7c47956a10 --- /dev/null +++ b/src/platform/packages/shared/kbn-server-http-tools/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-server-http-tools'], +}; diff --git a/packages/kbn-server-http-tools/kibana.jsonc b/src/platform/packages/shared/kbn-server-http-tools/kibana.jsonc similarity index 100% rename from packages/kbn-server-http-tools/kibana.jsonc rename to src/platform/packages/shared/kbn-server-http-tools/kibana.jsonc diff --git a/packages/kbn-server-http-tools/package.json b/src/platform/packages/shared/kbn-server-http-tools/package.json similarity index 100% rename from packages/kbn-server-http-tools/package.json rename to src/platform/packages/shared/kbn-server-http-tools/package.json diff --git a/packages/kbn-server-http-tools/src/create_server.ts b/src/platform/packages/shared/kbn-server-http-tools/src/create_server.ts similarity index 100% rename from packages/kbn-server-http-tools/src/create_server.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/create_server.ts diff --git a/packages/kbn-server-http-tools/src/default_validation_error_handler.test.ts b/src/platform/packages/shared/kbn-server-http-tools/src/default_validation_error_handler.test.ts similarity index 100% rename from packages/kbn-server-http-tools/src/default_validation_error_handler.test.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/default_validation_error_handler.test.ts diff --git a/packages/kbn-server-http-tools/src/default_validation_error_handler.ts b/src/platform/packages/shared/kbn-server-http-tools/src/default_validation_error_handler.ts similarity index 100% rename from packages/kbn-server-http-tools/src/default_validation_error_handler.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/default_validation_error_handler.ts diff --git a/packages/kbn-server-http-tools/src/get_listener.test.mocks.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_listener.test.mocks.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_listener.test.mocks.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_listener.test.mocks.ts diff --git a/packages/kbn-server-http-tools/src/get_listener.test.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_listener.test.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_listener.test.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_listener.test.ts diff --git a/packages/kbn-server-http-tools/src/get_listener.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_listener.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_listener.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_listener.ts diff --git a/packages/kbn-server-http-tools/src/get_request_id.test.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_request_id.test.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_request_id.test.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_request_id.test.ts diff --git a/packages/kbn-server-http-tools/src/get_request_id.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_request_id.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_request_id.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_request_id.ts diff --git a/packages/kbn-server-http-tools/src/get_server_options.test.mocks.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_server_options.test.mocks.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_server_options.test.mocks.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_server_options.test.mocks.ts diff --git a/packages/kbn-server-http-tools/src/get_server_options.test.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_server_options.test.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_server_options.test.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_server_options.test.ts diff --git a/packages/kbn-server-http-tools/src/get_server_options.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_server_options.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_server_options.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_server_options.ts diff --git a/packages/kbn-server-http-tools/src/get_tls_options.test.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_tls_options.test.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_tls_options.test.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_tls_options.test.ts diff --git a/packages/kbn-server-http-tools/src/get_tls_options.ts b/src/platform/packages/shared/kbn-server-http-tools/src/get_tls_options.ts similarity index 100% rename from packages/kbn-server-http-tools/src/get_tls_options.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/get_tls_options.ts diff --git a/packages/kbn-server-http-tools/src/set_tls_config.test.mocks.ts b/src/platform/packages/shared/kbn-server-http-tools/src/set_tls_config.test.mocks.ts similarity index 100% rename from packages/kbn-server-http-tools/src/set_tls_config.test.mocks.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/set_tls_config.test.mocks.ts diff --git a/packages/kbn-server-http-tools/src/set_tls_config.test.ts b/src/platform/packages/shared/kbn-server-http-tools/src/set_tls_config.test.ts similarity index 100% rename from packages/kbn-server-http-tools/src/set_tls_config.test.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/set_tls_config.test.ts diff --git a/packages/kbn-server-http-tools/src/set_tls_config.ts b/src/platform/packages/shared/kbn-server-http-tools/src/set_tls_config.ts similarity index 100% rename from packages/kbn-server-http-tools/src/set_tls_config.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/set_tls_config.ts diff --git a/packages/kbn-server-http-tools/src/ssl/constants.ts b/src/platform/packages/shared/kbn-server-http-tools/src/ssl/constants.ts similarity index 100% rename from packages/kbn-server-http-tools/src/ssl/constants.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/ssl/constants.ts diff --git a/packages/kbn-server-http-tools/src/ssl/index.ts b/src/platform/packages/shared/kbn-server-http-tools/src/ssl/index.ts similarity index 100% rename from packages/kbn-server-http-tools/src/ssl/index.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/ssl/index.ts diff --git a/packages/kbn-server-http-tools/src/ssl/ssl_config.test.mocks.ts b/src/platform/packages/shared/kbn-server-http-tools/src/ssl/ssl_config.test.mocks.ts similarity index 100% rename from packages/kbn-server-http-tools/src/ssl/ssl_config.test.mocks.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/ssl/ssl_config.test.mocks.ts diff --git a/packages/kbn-server-http-tools/src/ssl/ssl_config.test.ts b/src/platform/packages/shared/kbn-server-http-tools/src/ssl/ssl_config.test.ts similarity index 100% rename from packages/kbn-server-http-tools/src/ssl/ssl_config.test.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/ssl/ssl_config.test.ts diff --git a/packages/kbn-server-http-tools/src/ssl/ssl_config.ts b/src/platform/packages/shared/kbn-server-http-tools/src/ssl/ssl_config.ts similarity index 100% rename from packages/kbn-server-http-tools/src/ssl/ssl_config.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/ssl/ssl_config.ts diff --git a/packages/kbn-server-http-tools/src/types.ts b/src/platform/packages/shared/kbn-server-http-tools/src/types.ts similarity index 100% rename from packages/kbn-server-http-tools/src/types.ts rename to src/platform/packages/shared/kbn-server-http-tools/src/types.ts diff --git a/packages/kbn-server-http-tools/tsconfig.json b/src/platform/packages/shared/kbn-server-http-tools/tsconfig.json similarity index 83% rename from packages/kbn-server-http-tools/tsconfig.json rename to src/platform/packages/shared/kbn-server-http-tools/tsconfig.json index 179eec6f37c26..588997cc1a6e5 100644 --- a/packages/kbn-server-http-tools/tsconfig.json +++ b/src/platform/packages/shared/kbn-server-http-tools/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-std/BUILD.bazel b/src/platform/packages/shared/kbn-std/BUILD.bazel similarity index 100% rename from packages/kbn-std/BUILD.bazel rename to src/platform/packages/shared/kbn-std/BUILD.bazel diff --git a/packages/kbn-std/README.md b/src/platform/packages/shared/kbn-std/README.md similarity index 100% rename from packages/kbn-std/README.md rename to src/platform/packages/shared/kbn-std/README.md diff --git a/packages/kbn-std/index.ts b/src/platform/packages/shared/kbn-std/index.ts similarity index 100% rename from packages/kbn-std/index.ts rename to src/platform/packages/shared/kbn-std/index.ts diff --git a/src/platform/packages/shared/kbn-std/jest.config.js b/src/platform/packages/shared/kbn-std/jest.config.js new file mode 100644 index 0000000000000..c161cea12be7d --- /dev/null +++ b/src/platform/packages/shared/kbn-std/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-std'], +}; diff --git a/packages/kbn-std/kibana.jsonc b/src/platform/packages/shared/kbn-std/kibana.jsonc similarity index 100% rename from packages/kbn-std/kibana.jsonc rename to src/platform/packages/shared/kbn-std/kibana.jsonc diff --git a/packages/kbn-std/package.json b/src/platform/packages/shared/kbn-std/package.json similarity index 100% rename from packages/kbn-std/package.json rename to src/platform/packages/shared/kbn-std/package.json diff --git a/packages/kbn-std/src/__snapshots__/ensure_no_unsafe_properties.test.ts.snap b/src/platform/packages/shared/kbn-std/src/__snapshots__/ensure_no_unsafe_properties.test.ts.snap similarity index 100% rename from packages/kbn-std/src/__snapshots__/ensure_no_unsafe_properties.test.ts.snap rename to src/platform/packages/shared/kbn-std/src/__snapshots__/ensure_no_unsafe_properties.test.ts.snap diff --git a/packages/kbn-std/src/__snapshots__/get.test.ts.snap b/src/platform/packages/shared/kbn-std/src/__snapshots__/get.test.ts.snap similarity index 100% rename from packages/kbn-std/src/__snapshots__/get.test.ts.snap rename to src/platform/packages/shared/kbn-std/src/__snapshots__/get.test.ts.snap diff --git a/packages/kbn-std/src/assert_never.ts b/src/platform/packages/shared/kbn-std/src/assert_never.ts similarity index 100% rename from packages/kbn-std/src/assert_never.ts rename to src/platform/packages/shared/kbn-std/src/assert_never.ts diff --git a/packages/kbn-std/src/deep_freeze.test.ts b/src/platform/packages/shared/kbn-std/src/deep_freeze.test.ts similarity index 100% rename from packages/kbn-std/src/deep_freeze.test.ts rename to src/platform/packages/shared/kbn-std/src/deep_freeze.test.ts diff --git a/packages/kbn-std/src/deep_freeze.ts b/src/platform/packages/shared/kbn-std/src/deep_freeze.ts similarity index 100% rename from packages/kbn-std/src/deep_freeze.ts rename to src/platform/packages/shared/kbn-std/src/deep_freeze.ts diff --git a/packages/kbn-std/src/ensure_deep_object.test.ts b/src/platform/packages/shared/kbn-std/src/ensure_deep_object.test.ts similarity index 100% rename from packages/kbn-std/src/ensure_deep_object.test.ts rename to src/platform/packages/shared/kbn-std/src/ensure_deep_object.test.ts diff --git a/packages/kbn-std/src/ensure_deep_object.ts b/src/platform/packages/shared/kbn-std/src/ensure_deep_object.ts similarity index 100% rename from packages/kbn-std/src/ensure_deep_object.ts rename to src/platform/packages/shared/kbn-std/src/ensure_deep_object.ts diff --git a/packages/kbn-std/src/ensure_no_unsafe_properties.test.ts b/src/platform/packages/shared/kbn-std/src/ensure_no_unsafe_properties.test.ts similarity index 100% rename from packages/kbn-std/src/ensure_no_unsafe_properties.test.ts rename to src/platform/packages/shared/kbn-std/src/ensure_no_unsafe_properties.test.ts diff --git a/packages/kbn-std/src/ensure_no_unsafe_properties.ts b/src/platform/packages/shared/kbn-std/src/ensure_no_unsafe_properties.ts similarity index 100% rename from packages/kbn-std/src/ensure_no_unsafe_properties.ts rename to src/platform/packages/shared/kbn-std/src/ensure_no_unsafe_properties.ts diff --git a/packages/kbn-std/src/get.test.ts b/src/platform/packages/shared/kbn-std/src/get.test.ts similarity index 100% rename from packages/kbn-std/src/get.test.ts rename to src/platform/packages/shared/kbn-std/src/get.test.ts diff --git a/packages/kbn-std/src/get.ts b/src/platform/packages/shared/kbn-std/src/get.ts similarity index 100% rename from packages/kbn-std/src/get.ts rename to src/platform/packages/shared/kbn-std/src/get.ts diff --git a/packages/kbn-std/src/get_flattened_object.test.ts b/src/platform/packages/shared/kbn-std/src/get_flattened_object.test.ts similarity index 100% rename from packages/kbn-std/src/get_flattened_object.test.ts rename to src/platform/packages/shared/kbn-std/src/get_flattened_object.test.ts diff --git a/packages/kbn-std/src/get_flattened_object.ts b/src/platform/packages/shared/kbn-std/src/get_flattened_object.ts similarity index 100% rename from packages/kbn-std/src/get_flattened_object.ts rename to src/platform/packages/shared/kbn-std/src/get_flattened_object.ts diff --git a/packages/kbn-std/src/is_internal_url.test.ts b/src/platform/packages/shared/kbn-std/src/is_internal_url.test.ts similarity index 100% rename from packages/kbn-std/src/is_internal_url.test.ts rename to src/platform/packages/shared/kbn-std/src/is_internal_url.test.ts diff --git a/packages/kbn-std/src/is_internal_url.ts b/src/platform/packages/shared/kbn-std/src/is_internal_url.ts similarity index 100% rename from packages/kbn-std/src/is_internal_url.ts rename to src/platform/packages/shared/kbn-std/src/is_internal_url.ts diff --git a/packages/kbn-std/src/iteration/for_each.test.ts b/src/platform/packages/shared/kbn-std/src/iteration/for_each.test.ts similarity index 100% rename from packages/kbn-std/src/iteration/for_each.test.ts rename to src/platform/packages/shared/kbn-std/src/iteration/for_each.test.ts diff --git a/packages/kbn-std/src/iteration/for_each.ts b/src/platform/packages/shared/kbn-std/src/iteration/for_each.ts similarity index 100% rename from packages/kbn-std/src/iteration/for_each.ts rename to src/platform/packages/shared/kbn-std/src/iteration/for_each.ts diff --git a/packages/kbn-std/src/iteration/index.ts b/src/platform/packages/shared/kbn-std/src/iteration/index.ts similarity index 100% rename from packages/kbn-std/src/iteration/index.ts rename to src/platform/packages/shared/kbn-std/src/iteration/index.ts diff --git a/packages/kbn-std/src/iteration/map.test.ts b/src/platform/packages/shared/kbn-std/src/iteration/map.test.ts similarity index 100% rename from packages/kbn-std/src/iteration/map.test.ts rename to src/platform/packages/shared/kbn-std/src/iteration/map.test.ts diff --git a/packages/kbn-std/src/iteration/map.ts b/src/platform/packages/shared/kbn-std/src/iteration/map.ts similarity index 100% rename from packages/kbn-std/src/iteration/map.ts rename to src/platform/packages/shared/kbn-std/src/iteration/map.ts diff --git a/packages/kbn-std/src/iteration/observable.test.ts b/src/platform/packages/shared/kbn-std/src/iteration/observable.test.ts similarity index 100% rename from packages/kbn-std/src/iteration/observable.test.ts rename to src/platform/packages/shared/kbn-std/src/iteration/observable.test.ts diff --git a/packages/kbn-std/src/iteration/observable.ts b/src/platform/packages/shared/kbn-std/src/iteration/observable.ts similarity index 100% rename from packages/kbn-std/src/iteration/observable.ts rename to src/platform/packages/shared/kbn-std/src/iteration/observable.ts diff --git a/packages/kbn-std/src/iteration/test_helpers.ts b/src/platform/packages/shared/kbn-std/src/iteration/test_helpers.ts similarity index 100% rename from packages/kbn-std/src/iteration/test_helpers.ts rename to src/platform/packages/shared/kbn-std/src/iteration/test_helpers.ts diff --git a/packages/kbn-std/src/iteration/types.ts b/src/platform/packages/shared/kbn-std/src/iteration/types.ts similarity index 100% rename from packages/kbn-std/src/iteration/types.ts rename to src/platform/packages/shared/kbn-std/src/iteration/types.ts diff --git a/packages/kbn-std/src/map_to_object.ts b/src/platform/packages/shared/kbn-std/src/map_to_object.ts similarity index 100% rename from packages/kbn-std/src/map_to_object.ts rename to src/platform/packages/shared/kbn-std/src/map_to_object.ts diff --git a/packages/kbn-std/src/map_utils.test.ts b/src/platform/packages/shared/kbn-std/src/map_utils.test.ts similarity index 100% rename from packages/kbn-std/src/map_utils.test.ts rename to src/platform/packages/shared/kbn-std/src/map_utils.test.ts diff --git a/packages/kbn-std/src/map_utils.ts b/src/platform/packages/shared/kbn-std/src/map_utils.ts similarity index 100% rename from packages/kbn-std/src/map_utils.ts rename to src/platform/packages/shared/kbn-std/src/map_utils.ts diff --git a/packages/kbn-std/src/merge.test.ts b/src/platform/packages/shared/kbn-std/src/merge.test.ts similarity index 100% rename from packages/kbn-std/src/merge.test.ts rename to src/platform/packages/shared/kbn-std/src/merge.test.ts diff --git a/packages/kbn-std/src/merge.ts b/src/platform/packages/shared/kbn-std/src/merge.ts similarity index 100% rename from packages/kbn-std/src/merge.ts rename to src/platform/packages/shared/kbn-std/src/merge.ts diff --git a/packages/kbn-std/src/parse_next_url.test.ts b/src/platform/packages/shared/kbn-std/src/parse_next_url.test.ts similarity index 100% rename from packages/kbn-std/src/parse_next_url.test.ts rename to src/platform/packages/shared/kbn-std/src/parse_next_url.test.ts diff --git a/packages/kbn-std/src/parse_next_url.ts b/src/platform/packages/shared/kbn-std/src/parse_next_url.ts similarity index 100% rename from packages/kbn-std/src/parse_next_url.ts rename to src/platform/packages/shared/kbn-std/src/parse_next_url.ts diff --git a/packages/kbn-std/src/pick.test.ts b/src/platform/packages/shared/kbn-std/src/pick.test.ts similarity index 100% rename from packages/kbn-std/src/pick.test.ts rename to src/platform/packages/shared/kbn-std/src/pick.test.ts diff --git a/packages/kbn-std/src/pick.ts b/src/platform/packages/shared/kbn-std/src/pick.ts similarity index 100% rename from packages/kbn-std/src/pick.ts rename to src/platform/packages/shared/kbn-std/src/pick.ts diff --git a/packages/kbn-std/src/promise.test.ts b/src/platform/packages/shared/kbn-std/src/promise.test.ts similarity index 100% rename from packages/kbn-std/src/promise.test.ts rename to src/platform/packages/shared/kbn-std/src/promise.test.ts diff --git a/packages/kbn-std/src/promise.ts b/src/platform/packages/shared/kbn-std/src/promise.ts similarity index 100% rename from packages/kbn-std/src/promise.ts rename to src/platform/packages/shared/kbn-std/src/promise.ts diff --git a/packages/kbn-std/src/semaphore.test.ts b/src/platform/packages/shared/kbn-std/src/semaphore.test.ts similarity index 100% rename from packages/kbn-std/src/semaphore.test.ts rename to src/platform/packages/shared/kbn-std/src/semaphore.test.ts diff --git a/packages/kbn-std/src/semaphore.ts b/src/platform/packages/shared/kbn-std/src/semaphore.ts similarity index 100% rename from packages/kbn-std/src/semaphore.ts rename to src/platform/packages/shared/kbn-std/src/semaphore.ts diff --git a/packages/kbn-std/src/strip_version_qualifier.ts b/src/platform/packages/shared/kbn-std/src/strip_version_qualifier.ts similarity index 100% rename from packages/kbn-std/src/strip_version_qualifier.ts rename to src/platform/packages/shared/kbn-std/src/strip_version_qualifier.ts diff --git a/packages/kbn-std/src/url.test.ts b/src/platform/packages/shared/kbn-std/src/url.test.ts similarity index 100% rename from packages/kbn-std/src/url.test.ts rename to src/platform/packages/shared/kbn-std/src/url.test.ts diff --git a/packages/kbn-std/src/url.ts b/src/platform/packages/shared/kbn-std/src/url.ts similarity index 100% rename from packages/kbn-std/src/url.ts rename to src/platform/packages/shared/kbn-std/src/url.ts diff --git a/packages/kbn-std/tsconfig.json b/src/platform/packages/shared/kbn-std/tsconfig.json similarity index 82% rename from packages/kbn-std/tsconfig.json rename to src/platform/packages/shared/kbn-std/tsconfig.json index a293593c7b035..116d75b547c6c 100644 --- a/packages/kbn-std/tsconfig.json +++ b/src/platform/packages/shared/kbn-std/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-utility-types/README.md b/src/platform/packages/shared/kbn-utility-types/README.md similarity index 100% rename from packages/kbn-utility-types/README.md rename to src/platform/packages/shared/kbn-utility-types/README.md diff --git a/packages/kbn-utility-types/index.ts b/src/platform/packages/shared/kbn-utility-types/index.ts similarity index 100% rename from packages/kbn-utility-types/index.ts rename to src/platform/packages/shared/kbn-utility-types/index.ts diff --git a/packages/kbn-utility-types/kibana.jsonc b/src/platform/packages/shared/kbn-utility-types/kibana.jsonc similarity index 100% rename from packages/kbn-utility-types/kibana.jsonc rename to src/platform/packages/shared/kbn-utility-types/kibana.jsonc diff --git a/packages/kbn-utility-types/package.json b/src/platform/packages/shared/kbn-utility-types/package.json similarity index 71% rename from packages/kbn-utility-types/package.json rename to src/platform/packages/shared/kbn-utility-types/package.json index 6f88b2d74d0ff..1a53c8d0a879d 100644 --- a/packages/kbn-utility-types/package.json +++ b/src/platform/packages/shared/kbn-utility-types/package.json @@ -4,6 +4,6 @@ "private": true, "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0", "scripts": { - "test": "../../node_modules/.bin/tsd src/tsd_tests" + "test": "../../../../../node_modules/.bin/tsd src/tsd_tests" } } \ No newline at end of file diff --git a/packages/kbn-utility-types/src/dot.ts b/src/platform/packages/shared/kbn-utility-types/src/dot.ts similarity index 100% rename from packages/kbn-utility-types/src/dot.ts rename to src/platform/packages/shared/kbn-utility-types/src/dot.ts diff --git a/packages/kbn-utility-types/src/serializable/index.ts b/src/platform/packages/shared/kbn-utility-types/src/serializable/index.ts similarity index 100% rename from packages/kbn-utility-types/src/serializable/index.ts rename to src/platform/packages/shared/kbn-utility-types/src/serializable/index.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/empty.d.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/empty.d.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/empty.d.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/empty.d.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/package.json b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/package.json similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/package.json rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/package.json diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/dot.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/dot.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/dot.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/dot.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/method_keys_of.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/method_keys_of.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/method_keys_of.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/method_keys_of.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/public_contract.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/public_contract.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/public_contract.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/public_contract.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/public_keys.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/public_keys.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/public_keys.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/public_keys.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/public_methods_of.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/public_methods_of.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/public_methods_of.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/public_methods_of.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/shallow_promise.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/shallow_promise.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/shallow_promise.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/shallow_promise.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/union_to_intersection.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/union_to_intersection.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/union_to_intersection.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/union_to_intersection.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/unwrap_observable.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/unwrap_observable.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/unwrap_observable.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/unwrap_observable.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/values.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/values.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/values.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/values.ts diff --git a/packages/kbn-utility-types/src/tsd_tests/test_d/writable.ts b/src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/writable.ts similarity index 100% rename from packages/kbn-utility-types/src/tsd_tests/test_d/writable.ts rename to src/platform/packages/shared/kbn-utility-types/src/tsd_tests/test_d/writable.ts diff --git a/packages/kbn-utility-types/tsconfig.json b/src/platform/packages/shared/kbn-utility-types/tsconfig.json similarity index 77% rename from packages/kbn-utility-types/tsconfig.json rename to src/platform/packages/shared/kbn-utility-types/tsconfig.json index 7617ed166fe28..67cfaee8f112d 100644 --- a/packages/kbn-utility-types/tsconfig.json +++ b/src/platform/packages/shared/kbn-utility-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-zod/README.md b/src/platform/packages/shared/kbn-zod/README.md similarity index 100% rename from packages/kbn-zod/README.md rename to src/platform/packages/shared/kbn-zod/README.md diff --git a/packages/kbn-zod/index.ts b/src/platform/packages/shared/kbn-zod/index.ts similarity index 100% rename from packages/kbn-zod/index.ts rename to src/platform/packages/shared/kbn-zod/index.ts diff --git a/src/platform/packages/shared/kbn-zod/jest.config.js b/src/platform/packages/shared/kbn-zod/jest.config.js new file mode 100644 index 0000000000000..176ffddbe51d4 --- /dev/null +++ b/src/platform/packages/shared/kbn-zod/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-zod'], +}; diff --git a/packages/kbn-zod/kibana.jsonc b/src/platform/packages/shared/kbn-zod/kibana.jsonc similarity index 100% rename from packages/kbn-zod/kibana.jsonc rename to src/platform/packages/shared/kbn-zod/kibana.jsonc diff --git a/packages/kbn-zod/package.json b/src/platform/packages/shared/kbn-zod/package.json similarity index 100% rename from packages/kbn-zod/package.json rename to src/platform/packages/shared/kbn-zod/package.json diff --git a/packages/kbn-zod/tsconfig.json b/src/platform/packages/shared/kbn-zod/tsconfig.json similarity index 80% rename from packages/kbn-zod/tsconfig.json rename to src/platform/packages/shared/kbn-zod/tsconfig.json index 2f9ddddbeea23..7aba1b1a9378a 100644 --- a/packages/kbn-zod/tsconfig.json +++ b/src/platform/packages/shared/kbn-zod/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-zod/types.test.ts b/src/platform/packages/shared/kbn-zod/types.test.ts similarity index 100% rename from packages/kbn-zod/types.test.ts rename to src/platform/packages/shared/kbn-zod/types.test.ts diff --git a/packages/kbn-zod/types.ts b/src/platform/packages/shared/kbn-zod/types.ts similarity index 100% rename from packages/kbn-zod/types.ts rename to src/platform/packages/shared/kbn-zod/types.ts diff --git a/packages/kbn-zod/util.test.ts b/src/platform/packages/shared/kbn-zod/util.test.ts similarity index 100% rename from packages/kbn-zod/util.test.ts rename to src/platform/packages/shared/kbn-zod/util.test.ts diff --git a/packages/kbn-zod/util.ts b/src/platform/packages/shared/kbn-zod/util.ts similarity index 100% rename from packages/kbn-zod/util.ts rename to src/platform/packages/shared/kbn-zod/util.ts diff --git a/src/plugins/ftr_apis/README.md b/src/platform/plugins/private/ftr_apis/README.md similarity index 100% rename from src/plugins/ftr_apis/README.md rename to src/platform/plugins/private/ftr_apis/README.md diff --git a/src/plugins/kibana_usage_collection/jest.config.js b/src/platform/plugins/private/ftr_apis/jest.config.js similarity index 74% rename from src/plugins/kibana_usage_collection/jest.config.js rename to src/platform/plugins/private/ftr_apis/jest.config.js index 71f668d5712e3..63d378f9d73cd 100644 --- a/src/plugins/kibana_usage_collection/jest.config.js +++ b/src/platform/plugins/private/ftr_apis/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/kibana_usage_collection'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/kibana_usage_collection', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/ftr_apis'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/ftr_apis', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/kibana_usage_collection/{common,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/ftr_apis/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/src/plugins/ftr_apis/kibana.jsonc b/src/platform/plugins/private/ftr_apis/kibana.jsonc similarity index 100% rename from src/plugins/ftr_apis/kibana.jsonc rename to src/platform/plugins/private/ftr_apis/kibana.jsonc diff --git a/src/plugins/ftr_apis/server/config.ts b/src/platform/plugins/private/ftr_apis/server/config.ts similarity index 100% rename from src/plugins/ftr_apis/server/config.ts rename to src/platform/plugins/private/ftr_apis/server/config.ts diff --git a/src/plugins/ftr_apis/server/index.ts b/src/platform/plugins/private/ftr_apis/server/index.ts similarity index 100% rename from src/plugins/ftr_apis/server/index.ts rename to src/platform/plugins/private/ftr_apis/server/index.ts diff --git a/src/plugins/ftr_apis/server/plugin.ts b/src/platform/plugins/private/ftr_apis/server/plugin.ts similarity index 100% rename from src/plugins/ftr_apis/server/plugin.ts rename to src/platform/plugins/private/ftr_apis/server/plugin.ts diff --git a/src/plugins/ftr_apis/server/routes/index.ts b/src/platform/plugins/private/ftr_apis/server/routes/index.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/index.ts rename to src/platform/plugins/private/ftr_apis/server/routes/index.ts diff --git a/src/plugins/ftr_apis/server/routes/kbn_client_so/bulk_delete.ts b/src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/bulk_delete.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/kbn_client_so/bulk_delete.ts rename to src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/bulk_delete.ts diff --git a/src/plugins/ftr_apis/server/routes/kbn_client_so/clean.ts b/src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/clean.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/kbn_client_so/clean.ts rename to src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/clean.ts diff --git a/src/plugins/ftr_apis/server/routes/kbn_client_so/create.ts b/src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/create.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/kbn_client_so/create.ts rename to src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/create.ts diff --git a/src/plugins/ftr_apis/server/routes/kbn_client_so/delete.ts b/src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/delete.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/kbn_client_so/delete.ts rename to src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/delete.ts diff --git a/src/plugins/ftr_apis/server/routes/kbn_client_so/find.ts b/src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/find.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/kbn_client_so/find.ts rename to src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/find.ts diff --git a/src/plugins/ftr_apis/server/routes/kbn_client_so/get.ts b/src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/get.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/kbn_client_so/get.ts rename to src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/get.ts diff --git a/src/plugins/ftr_apis/server/routes/kbn_client_so/index.ts b/src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/index.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/kbn_client_so/index.ts rename to src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/index.ts diff --git a/src/plugins/ftr_apis/server/routes/kbn_client_so/update.ts b/src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/update.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/kbn_client_so/update.ts rename to src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/update.ts diff --git a/src/plugins/ftr_apis/server/routes/kbn_client_so/utils.ts b/src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/utils.ts similarity index 100% rename from src/plugins/ftr_apis/server/routes/kbn_client_so/utils.ts rename to src/platform/plugins/private/ftr_apis/server/routes/kbn_client_so/utils.ts diff --git a/src/plugins/ftr_apis/tsconfig.json b/src/platform/plugins/private/ftr_apis/tsconfig.json similarity index 84% rename from src/plugins/ftr_apis/tsconfig.json rename to src/platform/plugins/private/ftr_apis/tsconfig.json index 30044452e0a33..c55e8012a0fca 100644 --- a/src/plugins/ftr_apis/tsconfig.json +++ b/src/platform/plugins/private/ftr_apis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/kibana_usage_collection/README.md b/src/platform/plugins/private/kibana_usage_collection/README.md similarity index 100% rename from src/plugins/kibana_usage_collection/README.md rename to src/platform/plugins/private/kibana_usage_collection/README.md diff --git a/src/plugins/kibana_usage_collection/common/constants.ts b/src/platform/plugins/private/kibana_usage_collection/common/constants.ts similarity index 100% rename from src/plugins/kibana_usage_collection/common/constants.ts rename to src/platform/plugins/private/kibana_usage_collection/common/constants.ts diff --git a/src/platform/plugins/private/kibana_usage_collection/jest.config.js b/src/platform/plugins/private/kibana_usage_collection/jest.config.js new file mode 100644 index 0000000000000..2c9fca5b373a6 --- /dev/null +++ b/src/platform/plugins/private/kibana_usage_collection/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/kibana_usage_collection'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/kibana_usage_collection', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/kibana_usage_collection/{common,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/usage_collection/jest.integration.config.js b/src/platform/plugins/private/kibana_usage_collection/jest.integration.config.js similarity index 83% rename from src/plugins/usage_collection/jest.integration.config.js rename to src/platform/plugins/private/kibana_usage_collection/jest.integration.config.js index d2894f9dcef95..8bf4e92b730a1 100644 --- a/src/plugins/usage_collection/jest.integration.config.js +++ b/src/platform/plugins/private/kibana_usage_collection/jest.integration.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/src/plugins/usage_collection'], + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/kibana_usage_collection'], }; diff --git a/src/plugins/kibana_usage_collection/kibana.jsonc b/src/platform/plugins/private/kibana_usage_collection/kibana.jsonc similarity index 100% rename from src/plugins/kibana_usage_collection/kibana.jsonc rename to src/platform/plugins/private/kibana_usage_collection/kibana.jsonc diff --git a/src/plugins/kibana_usage_collection/public/ebt_counters/README.md b/src/platform/plugins/private/kibana_usage_collection/public/ebt_counters/README.md similarity index 100% rename from src/plugins/kibana_usage_collection/public/ebt_counters/README.md rename to src/platform/plugins/private/kibana_usage_collection/public/ebt_counters/README.md diff --git a/src/plugins/kibana_usage_collection/public/ebt_counters/index.ts b/src/platform/plugins/private/kibana_usage_collection/public/ebt_counters/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/public/ebt_counters/index.ts rename to src/platform/plugins/private/kibana_usage_collection/public/ebt_counters/index.ts diff --git a/src/plugins/kibana_usage_collection/public/ebt_counters/register_ebt_counters.test.ts b/src/platform/plugins/private/kibana_usage_collection/public/ebt_counters/register_ebt_counters.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/public/ebt_counters/register_ebt_counters.test.ts rename to src/platform/plugins/private/kibana_usage_collection/public/ebt_counters/register_ebt_counters.test.ts diff --git a/src/plugins/kibana_usage_collection/public/ebt_counters/register_ebt_counters.ts b/src/platform/plugins/private/kibana_usage_collection/public/ebt_counters/register_ebt_counters.ts similarity index 100% rename from src/plugins/kibana_usage_collection/public/ebt_counters/register_ebt_counters.ts rename to src/platform/plugins/private/kibana_usage_collection/public/ebt_counters/register_ebt_counters.ts diff --git a/src/plugins/kibana_usage_collection/public/index.ts b/src/platform/plugins/private/kibana_usage_collection/public/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/public/index.ts rename to src/platform/plugins/private/kibana_usage_collection/public/index.ts diff --git a/src/plugins/kibana_usage_collection/public/plugin.test.mocks.ts b/src/platform/plugins/private/kibana_usage_collection/public/plugin.test.mocks.ts similarity index 100% rename from src/plugins/kibana_usage_collection/public/plugin.test.mocks.ts rename to src/platform/plugins/private/kibana_usage_collection/public/plugin.test.mocks.ts diff --git a/src/plugins/kibana_usage_collection/public/plugin.test.ts b/src/platform/plugins/private/kibana_usage_collection/public/plugin.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/public/plugin.test.ts rename to src/platform/plugins/private/kibana_usage_collection/public/plugin.test.ts diff --git a/src/plugins/kibana_usage_collection/public/plugin.ts b/src/platform/plugins/private/kibana_usage_collection/public/plugin.ts similarity index 100% rename from src/plugins/kibana_usage_collection/public/plugin.ts rename to src/platform/plugins/private/kibana_usage_collection/public/plugin.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/README.md b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/README.md similarity index 98% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/README.md rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/README.md index 9b2c6690626fd..51ed904e3acfa 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/application_usage/README.md +++ b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/README.md @@ -56,7 +56,7 @@ class MyPlugin implements Plugin { Then, for every component inside the app that requires tracking the time it is on screen, and the number of general clicks: ```typescript jsx -import { TrackApplicationView } from 'src/plugins/usage_collection/public'; +import { TrackApplicationView } from 'src/platform/plugins/shared/usage_collection/public'; const MyTrackedComponent = () => { return ( diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/constants.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/constants.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/constants.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/constants.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/rollups/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/rollups/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/rollups/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/rollups/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/rollups/total.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/rollups/total.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/rollups/total.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/rollups/total.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/rollups/total.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/rollups/total.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/rollups/total.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/rollups/total.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/rollups/utils.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/rollups/utils.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/rollups/utils.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/rollups/utils.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/saved_objects_types.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/saved_objects_types.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/saved_objects_types.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/saved_objects_types.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/schema.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/schema.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/schema.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/schema.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/types.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/types.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/application_usage/types.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/types.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.mocks.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.mocks.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.mocks.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.mocks.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/cloud_provider_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/aws.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/aws.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/aws.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/aws.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/azure.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/azure.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/azure.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/azure.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.mock.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.mock.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.mock.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.mock.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_response.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/gcp.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/gcp.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/gcp.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/gcp.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/detector/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/detector/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/cloud/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/cloud/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/common/__fixtures__/counters_saved_objects.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/common/__fixtures__/counters_saved_objects.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/common/__fixtures__/counters_saved_objects.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/common/__fixtures__/counters_saved_objects.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/common/counters.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/common/counters.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/common/counters.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/common/counters.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/common/counters.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/common/counters.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/common/counters.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/common/counters.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/config_usage/README.md b/src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/README.md similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/config_usage/README.md rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/README.md diff --git a/src/plugins/kibana_usage_collection/server/collectors/config_usage/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/config_usage/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/core/core_usage_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/core/core_usage_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/core/core_usage_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/core/core_usage_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/core/core_usage_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/core/core_usage_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/core/core_usage_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/core/core_usage_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/core/fetch_deprecated_api_counters.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/core/fetch_deprecated_api_counters.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/core/fetch_deprecated_api_counters.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/core/fetch_deprecated_api_counters.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/core/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/core/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/core/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/core/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/csp/csp_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/csp/csp_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/csp/csp_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/csp/csp_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/csp/csp_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/csp/csp_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/csp/csp_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/csp/csp_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/csp/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/csp/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/csp/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/csp/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/constants.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/constants.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/constants.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/constants.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/event_loop_delays_usage_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/rollups/daily.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/rollups/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/rollups/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/rollups/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/rollups/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/rollups/integration_tests/daily_rollups.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/rollups/integration_tests/daily_rollups.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/rollups/integration_tests/daily_rollups.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/rollups/integration_tests/daily_rollups.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/schema.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/schema.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/schema.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/schema.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/track_delays.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/event_loop_delays/track_threshold.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/localization/file_integrity.test.mocks.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/file_integrity.test.mocks.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/localization/file_integrity.test.mocks.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/file_integrity.test.mocks.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/localization/file_integrity.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/file_integrity.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/localization/file_integrity.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/file_integrity.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/localization/file_integrity.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/file_integrity.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/localization/file_integrity.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/file_integrity.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/localization/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/localization/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/localization/telemetry_localization_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/README.md b/src/platform/plugins/private/kibana_usage_collection/server/collectors/management/README.md similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/management/README.md rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/management/README.md diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/management/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/management/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/management/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/management/schema.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/management/schema.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/management/schema.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/telemetry_management_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/management/telemetry_management_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/management/telemetry_management_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/management/telemetry_management_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/telemetry_management_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/management/telemetry_management_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/management/telemetry_management_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/management/telemetry_management_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/management/types.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/management/types.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/management/types.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ops_stats/__snapshots__/ops_stats_collector.test.ts.snap b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ops_stats/__snapshots__/ops_stats_collector.test.ts.snap similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ops_stats/__snapshots__/ops_stats_collector.test.ts.snap rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ops_stats/__snapshots__/ops_stats_collector.test.ts.snap diff --git a/src/plugins/kibana_usage_collection/server/collectors/ops_stats/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ops_stats/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ops_stats/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ops_stats/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/get_saved_object_counts.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/get_saved_object_counts/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count.test.mocks.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count.test.mocks.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count.test.mocks.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count.test.mocks.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/saved_objects_counts/saved_objects_count_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ui_counters/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_counters/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ui_counters/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_counters/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_counters/register_ui_counters_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ui_metric/index.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_metric/index.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ui_metric/index.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_metric/index.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ui_metric/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_metric/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ui_metric/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_metric/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ui_metric/schema.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_metric/schema.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ui_metric/schema.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_metric/schema.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/usage_counters/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/usage_counters/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/usage_counters/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/usage_counters/index.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.test.ts diff --git a/src/plugins/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.ts b/src/platform/plugins/private/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.ts rename to src/platform/plugins/private/kibana_usage_collection/server/collectors/usage_counters/register_usage_counters_collector.ts diff --git a/src/plugins/kibana_usage_collection/server/ebt_counters/README.md b/src/platform/plugins/private/kibana_usage_collection/server/ebt_counters/README.md similarity index 100% rename from src/plugins/kibana_usage_collection/server/ebt_counters/README.md rename to src/platform/plugins/private/kibana_usage_collection/server/ebt_counters/README.md diff --git a/src/plugins/kibana_usage_collection/server/ebt_counters/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/ebt_counters/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/ebt_counters/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/ebt_counters/index.ts diff --git a/src/plugins/kibana_usage_collection/server/ebt_counters/register_ebt_counters.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/ebt_counters/register_ebt_counters.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/ebt_counters/register_ebt_counters.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/ebt_counters/register_ebt_counters.test.ts diff --git a/src/plugins/kibana_usage_collection/server/ebt_counters/register_ebt_counters.ts b/src/platform/plugins/private/kibana_usage_collection/server/ebt_counters/register_ebt_counters.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/ebt_counters/register_ebt_counters.ts rename to src/platform/plugins/private/kibana_usage_collection/server/ebt_counters/register_ebt_counters.ts diff --git a/src/plugins/kibana_usage_collection/server/index.ts b/src/platform/plugins/private/kibana_usage_collection/server/index.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/index.ts rename to src/platform/plugins/private/kibana_usage_collection/server/index.ts diff --git a/src/plugins/kibana_usage_collection/server/plugin.test.mocks.ts b/src/platform/plugins/private/kibana_usage_collection/server/plugin.test.mocks.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/plugin.test.mocks.ts rename to src/platform/plugins/private/kibana_usage_collection/server/plugin.test.mocks.ts diff --git a/src/plugins/kibana_usage_collection/server/plugin.test.ts b/src/platform/plugins/private/kibana_usage_collection/server/plugin.test.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/plugin.test.ts rename to src/platform/plugins/private/kibana_usage_collection/server/plugin.test.ts diff --git a/src/plugins/kibana_usage_collection/server/plugin.ts b/src/platform/plugins/private/kibana_usage_collection/server/plugin.ts similarity index 100% rename from src/plugins/kibana_usage_collection/server/plugin.ts rename to src/platform/plugins/private/kibana_usage_collection/server/plugin.ts diff --git a/src/plugins/kibana_usage_collection/tsconfig.json b/src/platform/plugins/private/kibana_usage_collection/tsconfig.json similarity index 84% rename from src/plugins/kibana_usage_collection/tsconfig.json rename to src/platform/plugins/private/kibana_usage_collection/tsconfig.json index 2fb915d541052..9b489fc4f944f 100644 --- a/src/plugins/kibana_usage_collection/tsconfig.json +++ b/src/platform/plugins/private/kibana_usage_collection/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true @@ -8,7 +8,7 @@ "common/*", "public/**/**/*", "server/**/**/*", - "../../../typings/*" + "../../../../../typings/*" ], "kbn_references": [ "@kbn/core", diff --git a/src/plugins/newsfeed/README.md b/src/platform/plugins/shared/newsfeed/README.md similarity index 100% rename from src/plugins/newsfeed/README.md rename to src/platform/plugins/shared/newsfeed/README.md diff --git a/src/plugins/newsfeed/common/constants.ts b/src/platform/plugins/shared/newsfeed/common/constants.ts similarity index 100% rename from src/plugins/newsfeed/common/constants.ts rename to src/platform/plugins/shared/newsfeed/common/constants.ts diff --git a/src/plugins/saved_objects_management/jest.config.js b/src/platform/plugins/shared/newsfeed/jest.config.js similarity index 78% rename from src/plugins/saved_objects_management/jest.config.js rename to src/platform/plugins/shared/newsfeed/jest.config.js index 19018815ad26d..bcc6118c20e4b 100644 --- a/src/plugins/saved_objects_management/jest.config.js +++ b/src/platform/plugins/shared/newsfeed/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/saved_objects_management'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/saved_objects_management', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/newsfeed'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/newsfeed', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/saved_objects_management/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/newsfeed/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/newsfeed/kibana.jsonc b/src/platform/plugins/shared/newsfeed/kibana.jsonc similarity index 100% rename from src/plugins/newsfeed/kibana.jsonc rename to src/platform/plugins/shared/newsfeed/kibana.jsonc diff --git a/src/plugins/newsfeed/public/components/__snapshots__/empty_news.test.tsx.snap b/src/platform/plugins/shared/newsfeed/public/components/__snapshots__/empty_news.test.tsx.snap similarity index 100% rename from src/plugins/newsfeed/public/components/__snapshots__/empty_news.test.tsx.snap rename to src/platform/plugins/shared/newsfeed/public/components/__snapshots__/empty_news.test.tsx.snap diff --git a/src/plugins/newsfeed/public/components/__snapshots__/loading_news.test.tsx.snap b/src/platform/plugins/shared/newsfeed/public/components/__snapshots__/loading_news.test.tsx.snap similarity index 100% rename from src/plugins/newsfeed/public/components/__snapshots__/loading_news.test.tsx.snap rename to src/platform/plugins/shared/newsfeed/public/components/__snapshots__/loading_news.test.tsx.snap diff --git a/src/plugins/newsfeed/public/components/empty_news.test.tsx b/src/platform/plugins/shared/newsfeed/public/components/empty_news.test.tsx similarity index 100% rename from src/plugins/newsfeed/public/components/empty_news.test.tsx rename to src/platform/plugins/shared/newsfeed/public/components/empty_news.test.tsx diff --git a/src/plugins/newsfeed/public/components/empty_news.tsx b/src/platform/plugins/shared/newsfeed/public/components/empty_news.tsx similarity index 100% rename from src/plugins/newsfeed/public/components/empty_news.tsx rename to src/platform/plugins/shared/newsfeed/public/components/empty_news.tsx diff --git a/src/plugins/newsfeed/public/components/flyout_list.tsx b/src/platform/plugins/shared/newsfeed/public/components/flyout_list.tsx similarity index 100% rename from src/plugins/newsfeed/public/components/flyout_list.tsx rename to src/platform/plugins/shared/newsfeed/public/components/flyout_list.tsx diff --git a/src/plugins/newsfeed/public/components/loading_news.test.tsx b/src/platform/plugins/shared/newsfeed/public/components/loading_news.test.tsx similarity index 100% rename from src/plugins/newsfeed/public/components/loading_news.test.tsx rename to src/platform/plugins/shared/newsfeed/public/components/loading_news.test.tsx diff --git a/src/plugins/newsfeed/public/components/loading_news.tsx b/src/platform/plugins/shared/newsfeed/public/components/loading_news.tsx similarity index 100% rename from src/plugins/newsfeed/public/components/loading_news.tsx rename to src/platform/plugins/shared/newsfeed/public/components/loading_news.tsx diff --git a/src/plugins/newsfeed/public/components/newsfeed_header_nav_button.tsx b/src/platform/plugins/shared/newsfeed/public/components/newsfeed_header_nav_button.tsx similarity index 100% rename from src/plugins/newsfeed/public/components/newsfeed_header_nav_button.tsx rename to src/platform/plugins/shared/newsfeed/public/components/newsfeed_header_nav_button.tsx diff --git a/src/plugins/newsfeed/public/index.ts b/src/platform/plugins/shared/newsfeed/public/index.ts similarity index 100% rename from src/plugins/newsfeed/public/index.ts rename to src/platform/plugins/shared/newsfeed/public/index.ts diff --git a/src/plugins/newsfeed/public/lib/api.test.mocks.ts b/src/platform/plugins/shared/newsfeed/public/lib/api.test.mocks.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/api.test.mocks.ts rename to src/platform/plugins/shared/newsfeed/public/lib/api.test.mocks.ts diff --git a/src/plugins/newsfeed/public/lib/api.test.ts b/src/platform/plugins/shared/newsfeed/public/lib/api.test.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/api.test.ts rename to src/platform/plugins/shared/newsfeed/public/lib/api.test.ts diff --git a/src/plugins/newsfeed/public/lib/api.ts b/src/platform/plugins/shared/newsfeed/public/lib/api.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/api.ts rename to src/platform/plugins/shared/newsfeed/public/lib/api.ts diff --git a/src/plugins/newsfeed/public/lib/convert_items.test.ts b/src/platform/plugins/shared/newsfeed/public/lib/convert_items.test.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/convert_items.test.ts rename to src/platform/plugins/shared/newsfeed/public/lib/convert_items.test.ts diff --git a/src/plugins/newsfeed/public/lib/convert_items.ts b/src/platform/plugins/shared/newsfeed/public/lib/convert_items.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/convert_items.ts rename to src/platform/plugins/shared/newsfeed/public/lib/convert_items.ts diff --git a/src/plugins/newsfeed/public/lib/driver.mock.ts b/src/platform/plugins/shared/newsfeed/public/lib/driver.mock.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/driver.mock.ts rename to src/platform/plugins/shared/newsfeed/public/lib/driver.mock.ts diff --git a/src/plugins/newsfeed/public/lib/driver.test.mocks.ts b/src/platform/plugins/shared/newsfeed/public/lib/driver.test.mocks.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/driver.test.mocks.ts rename to src/platform/plugins/shared/newsfeed/public/lib/driver.test.mocks.ts diff --git a/src/plugins/newsfeed/public/lib/driver.test.ts b/src/platform/plugins/shared/newsfeed/public/lib/driver.test.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/driver.test.ts rename to src/platform/plugins/shared/newsfeed/public/lib/driver.test.ts diff --git a/src/plugins/newsfeed/public/lib/driver.ts b/src/platform/plugins/shared/newsfeed/public/lib/driver.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/driver.ts rename to src/platform/plugins/shared/newsfeed/public/lib/driver.ts diff --git a/src/plugins/newsfeed/public/lib/never_fetch_driver.ts b/src/platform/plugins/shared/newsfeed/public/lib/never_fetch_driver.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/never_fetch_driver.ts rename to src/platform/plugins/shared/newsfeed/public/lib/never_fetch_driver.ts diff --git a/src/plugins/newsfeed/public/lib/storage.mock.ts b/src/platform/plugins/shared/newsfeed/public/lib/storage.mock.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/storage.mock.ts rename to src/platform/plugins/shared/newsfeed/public/lib/storage.mock.ts diff --git a/src/plugins/newsfeed/public/lib/storage.test.ts b/src/platform/plugins/shared/newsfeed/public/lib/storage.test.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/storage.test.ts rename to src/platform/plugins/shared/newsfeed/public/lib/storage.test.ts diff --git a/src/plugins/newsfeed/public/lib/storage.ts b/src/platform/plugins/shared/newsfeed/public/lib/storage.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/storage.ts rename to src/platform/plugins/shared/newsfeed/public/lib/storage.ts diff --git a/src/plugins/newsfeed/public/lib/types.ts b/src/platform/plugins/shared/newsfeed/public/lib/types.ts similarity index 100% rename from src/plugins/newsfeed/public/lib/types.ts rename to src/platform/plugins/shared/newsfeed/public/lib/types.ts diff --git a/src/plugins/newsfeed/public/plugin.test.ts b/src/platform/plugins/shared/newsfeed/public/plugin.test.ts similarity index 100% rename from src/plugins/newsfeed/public/plugin.test.ts rename to src/platform/plugins/shared/newsfeed/public/plugin.test.ts diff --git a/src/plugins/newsfeed/public/plugin.tsx b/src/platform/plugins/shared/newsfeed/public/plugin.tsx similarity index 100% rename from src/plugins/newsfeed/public/plugin.tsx rename to src/platform/plugins/shared/newsfeed/public/plugin.tsx diff --git a/src/plugins/newsfeed/public/types.ts b/src/platform/plugins/shared/newsfeed/public/types.ts similarity index 100% rename from src/plugins/newsfeed/public/types.ts rename to src/platform/plugins/shared/newsfeed/public/types.ts diff --git a/src/plugins/newsfeed/server/config.ts b/src/platform/plugins/shared/newsfeed/server/config.ts similarity index 100% rename from src/plugins/newsfeed/server/config.ts rename to src/platform/plugins/shared/newsfeed/server/config.ts diff --git a/src/plugins/newsfeed/server/index.ts b/src/platform/plugins/shared/newsfeed/server/index.ts similarity index 100% rename from src/plugins/newsfeed/server/index.ts rename to src/platform/plugins/shared/newsfeed/server/index.ts diff --git a/src/plugins/newsfeed/server/plugin.ts b/src/platform/plugins/shared/newsfeed/server/plugin.ts similarity index 100% rename from src/plugins/newsfeed/server/plugin.ts rename to src/platform/plugins/shared/newsfeed/server/plugin.ts diff --git a/src/plugins/newsfeed/tsconfig.json b/src/platform/plugins/shared/newsfeed/tsconfig.json similarity index 83% rename from src/plugins/newsfeed/tsconfig.json rename to src/platform/plugins/shared/newsfeed/tsconfig.json index 8c97a4420c48f..681db67a810d6 100644 --- a/src/plugins/newsfeed/tsconfig.json +++ b/src/platform/plugins/shared/newsfeed/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, - "include": ["public/**/*", "server/**/*", "common/*", "../../../typings/**/*"], + "include": ["public/**/*", "server/**/*", "common/*", "../../../../../typings/**/*"], "kbn_references": [ "@kbn/core", "@kbn/screenshot-mode-plugin", diff --git a/src/plugins/saved_objects_management/README.md b/src/platform/plugins/shared/saved_objects_management/README.md similarity index 100% rename from src/plugins/saved_objects_management/README.md rename to src/platform/plugins/shared/saved_objects_management/README.md diff --git a/src/plugins/saved_objects_management/common/index.ts b/src/platform/plugins/shared/saved_objects_management/common/index.ts similarity index 100% rename from src/plugins/saved_objects_management/common/index.ts rename to src/platform/plugins/shared/saved_objects_management/common/index.ts diff --git a/src/plugins/saved_objects_management/common/types/README.md b/src/platform/plugins/shared/saved_objects_management/common/types/README.md similarity index 100% rename from src/plugins/saved_objects_management/common/types/README.md rename to src/platform/plugins/shared/saved_objects_management/common/types/README.md diff --git a/src/plugins/saved_objects_management/common/types/index.ts b/src/platform/plugins/shared/saved_objects_management/common/types/index.ts similarity index 100% rename from src/plugins/saved_objects_management/common/types/index.ts rename to src/platform/plugins/shared/saved_objects_management/common/types/index.ts diff --git a/src/plugins/saved_objects_management/common/types/latest.ts b/src/platform/plugins/shared/saved_objects_management/common/types/latest.ts similarity index 100% rename from src/plugins/saved_objects_management/common/types/latest.ts rename to src/platform/plugins/shared/saved_objects_management/common/types/latest.ts diff --git a/src/plugins/saved_objects_management/common/types/v1.ts b/src/platform/plugins/shared/saved_objects_management/common/types/v1.ts similarity index 100% rename from src/plugins/saved_objects_management/common/types/v1.ts rename to src/platform/plugins/shared/saved_objects_management/common/types/v1.ts diff --git a/src/platform/plugins/shared/saved_objects_management/jest.config.js b/src/platform/plugins/shared/saved_objects_management/jest.config.js new file mode 100644 index 0000000000000..ddd3f28d5bad3 --- /dev/null +++ b/src/platform/plugins/shared/saved_objects_management/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/saved_objects_management'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/saved_objects_management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/saved_objects_management/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/saved_objects_management/kibana.jsonc b/src/platform/plugins/shared/saved_objects_management/kibana.jsonc similarity index 100% rename from src/plugins/saved_objects_management/kibana.jsonc rename to src/platform/plugins/shared/saved_objects_management/kibana.jsonc diff --git a/src/plugins/saved_objects_management/public/index.ts b/src/platform/plugins/shared/saved_objects_management/public/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/index.ts diff --git a/src/plugins/saved_objects_management/public/lib/bulk_delete_objects.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/bulk_delete_objects.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/bulk_delete_objects.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/bulk_delete_objects.ts diff --git a/src/plugins/saved_objects_management/public/lib/bulk_get_objects.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/bulk_get_objects.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/bulk_get_objects.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/bulk_get_objects.ts diff --git a/src/plugins/saved_objects_management/public/lib/extract_export_details.test.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/extract_export_details.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/extract_export_details.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/extract_export_details.test.ts diff --git a/src/plugins/saved_objects_management/public/lib/extract_export_details.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/extract_export_details.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/extract_export_details.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/extract_export_details.ts diff --git a/src/plugins/saved_objects_management/public/lib/fetch_export_by_type_and_search.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/fetch_export_by_type_and_search.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/fetch_export_by_type_and_search.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/fetch_export_by_type_and_search.ts diff --git a/src/plugins/saved_objects_management/public/lib/fetch_export_objects.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/fetch_export_objects.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/fetch_export_objects.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/fetch_export_objects.ts diff --git a/src/plugins/saved_objects_management/public/lib/find_objects.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/find_objects.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/find_objects.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/find_objects.ts diff --git a/src/plugins/saved_objects_management/public/lib/get_allowed_types.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/get_allowed_types.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/get_allowed_types.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/get_allowed_types.ts diff --git a/src/plugins/saved_objects_management/public/lib/get_default_title.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/get_default_title.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/get_default_title.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/get_default_title.ts diff --git a/src/plugins/saved_objects_management/public/lib/get_relationships.test.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/get_relationships.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/get_relationships.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/get_relationships.test.ts diff --git a/src/plugins/saved_objects_management/public/lib/get_relationships.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/get_relationships.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/get_relationships.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/get_relationships.ts diff --git a/src/plugins/saved_objects_management/public/lib/get_saved_object_counts.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/get_saved_object_counts.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/get_saved_object_counts.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/get_saved_object_counts.ts diff --git a/src/plugins/saved_objects_management/public/lib/get_saved_object_label.test.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/get_saved_object_label.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/get_saved_object_label.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/get_saved_object_label.test.ts diff --git a/src/plugins/saved_objects_management/public/lib/get_saved_object_label.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/get_saved_object_label.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/get_saved_object_label.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/get_saved_object_label.ts diff --git a/src/plugins/saved_objects_management/public/lib/get_tag_references.test.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/get_tag_references.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/get_tag_references.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/get_tag_references.test.ts diff --git a/src/plugins/saved_objects_management/public/lib/get_tag_references.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/get_tag_references.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/get_tag_references.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/get_tag_references.ts diff --git a/src/plugins/saved_objects_management/public/lib/import_file.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/import_file.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/import_file.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/import_file.ts diff --git a/src/plugins/saved_objects_management/public/lib/index.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/index.ts diff --git a/src/plugins/saved_objects_management/public/lib/numeric.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/numeric.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/numeric.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/numeric.ts diff --git a/src/plugins/saved_objects_management/public/lib/parse_query.test.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/parse_query.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/parse_query.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/parse_query.test.ts diff --git a/src/plugins/saved_objects_management/public/lib/parse_query.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/parse_query.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/parse_query.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/parse_query.ts diff --git a/src/plugins/saved_objects_management/public/lib/process_import_response.test.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/process_import_response.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/process_import_response.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/process_import_response.test.ts diff --git a/src/plugins/saved_objects_management/public/lib/process_import_response.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/process_import_response.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/process_import_response.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/process_import_response.ts diff --git a/src/plugins/saved_objects_management/public/lib/resolve_import_errors.test.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/resolve_import_errors.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/resolve_import_errors.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/resolve_import_errors.test.ts diff --git a/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts b/src/platform/plugins/shared/saved_objects_management/public/lib/resolve_import_errors.ts similarity index 100% rename from src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts rename to src/platform/plugins/shared/saved_objects_management/public/lib/resolve_import_errors.ts diff --git a/src/plugins/saved_objects_management/public/management_section/index.ts b/src/platform/plugins/shared/saved_objects_management/public/management_section/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/management_section/index.ts diff --git a/src/plugins/saved_objects_management/public/management_section/mount_section.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/mount_section.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/mount_section.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/mount_section.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/__snapshots__/saved_object_view.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/__snapshots__/saved_object_view.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/__snapshots__/saved_object_view.test.tsx.snap rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/__snapshots__/saved_object_view.test.tsx.snap diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/__snapshots__/inspect.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/inspect.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/__snapshots__/inspect.test.tsx.snap rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/inspect.test.tsx.snap diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/__snapshots__/not_found_errors.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/not_found_errors.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/__snapshots__/not_found_errors.test.tsx.snap rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/not_found_errors.test.tsx.snap diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/header.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/header.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/header.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/header.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/header.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/header.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/header.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/header.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/index.ts b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/index.ts diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/inspect.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/inspect.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/inspect.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/inspect.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/inspect.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/inspect.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/inspect.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/inspect.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/not_found_errors.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/not_found_errors.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/index.ts b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/index.ts diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.scss b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/saved_object_view.scss similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.scss rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/saved_object_view.scss diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.test.mocks.ts b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/saved_object_view.test.mocks.ts similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.test.mocks.ts rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/saved_object_view.test.mocks.ts diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/saved_object_view.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/saved_object_view.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/saved_object_view.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/object_view/saved_object_view.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/saved_object_view.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/__snapshots__/saved_objects_table.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/__snapshots__/saved_objects_table.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/__snapshots__/saved_objects_table.test.tsx.snap rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/__snapshots__/saved_objects_table.test.tsx.snap diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/flyout.test.tsx.snap diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/header.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/header.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/header.test.tsx.snap rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/header.test.tsx.snap diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/__snapshots__/table.test.tsx.snap diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/export_modal.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/export_modal.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/export_modal.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/export_modal.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/export_modal.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/export_modal.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/export_modal.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/export_modal.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.mocks.ts b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/flyout.test.mocks.ts similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.mocks.ts rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/flyout.test.mocks.ts diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/flyout.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/flyout.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/header.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/header.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/header.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/header.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/header.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/header.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/header.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_mode_control.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.scss b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_summary.scss similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.scss rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_summary.scss diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_summary.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_summary.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/index.ts b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/index.ts diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/overwrite_modal.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/relationships.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/relationships.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/relationships.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/relationships.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/table.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/table.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/table.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/table.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/table.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/components/table.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/components/table.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/index.ts b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/index.ts diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.mocks.ts b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.mocks.ts similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.mocks.ts rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.mocks.ts diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.scss b/src/platform/plugins/shared/saved_objects_management/public/management_section/saved_objects_edition_page.scss similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.scss rename to src/platform/plugins/shared/saved_objects_management/public/management_section/saved_objects_edition_page.scss diff --git a/src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/saved_objects_edition_page.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/saved_objects_edition_page.tsx diff --git a/src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx b/src/platform/plugins/shared/saved_objects_management/public/management_section/saved_objects_table_page.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx rename to src/platform/plugins/shared/saved_objects_management/public/management_section/saved_objects_table_page.tsx diff --git a/src/plugins/saved_objects_management/public/mocks.ts b/src/platform/plugins/shared/saved_objects_management/public/mocks.ts similarity index 100% rename from src/plugins/saved_objects_management/public/mocks.ts rename to src/platform/plugins/shared/saved_objects_management/public/mocks.ts diff --git a/src/plugins/saved_objects_management/public/plugin.test.ts b/src/platform/plugins/shared/saved_objects_management/public/plugin.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/plugin.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/plugin.test.ts diff --git a/src/plugins/saved_objects_management/public/plugin.ts b/src/platform/plugins/shared/saved_objects_management/public/plugin.ts similarity index 100% rename from src/plugins/saved_objects_management/public/plugin.ts rename to src/platform/plugins/shared/saved_objects_management/public/plugin.ts diff --git a/src/plugins/saved_objects_management/public/services/action_service.mock.ts b/src/platform/plugins/shared/saved_objects_management/public/services/action_service.mock.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/action_service.mock.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/action_service.mock.ts diff --git a/src/plugins/saved_objects_management/public/services/action_service.test.ts b/src/platform/plugins/shared/saved_objects_management/public/services/action_service.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/action_service.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/action_service.test.ts diff --git a/src/plugins/saved_objects_management/public/services/action_service.ts b/src/platform/plugins/shared/saved_objects_management/public/services/action_service.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/action_service.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/action_service.ts diff --git a/src/plugins/saved_objects_management/public/services/actions/copy_saved_objects_to_space_action.tsx b/src/platform/plugins/shared/saved_objects_management/public/services/actions/copy_saved_objects_to_space_action.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/services/actions/copy_saved_objects_to_space_action.tsx rename to src/platform/plugins/shared/saved_objects_management/public/services/actions/copy_saved_objects_to_space_action.tsx diff --git a/src/plugins/saved_objects_management/public/services/actions/index.ts b/src/platform/plugins/shared/saved_objects_management/public/services/actions/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/actions/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/actions/index.ts diff --git a/src/plugins/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.test.tsx b/src/platform/plugins/shared/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.test.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.test.tsx rename to src/platform/plugins/shared/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.test.tsx diff --git a/src/plugins/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.tsx b/src/platform/plugins/shared/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.tsx rename to src/platform/plugins/shared/saved_objects_management/public/services/actions/share_saved_objects_to_space_action.tsx diff --git a/src/plugins/saved_objects_management/public/services/column_service.mock.ts b/src/platform/plugins/shared/saved_objects_management/public/services/column_service.mock.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/column_service.mock.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/column_service.mock.ts diff --git a/src/plugins/saved_objects_management/public/services/column_service.test.ts b/src/platform/plugins/shared/saved_objects_management/public/services/column_service.test.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/column_service.test.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/column_service.test.ts diff --git a/src/plugins/saved_objects_management/public/services/column_service.ts b/src/platform/plugins/shared/saved_objects_management/public/services/column_service.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/column_service.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/column_service.ts diff --git a/src/plugins/saved_objects_management/public/services/columns/constants.ts b/src/platform/plugins/shared/saved_objects_management/public/services/columns/constants.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/columns/constants.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/columns/constants.ts diff --git a/src/plugins/saved_objects_management/public/services/columns/index.ts b/src/platform/plugins/shared/saved_objects_management/public/services/columns/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/columns/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/columns/index.ts diff --git a/src/plugins/saved_objects_management/public/services/columns/share_saved_objects_to_space_column.tsx b/src/platform/plugins/shared/saved_objects_management/public/services/columns/share_saved_objects_to_space_column.tsx similarity index 100% rename from src/plugins/saved_objects_management/public/services/columns/share_saved_objects_to_space_column.tsx rename to src/platform/plugins/shared/saved_objects_management/public/services/columns/share_saved_objects_to_space_column.tsx diff --git a/src/plugins/saved_objects_management/public/services/index.ts b/src/platform/plugins/shared/saved_objects_management/public/services/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/index.ts diff --git a/src/plugins/saved_objects_management/public/services/types/action.ts b/src/platform/plugins/shared/saved_objects_management/public/services/types/action.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/types/action.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/types/action.ts diff --git a/src/plugins/saved_objects_management/public/services/types/column.ts b/src/platform/plugins/shared/saved_objects_management/public/services/types/column.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/types/column.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/types/column.ts diff --git a/src/plugins/saved_objects_management/public/services/types/index.ts b/src/platform/plugins/shared/saved_objects_management/public/services/types/index.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/types/index.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/types/index.ts diff --git a/src/plugins/saved_objects_management/public/services/types/record.ts b/src/platform/plugins/shared/saved_objects_management/public/services/types/record.ts similarity index 100% rename from src/plugins/saved_objects_management/public/services/types/record.ts rename to src/platform/plugins/shared/saved_objects_management/public/services/types/record.ts diff --git a/src/plugins/saved_objects_management/public/types.ts b/src/platform/plugins/shared/saved_objects_management/public/types.ts similarity index 100% rename from src/plugins/saved_objects_management/public/types.ts rename to src/platform/plugins/shared/saved_objects_management/public/types.ts diff --git a/src/plugins/saved_objects_management/server/capabilities_provider.ts b/src/platform/plugins/shared/saved_objects_management/server/capabilities_provider.ts similarity index 100% rename from src/plugins/saved_objects_management/server/capabilities_provider.ts rename to src/platform/plugins/shared/saved_objects_management/server/capabilities_provider.ts diff --git a/src/plugins/saved_objects_management/server/index.ts b/src/platform/plugins/shared/saved_objects_management/server/index.ts similarity index 100% rename from src/plugins/saved_objects_management/server/index.ts rename to src/platform/plugins/shared/saved_objects_management/server/index.ts diff --git a/src/plugins/saved_objects_management/server/lib/find_relationships.test.ts b/src/platform/plugins/shared/saved_objects_management/server/lib/find_relationships.test.ts similarity index 100% rename from src/plugins/saved_objects_management/server/lib/find_relationships.test.ts rename to src/platform/plugins/shared/saved_objects_management/server/lib/find_relationships.test.ts diff --git a/src/plugins/saved_objects_management/server/lib/find_relationships.ts b/src/platform/plugins/shared/saved_objects_management/server/lib/find_relationships.ts similarity index 100% rename from src/plugins/saved_objects_management/server/lib/find_relationships.ts rename to src/platform/plugins/shared/saved_objects_management/server/lib/find_relationships.ts diff --git a/src/plugins/saved_objects_management/server/lib/get_saved_objects_counts.ts b/src/platform/plugins/shared/saved_objects_management/server/lib/get_saved_objects_counts.ts similarity index 100% rename from src/plugins/saved_objects_management/server/lib/get_saved_objects_counts.ts rename to src/platform/plugins/shared/saved_objects_management/server/lib/get_saved_objects_counts.ts diff --git a/src/plugins/saved_objects_management/server/lib/index.ts b/src/platform/plugins/shared/saved_objects_management/server/lib/index.ts similarity index 100% rename from src/plugins/saved_objects_management/server/lib/index.ts rename to src/platform/plugins/shared/saved_objects_management/server/lib/index.ts diff --git a/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.test.ts b/src/platform/plugins/shared/saved_objects_management/server/lib/inject_meta_attributes.test.ts similarity index 100% rename from src/plugins/saved_objects_management/server/lib/inject_meta_attributes.test.ts rename to src/platform/plugins/shared/saved_objects_management/server/lib/inject_meta_attributes.test.ts diff --git a/src/plugins/saved_objects_management/server/lib/inject_meta_attributes.ts b/src/platform/plugins/shared/saved_objects_management/server/lib/inject_meta_attributes.ts similarity index 100% rename from src/plugins/saved_objects_management/server/lib/inject_meta_attributes.ts rename to src/platform/plugins/shared/saved_objects_management/server/lib/inject_meta_attributes.ts diff --git a/src/plugins/saved_objects_management/server/lib/to_saved_object_with_meta.ts b/src/platform/plugins/shared/saved_objects_management/server/lib/to_saved_object_with_meta.ts similarity index 100% rename from src/plugins/saved_objects_management/server/lib/to_saved_object_with_meta.ts rename to src/platform/plugins/shared/saved_objects_management/server/lib/to_saved_object_with_meta.ts diff --git a/src/plugins/saved_objects_management/server/plugin.test.mocks.ts b/src/platform/plugins/shared/saved_objects_management/server/plugin.test.mocks.ts similarity index 100% rename from src/plugins/saved_objects_management/server/plugin.test.mocks.ts rename to src/platform/plugins/shared/saved_objects_management/server/plugin.test.mocks.ts diff --git a/src/plugins/saved_objects_management/server/plugin.test.ts b/src/platform/plugins/shared/saved_objects_management/server/plugin.test.ts similarity index 100% rename from src/plugins/saved_objects_management/server/plugin.test.ts rename to src/platform/plugins/shared/saved_objects_management/server/plugin.test.ts diff --git a/src/plugins/saved_objects_management/server/plugin.ts b/src/platform/plugins/shared/saved_objects_management/server/plugin.ts similarity index 100% rename from src/plugins/saved_objects_management/server/plugin.ts rename to src/platform/plugins/shared/saved_objects_management/server/plugin.ts diff --git a/src/plugins/saved_objects_management/server/routes/bulk_delete.ts b/src/platform/plugins/shared/saved_objects_management/server/routes/bulk_delete.ts similarity index 100% rename from src/plugins/saved_objects_management/server/routes/bulk_delete.ts rename to src/platform/plugins/shared/saved_objects_management/server/routes/bulk_delete.ts diff --git a/src/plugins/saved_objects_management/server/routes/bulk_get.ts b/src/platform/plugins/shared/saved_objects_management/server/routes/bulk_get.ts similarity index 100% rename from src/plugins/saved_objects_management/server/routes/bulk_get.ts rename to src/platform/plugins/shared/saved_objects_management/server/routes/bulk_get.ts diff --git a/src/plugins/saved_objects_management/server/routes/find.ts b/src/platform/plugins/shared/saved_objects_management/server/routes/find.ts similarity index 100% rename from src/plugins/saved_objects_management/server/routes/find.ts rename to src/platform/plugins/shared/saved_objects_management/server/routes/find.ts diff --git a/src/plugins/saved_objects_management/server/routes/get_allowed_types.ts b/src/platform/plugins/shared/saved_objects_management/server/routes/get_allowed_types.ts similarity index 100% rename from src/plugins/saved_objects_management/server/routes/get_allowed_types.ts rename to src/platform/plugins/shared/saved_objects_management/server/routes/get_allowed_types.ts diff --git a/src/plugins/saved_objects_management/server/routes/index.test.ts b/src/platform/plugins/shared/saved_objects_management/server/routes/index.test.ts similarity index 100% rename from src/plugins/saved_objects_management/server/routes/index.test.ts rename to src/platform/plugins/shared/saved_objects_management/server/routes/index.test.ts diff --git a/src/plugins/saved_objects_management/server/routes/index.ts b/src/platform/plugins/shared/saved_objects_management/server/routes/index.ts similarity index 100% rename from src/plugins/saved_objects_management/server/routes/index.ts rename to src/platform/plugins/shared/saved_objects_management/server/routes/index.ts diff --git a/src/plugins/saved_objects_management/server/routes/relationships.ts b/src/platform/plugins/shared/saved_objects_management/server/routes/relationships.ts similarity index 100% rename from src/plugins/saved_objects_management/server/routes/relationships.ts rename to src/platform/plugins/shared/saved_objects_management/server/routes/relationships.ts diff --git a/src/plugins/saved_objects_management/server/routes/scroll_count.ts b/src/platform/plugins/shared/saved_objects_management/server/routes/scroll_count.ts similarity index 100% rename from src/plugins/saved_objects_management/server/routes/scroll_count.ts rename to src/platform/plugins/shared/saved_objects_management/server/routes/scroll_count.ts diff --git a/src/plugins/saved_objects_management/server/services/index.ts b/src/platform/plugins/shared/saved_objects_management/server/services/index.ts similarity index 100% rename from src/plugins/saved_objects_management/server/services/index.ts rename to src/platform/plugins/shared/saved_objects_management/server/services/index.ts diff --git a/src/plugins/saved_objects_management/server/services/management.mock.ts b/src/platform/plugins/shared/saved_objects_management/server/services/management.mock.ts similarity index 100% rename from src/plugins/saved_objects_management/server/services/management.mock.ts rename to src/platform/plugins/shared/saved_objects_management/server/services/management.mock.ts diff --git a/src/plugins/saved_objects_management/server/services/management.test.ts b/src/platform/plugins/shared/saved_objects_management/server/services/management.test.ts similarity index 100% rename from src/plugins/saved_objects_management/server/services/management.test.ts rename to src/platform/plugins/shared/saved_objects_management/server/services/management.test.ts diff --git a/src/plugins/saved_objects_management/server/services/management.ts b/src/platform/plugins/shared/saved_objects_management/server/services/management.ts similarity index 100% rename from src/plugins/saved_objects_management/server/services/management.ts rename to src/platform/plugins/shared/saved_objects_management/server/services/management.ts diff --git a/src/plugins/saved_objects_management/server/types.ts b/src/platform/plugins/shared/saved_objects_management/server/types.ts similarity index 100% rename from src/plugins/saved_objects_management/server/types.ts rename to src/platform/plugins/shared/saved_objects_management/server/types.ts diff --git a/src/plugins/saved_objects_management/tsconfig.json b/src/platform/plugins/shared/saved_objects_management/tsconfig.json similarity index 95% rename from src/plugins/saved_objects_management/tsconfig.json rename to src/platform/plugins/shared/saved_objects_management/tsconfig.json index bb402fa8648fe..884b660ba01ed 100644 --- a/src/plugins/saved_objects_management/tsconfig.json +++ b/src/platform/plugins/shared/saved_objects_management/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/telemetry/README.md b/src/platform/plugins/shared/telemetry/README.md similarity index 100% rename from src/plugins/telemetry/README.md rename to src/platform/plugins/shared/telemetry/README.md diff --git a/src/plugins/telemetry/common/constants.ts b/src/platform/plugins/shared/telemetry/common/constants.ts similarity index 100% rename from src/plugins/telemetry/common/constants.ts rename to src/platform/plugins/shared/telemetry/common/constants.ts diff --git a/src/plugins/telemetry/common/ebt_v3_endpoint/build_headers.test.ts b/src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/build_headers.test.ts similarity index 100% rename from src/plugins/telemetry/common/ebt_v3_endpoint/build_headers.test.ts rename to src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/build_headers.test.ts diff --git a/src/plugins/telemetry/common/ebt_v3_endpoint/build_headers.ts b/src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/build_headers.ts similarity index 100% rename from src/plugins/telemetry/common/ebt_v3_endpoint/build_headers.ts rename to src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/build_headers.ts diff --git a/src/plugins/telemetry/common/ebt_v3_endpoint/build_url.test.ts b/src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/build_url.test.ts similarity index 100% rename from src/plugins/telemetry/common/ebt_v3_endpoint/build_url.test.ts rename to src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/build_url.test.ts diff --git a/src/plugins/telemetry/common/ebt_v3_endpoint/build_url.ts b/src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/build_url.ts similarity index 100% rename from src/plugins/telemetry/common/ebt_v3_endpoint/build_url.ts rename to src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/build_url.ts diff --git a/src/plugins/telemetry/common/ebt_v3_endpoint/index.ts b/src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/index.ts similarity index 100% rename from src/plugins/telemetry/common/ebt_v3_endpoint/index.ts rename to src/platform/plugins/shared/telemetry/common/ebt_v3_endpoint/index.ts diff --git a/src/plugins/telemetry/common/is_report_interval_expired.test.ts b/src/platform/plugins/shared/telemetry/common/is_report_interval_expired.test.ts similarity index 100% rename from src/plugins/telemetry/common/is_report_interval_expired.test.ts rename to src/platform/plugins/shared/telemetry/common/is_report_interval_expired.test.ts diff --git a/src/plugins/telemetry/common/is_report_interval_expired.ts b/src/platform/plugins/shared/telemetry/common/is_report_interval_expired.ts similarity index 100% rename from src/plugins/telemetry/common/is_report_interval_expired.ts rename to src/platform/plugins/shared/telemetry/common/is_report_interval_expired.ts diff --git a/src/plugins/telemetry/common/routes.ts b/src/platform/plugins/shared/telemetry/common/routes.ts similarity index 100% rename from src/plugins/telemetry/common/routes.ts rename to src/platform/plugins/shared/telemetry/common/routes.ts diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.test.ts b/src/platform/plugins/shared/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.test.ts similarity index 100% rename from src/plugins/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.test.ts rename to src/platform/plugins/shared/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.test.ts diff --git a/src/plugins/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.ts b/src/platform/plugins/shared/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.ts similarity index 100% rename from src/plugins/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.ts rename to src/platform/plugins/shared/telemetry/common/telemetry_config/get_telemetry_channel_endpoint.ts diff --git a/src/plugins/telemetry/common/telemetry_config/index.ts b/src/platform/plugins/shared/telemetry/common/telemetry_config/index.ts similarity index 100% rename from src/plugins/telemetry/common/telemetry_config/index.ts rename to src/platform/plugins/shared/telemetry/common/telemetry_config/index.ts diff --git a/src/plugins/telemetry/common/types/index.ts b/src/platform/plugins/shared/telemetry/common/types/index.ts similarity index 100% rename from src/plugins/telemetry/common/types/index.ts rename to src/platform/plugins/shared/telemetry/common/types/index.ts diff --git a/src/plugins/telemetry/common/types/latest.ts b/src/platform/plugins/shared/telemetry/common/types/latest.ts similarity index 100% rename from src/plugins/telemetry/common/types/latest.ts rename to src/platform/plugins/shared/telemetry/common/types/latest.ts diff --git a/src/plugins/telemetry/common/types/v2.ts b/src/platform/plugins/shared/telemetry/common/types/v2.ts similarity index 100% rename from src/plugins/telemetry/common/types/v2.ts rename to src/platform/plugins/shared/telemetry/common/types/v2.ts diff --git a/src/plugins/usage_collection/jest.config.js b/src/platform/plugins/shared/telemetry/jest.config.js similarity index 74% rename from src/plugins/usage_collection/jest.config.js rename to src/platform/plugins/shared/telemetry/jest.config.js index 35fe2a8405c50..0e3146d7c9eaa 100644 --- a/src/plugins/usage_collection/jest.config.js +++ b/src/platform/plugins/shared/telemetry/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/usage_collection'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/usage_collection', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/telemetry'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/telemetry', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/usage_collection/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/telemetry/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/telemetry/kibana.jsonc b/src/platform/plugins/shared/telemetry/kibana.jsonc similarity index 100% rename from src/plugins/telemetry/kibana.jsonc rename to src/platform/plugins/shared/telemetry/kibana.jsonc diff --git a/src/plugins/telemetry/public/components/opt_in_message.test.tsx b/src/platform/plugins/shared/telemetry/public/components/opt_in_message.test.tsx similarity index 100% rename from src/plugins/telemetry/public/components/opt_in_message.test.tsx rename to src/platform/plugins/shared/telemetry/public/components/opt_in_message.test.tsx diff --git a/src/plugins/telemetry/public/components/opt_in_message.tsx b/src/platform/plugins/shared/telemetry/public/components/opt_in_message.tsx similarity index 100% rename from src/plugins/telemetry/public/components/opt_in_message.tsx rename to src/platform/plugins/shared/telemetry/public/components/opt_in_message.tsx diff --git a/src/plugins/telemetry/public/components/opt_in_status_notice_banner.test.tsx b/src/platform/plugins/shared/telemetry/public/components/opt_in_status_notice_banner.test.tsx similarity index 100% rename from src/plugins/telemetry/public/components/opt_in_status_notice_banner.test.tsx rename to src/platform/plugins/shared/telemetry/public/components/opt_in_status_notice_banner.test.tsx diff --git a/src/plugins/telemetry/public/components/opt_in_status_notice_banner.tsx b/src/platform/plugins/shared/telemetry/public/components/opt_in_status_notice_banner.tsx similarity index 100% rename from src/plugins/telemetry/public/components/opt_in_status_notice_banner.tsx rename to src/platform/plugins/shared/telemetry/public/components/opt_in_status_notice_banner.tsx diff --git a/src/plugins/telemetry/public/components/welcome_telemetry_notice.test.tsx b/src/platform/plugins/shared/telemetry/public/components/welcome_telemetry_notice.test.tsx similarity index 100% rename from src/plugins/telemetry/public/components/welcome_telemetry_notice.test.tsx rename to src/platform/plugins/shared/telemetry/public/components/welcome_telemetry_notice.test.tsx diff --git a/src/plugins/telemetry/public/components/welcome_telemetry_notice.tsx b/src/platform/plugins/shared/telemetry/public/components/welcome_telemetry_notice.tsx similarity index 100% rename from src/plugins/telemetry/public/components/welcome_telemetry_notice.tsx rename to src/platform/plugins/shared/telemetry/public/components/welcome_telemetry_notice.tsx diff --git a/src/plugins/telemetry/public/index.ts b/src/platform/plugins/shared/telemetry/public/index.ts similarity index 100% rename from src/plugins/telemetry/public/index.ts rename to src/platform/plugins/shared/telemetry/public/index.ts diff --git a/src/plugins/telemetry/public/mocks.ts b/src/platform/plugins/shared/telemetry/public/mocks.ts similarity index 100% rename from src/plugins/telemetry/public/mocks.ts rename to src/platform/plugins/shared/telemetry/public/mocks.ts diff --git a/src/plugins/telemetry/public/plugin.test.mock.ts b/src/platform/plugins/shared/telemetry/public/plugin.test.mock.ts similarity index 100% rename from src/plugins/telemetry/public/plugin.test.mock.ts rename to src/platform/plugins/shared/telemetry/public/plugin.test.mock.ts diff --git a/src/plugins/telemetry/public/plugin.test.ts b/src/platform/plugins/shared/telemetry/public/plugin.test.ts similarity index 100% rename from src/plugins/telemetry/public/plugin.test.ts rename to src/platform/plugins/shared/telemetry/public/plugin.test.ts diff --git a/src/plugins/telemetry/public/plugin.ts b/src/platform/plugins/shared/telemetry/public/plugin.ts similarity index 100% rename from src/plugins/telemetry/public/plugin.ts rename to src/platform/plugins/shared/telemetry/public/plugin.ts diff --git a/src/plugins/telemetry/public/render_welcome_telemetry_notice.test.ts b/src/platform/plugins/shared/telemetry/public/render_welcome_telemetry_notice.test.ts similarity index 100% rename from src/plugins/telemetry/public/render_welcome_telemetry_notice.test.ts rename to src/platform/plugins/shared/telemetry/public/render_welcome_telemetry_notice.test.ts diff --git a/src/plugins/telemetry/public/render_welcome_telemetry_notice.tsx b/src/platform/plugins/shared/telemetry/public/render_welcome_telemetry_notice.tsx similarity index 100% rename from src/plugins/telemetry/public/render_welcome_telemetry_notice.tsx rename to src/platform/plugins/shared/telemetry/public/render_welcome_telemetry_notice.tsx diff --git a/src/plugins/telemetry/public/services/index.ts b/src/platform/plugins/shared/telemetry/public/services/index.ts similarity index 100% rename from src/plugins/telemetry/public/services/index.ts rename to src/platform/plugins/shared/telemetry/public/services/index.ts diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/index.ts b/src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/index.ts similarity index 100% rename from src/plugins/telemetry/public/services/telemetry_notifications/index.ts rename to src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/index.ts diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.test.ts b/src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.test.ts similarity index 100% rename from src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.test.ts rename to src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.test.ts diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.tsx b/src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.tsx similarity index 100% rename from src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.tsx rename to src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.tsx diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.test.ts b/src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/telemetry_notifications.test.ts similarity index 100% rename from src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.test.ts rename to src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/telemetry_notifications.test.ts diff --git a/src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.ts b/src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/telemetry_notifications.ts similarity index 100% rename from src/plugins/telemetry/public/services/telemetry_notifications/telemetry_notifications.ts rename to src/platform/plugins/shared/telemetry/public/services/telemetry_notifications/telemetry_notifications.ts diff --git a/src/plugins/telemetry/public/services/telemetry_sender.test.ts b/src/platform/plugins/shared/telemetry/public/services/telemetry_sender.test.ts similarity index 100% rename from src/plugins/telemetry/public/services/telemetry_sender.test.ts rename to src/platform/plugins/shared/telemetry/public/services/telemetry_sender.test.ts diff --git a/src/plugins/telemetry/public/services/telemetry_sender.ts b/src/platform/plugins/shared/telemetry/public/services/telemetry_sender.ts similarity index 100% rename from src/plugins/telemetry/public/services/telemetry_sender.ts rename to src/platform/plugins/shared/telemetry/public/services/telemetry_sender.ts diff --git a/src/plugins/telemetry/public/services/telemetry_service.test.ts b/src/platform/plugins/shared/telemetry/public/services/telemetry_service.test.ts similarity index 100% rename from src/plugins/telemetry/public/services/telemetry_service.test.ts rename to src/platform/plugins/shared/telemetry/public/services/telemetry_service.test.ts diff --git a/src/plugins/telemetry/public/services/telemetry_service.ts b/src/platform/plugins/shared/telemetry/public/services/telemetry_service.ts similarity index 100% rename from src/plugins/telemetry/public/services/telemetry_service.ts rename to src/platform/plugins/shared/telemetry/public/services/telemetry_service.ts diff --git a/src/plugins/telemetry/schema/README.md b/src/platform/plugins/shared/telemetry/schema/README.md similarity index 82% rename from src/plugins/telemetry/schema/README.md rename to src/platform/plugins/shared/telemetry/schema/README.md index 38212d73c2592..761d0c4dce030 100644 --- a/src/plugins/telemetry/schema/README.md +++ b/src/platform/plugins/shared/telemetry/schema/README.md @@ -8,7 +8,7 @@ There are currently 4 files: Manually maintained for now because the frequency it changes should be pretty low. - `oss_plugins.json`: The schema for the content that will be nested in `stack_stats.kibana.plugins`. It is automatically generated by `@kbn/telemetry-tools` based on the `schema` property provided by all the registered Usage Collectors via the `usageCollection.makeUsageCollector` API. - More details in the [Schema field](../../usage_collection/README.md#schema-field) chapter in the UsageCollection's docs. + More details in the [Schema field](../../../../usage_collection/README.md#schema-field) chapter in the UsageCollection's docs. - `kbn_packages.json`: Same as `oss_plugins` but for collectors defined in `/packages/*`. - `oss_platform.json`: Same as `oss_plugins` but for collectors defined in `/src/platform/*`. @@ -16,4 +16,4 @@ NOTE: Despite its similarities to ES mappings, the intention of these files is n ## Testing -Functional tests are defined at `x-pack/test/api_integration/apis/telemetry/telemetry_local.ts`. They merge all files and [the x-pack counterparts](../../../../x-pack/plugins/telemetry_collection_xpack/schema), and validates the actual output of the telemetry endpoint against the final schema. \ No newline at end of file +Functional tests are defined at `x-pack/test/api_integration/apis/telemetry/telemetry_local.ts`. They merge all files and [the x-pack counterparts](../../../../../../x-pack/platform/plugins/private/telemetry_collection_xpack/schema), and validates the actual output of the telemetry endpoint against the final schema. \ No newline at end of file diff --git a/src/plugins/telemetry/schema/kbn_packages.json b/src/platform/plugins/shared/telemetry/schema/kbn_packages.json similarity index 100% rename from src/plugins/telemetry/schema/kbn_packages.json rename to src/platform/plugins/shared/telemetry/schema/kbn_packages.json diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/platform/plugins/shared/telemetry/schema/oss_platform.json similarity index 98% rename from src/plugins/telemetry/schema/oss_plugins.json rename to src/platform/plugins/shared/telemetry/schema/oss_platform.json index cc2e9f99ec9ea..2bd3174ba35d3 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/platform/plugins/shared/telemetry/schema/oss_platform.json @@ -9720,6 +9720,120 @@ } } }, + "dashboard": { + "properties": { + "panels": { + "properties": { + "total": { + "type": "long" + }, + "by_reference": { + "type": "long" + }, + "by_value": { + "type": "long" + }, + "by_type": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The number of panels that have been added to all dashboards." + } + }, + "by_reference": { + "type": "long", + "_meta": { + "description": "The number of \"by reference\" panels that have been added to all dashboards." + } + }, + "by_value": { + "type": "long", + "_meta": { + "description": "The number of \"by value\" panels that have been added to all dashboards." + } + }, + "details": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that embeddable service reports. Embeddable service internally calls each embeddable, which in turn calls its dynamic actions, which calls each drill down attached to that embeddable." + } + } + } + } + } + } + } + } + } + }, + "controls": { + "properties": { + "total": { + "type": "long" + }, + "by_type": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The number of this type of control in all Control Groups" + } + }, + "details": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that embeddable service reports. Will be used for details which are specific to the current control type" + } + } + } + } + } + } + } + }, + "ignore_settings": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which have this ignore setting turned on" + } + } + } + }, + "chaining_system": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which are using this chaining system" + } + } + } + }, + "label_position": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which have their labels in this position" + } + } + } + } + } + } + } + }, "event_loop_delays": { "properties": { "daily": { @@ -9813,6 +9927,158 @@ } } }, + "files": { + "properties": { + "countByExtension": { + "type": "array", + "items": { + "properties": { + "extension": { + "type": "keyword" + }, + "count": { + "type": "long" + } + } + } + }, + "countByStatus": { + "properties": { + "AWAITING_UPLOAD": { + "type": "long", + "_meta": { + "description": "Number of files awaiting upload" + } + }, + "DELETED": { + "type": "long", + "_meta": { + "description": "Number of files that are marked as deleted" + } + }, + "READY": { + "type": "long", + "_meta": { + "description": "Number of files that are ready for download" + } + }, + "UPLOADING": { + "type": "long", + "_meta": { + "description": "Number of files that are currently uploading" + } + }, + "UPLOAD_ERROR": { + "type": "long", + "_meta": { + "description": "Number of files that failed to upload" + } + } + } + }, + "storage": { + "properties": { + "esFixedSizeIndex": { + "properties": { + "capacity": { + "type": "long", + "_meta": { + "description": "Capacity of the fixed size index" + } + }, + "available": { + "type": "long", + "_meta": { + "description": "Available storage in bytes" + } + }, + "used": { + "type": "long", + "_meta": { + "description": "Used storage in bytes" + } + } + } + } + } + } + } + }, + "index-patterns": { + "properties": { + "indexPatternsCount": { + "type": "long" + }, + "indexPatternsWithScriptedFieldCount": { + "type": "long" + }, + "indexPatternsWithRuntimeFieldCount": { + "type": "long" + }, + "scriptedFieldCount": { + "type": "long" + }, + "runtimeFieldCount": { + "type": "long" + }, + "perIndexPattern": { + "properties": { + "scriptedFieldCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "runtimeFieldCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "scriptedFieldLineCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "runtimeFieldLineCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + } + } + } + } + }, "kibana": { "properties": { "index": { @@ -9873,19 +10139,6 @@ } } }, - "kql": { - "properties": { - "optInCount": { - "type": "long" - }, - "optOutCount": { - "type": "long" - }, - "defaultQueryLanguage": { - "type": "keyword" - } - } - }, "localization": { "properties": { "locale": { @@ -9912,6 +10165,34 @@ } } }, + "sample-data": { + "properties": { + "installed": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "last_install_date": { + "type": "date" + }, + "last_install_set": { + "type": "keyword" + }, + "last_uninstall_date": { + "type": "date" + }, + "last_uninstall_set": { + "type": "keyword" + }, + "uninstalled": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, "saved_objects_counts": { "properties": { "total": { @@ -9956,32 +10237,6 @@ } } }, - "search": { - "properties": { - "successCount": { - "type": "long" - }, - "errorCount": { - "type": "long" - }, - "averageDuration": { - "type": "float" - } - } - }, - "search-session": { - "properties": { - "transientCount": { - "type": "long" - }, - "persistedCount": { - "type": "long" - }, - "totalCount": { - "type": "long" - } - } - }, "stack_management": { "properties": { "securitySolution:defaultIndex": { diff --git a/src/platform/plugins/shared/telemetry/schema/oss_plugins.json b/src/platform/plugins/shared/telemetry/schema/oss_plugins.json new file mode 100644 index 0000000000000..d25e9a0b9302c --- /dev/null +++ b/src/platform/plugins/shared/telemetry/schema/oss_plugins.json @@ -0,0 +1,43 @@ +{ + "properties": { + "kql": { + "properties": { + "optInCount": { + "type": "long" + }, + "optOutCount": { + "type": "long" + }, + "defaultQueryLanguage": { + "type": "keyword" + } + } + }, + "search": { + "properties": { + "successCount": { + "type": "long" + }, + "errorCount": { + "type": "long" + }, + "averageDuration": { + "type": "float" + } + } + }, + "search-session": { + "properties": { + "transientCount": { + "type": "long" + }, + "persistedCount": { + "type": "long" + }, + "totalCount": { + "type": "long" + } + } + } + } +} diff --git a/src/plugins/telemetry/schema/oss_root.json b/src/platform/plugins/shared/telemetry/schema/oss_root.json similarity index 100% rename from src/plugins/telemetry/schema/oss_root.json rename to src/platform/plugins/shared/telemetry/schema/oss_root.json diff --git a/src/plugins/telemetry/server/collectors/index.ts b/src/platform/plugins/shared/telemetry/server/collectors/index.ts similarity index 100% rename from src/plugins/telemetry/server/collectors/index.ts rename to src/platform/plugins/shared/telemetry/server/collectors/index.ts diff --git a/src/plugins/telemetry/server/collectors/telemetry_plugin/index.ts b/src/platform/plugins/shared/telemetry/server/collectors/telemetry_plugin/index.ts similarity index 100% rename from src/plugins/telemetry/server/collectors/telemetry_plugin/index.ts rename to src/platform/plugins/shared/telemetry/server/collectors/telemetry_plugin/index.ts diff --git a/src/plugins/telemetry/server/collectors/telemetry_plugin/telemetry_plugin_collector.ts b/src/platform/plugins/shared/telemetry/server/collectors/telemetry_plugin/telemetry_plugin_collector.ts similarity index 100% rename from src/plugins/telemetry/server/collectors/telemetry_plugin/telemetry_plugin_collector.ts rename to src/platform/plugins/shared/telemetry/server/collectors/telemetry_plugin/telemetry_plugin_collector.ts diff --git a/src/plugins/telemetry/server/collectors/usage/index.ts b/src/platform/plugins/shared/telemetry/server/collectors/usage/index.ts similarity index 100% rename from src/plugins/telemetry/server/collectors/usage/index.ts rename to src/platform/plugins/shared/telemetry/server/collectors/usage/index.ts diff --git a/src/plugins/telemetry/server/collectors/usage/schema.ts b/src/platform/plugins/shared/telemetry/server/collectors/usage/schema.ts similarity index 100% rename from src/plugins/telemetry/server/collectors/usage/schema.ts rename to src/platform/plugins/shared/telemetry/server/collectors/usage/schema.ts diff --git a/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts b/src/platform/plugins/shared/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts similarity index 100% rename from src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts rename to src/platform/plugins/shared/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts diff --git a/src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts b/src/platform/plugins/shared/telemetry/server/collectors/usage/telemetry_usage_collector.ts similarity index 100% rename from src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts rename to src/platform/plugins/shared/telemetry/server/collectors/usage/telemetry_usage_collector.ts diff --git a/src/plugins/telemetry/server/config/config.test.ts b/src/platform/plugins/shared/telemetry/server/config/config.test.ts similarity index 100% rename from src/plugins/telemetry/server/config/config.test.ts rename to src/platform/plugins/shared/telemetry/server/config/config.test.ts diff --git a/src/plugins/telemetry/server/config/config.ts b/src/platform/plugins/shared/telemetry/server/config/config.ts similarity index 100% rename from src/plugins/telemetry/server/config/config.ts rename to src/platform/plugins/shared/telemetry/server/config/config.ts diff --git a/src/plugins/telemetry/server/config/index.ts b/src/platform/plugins/shared/telemetry/server/config/index.ts similarity index 100% rename from src/plugins/telemetry/server/config/index.ts rename to src/platform/plugins/shared/telemetry/server/config/index.ts diff --git a/src/plugins/telemetry/server/config/telemetry_labels.test.ts b/src/platform/plugins/shared/telemetry/server/config/telemetry_labels.test.ts similarity index 100% rename from src/plugins/telemetry/server/config/telemetry_labels.test.ts rename to src/platform/plugins/shared/telemetry/server/config/telemetry_labels.test.ts diff --git a/src/plugins/telemetry/server/config/telemetry_labels.ts b/src/platform/plugins/shared/telemetry/server/config/telemetry_labels.ts similarity index 100% rename from src/plugins/telemetry/server/config/telemetry_labels.ts rename to src/platform/plugins/shared/telemetry/server/config/telemetry_labels.ts diff --git a/src/plugins/telemetry/server/fetcher.test.mock.ts b/src/platform/plugins/shared/telemetry/server/fetcher.test.mock.ts similarity index 100% rename from src/plugins/telemetry/server/fetcher.test.mock.ts rename to src/platform/plugins/shared/telemetry/server/fetcher.test.mock.ts diff --git a/src/plugins/telemetry/server/fetcher.test.ts b/src/platform/plugins/shared/telemetry/server/fetcher.test.ts similarity index 100% rename from src/plugins/telemetry/server/fetcher.test.ts rename to src/platform/plugins/shared/telemetry/server/fetcher.test.ts diff --git a/src/plugins/telemetry/server/fetcher.ts b/src/platform/plugins/shared/telemetry/server/fetcher.ts similarity index 100% rename from src/plugins/telemetry/server/fetcher.ts rename to src/platform/plugins/shared/telemetry/server/fetcher.ts diff --git a/src/plugins/telemetry/server/get_next_attempt_date.test.ts b/src/platform/plugins/shared/telemetry/server/get_next_attempt_date.test.ts similarity index 100% rename from src/plugins/telemetry/server/get_next_attempt_date.test.ts rename to src/platform/plugins/shared/telemetry/server/get_next_attempt_date.test.ts diff --git a/src/plugins/telemetry/server/get_next_attempt_date.ts b/src/platform/plugins/shared/telemetry/server/get_next_attempt_date.ts similarity index 100% rename from src/plugins/telemetry/server/get_next_attempt_date.ts rename to src/platform/plugins/shared/telemetry/server/get_next_attempt_date.ts diff --git a/src/plugins/telemetry/server/index.ts b/src/platform/plugins/shared/telemetry/server/index.ts similarity index 100% rename from src/plugins/telemetry/server/index.ts rename to src/platform/plugins/shared/telemetry/server/index.ts diff --git a/src/plugins/telemetry/server/mocks.ts b/src/platform/plugins/shared/telemetry/server/mocks.ts similarity index 100% rename from src/plugins/telemetry/server/mocks.ts rename to src/platform/plugins/shared/telemetry/server/mocks.ts diff --git a/src/plugins/telemetry/server/plugin.test.ts b/src/platform/plugins/shared/telemetry/server/plugin.test.ts similarity index 100% rename from src/plugins/telemetry/server/plugin.test.ts rename to src/platform/plugins/shared/telemetry/server/plugin.test.ts diff --git a/src/plugins/telemetry/server/plugin.ts b/src/platform/plugins/shared/telemetry/server/plugin.ts similarity index 100% rename from src/plugins/telemetry/server/plugin.ts rename to src/platform/plugins/shared/telemetry/server/plugin.ts diff --git a/src/plugins/telemetry/server/routes/index.ts b/src/platform/plugins/shared/telemetry/server/routes/index.ts similarity index 100% rename from src/plugins/telemetry/server/routes/index.ts rename to src/platform/plugins/shared/telemetry/server/routes/index.ts diff --git a/src/plugins/telemetry/server/routes/telemetry_config.ts b/src/platform/plugins/shared/telemetry/server/routes/telemetry_config.ts similarity index 100% rename from src/plugins/telemetry/server/routes/telemetry_config.ts rename to src/platform/plugins/shared/telemetry/server/routes/telemetry_config.ts diff --git a/src/plugins/telemetry/server/routes/telemetry_last_reported.ts b/src/platform/plugins/shared/telemetry/server/routes/telemetry_last_reported.ts similarity index 100% rename from src/plugins/telemetry/server/routes/telemetry_last_reported.ts rename to src/platform/plugins/shared/telemetry/server/routes/telemetry_last_reported.ts diff --git a/src/plugins/telemetry/server/routes/telemetry_opt_in.ts b/src/platform/plugins/shared/telemetry/server/routes/telemetry_opt_in.ts similarity index 100% rename from src/plugins/telemetry/server/routes/telemetry_opt_in.ts rename to src/platform/plugins/shared/telemetry/server/routes/telemetry_opt_in.ts diff --git a/src/plugins/telemetry/server/routes/telemetry_opt_in_stats.test.ts b/src/platform/plugins/shared/telemetry/server/routes/telemetry_opt_in_stats.test.ts similarity index 100% rename from src/plugins/telemetry/server/routes/telemetry_opt_in_stats.test.ts rename to src/platform/plugins/shared/telemetry/server/routes/telemetry_opt_in_stats.test.ts diff --git a/src/plugins/telemetry/server/routes/telemetry_opt_in_stats.ts b/src/platform/plugins/shared/telemetry/server/routes/telemetry_opt_in_stats.ts similarity index 100% rename from src/plugins/telemetry/server/routes/telemetry_opt_in_stats.ts rename to src/platform/plugins/shared/telemetry/server/routes/telemetry_opt_in_stats.ts diff --git a/src/plugins/telemetry/server/routes/telemetry_usage_stats.test.ts b/src/platform/plugins/shared/telemetry/server/routes/telemetry_usage_stats.test.ts similarity index 100% rename from src/plugins/telemetry/server/routes/telemetry_usage_stats.test.ts rename to src/platform/plugins/shared/telemetry/server/routes/telemetry_usage_stats.test.ts diff --git a/src/plugins/telemetry/server/routes/telemetry_usage_stats.ts b/src/platform/plugins/shared/telemetry/server/routes/telemetry_usage_stats.ts similarity index 100% rename from src/plugins/telemetry/server/routes/telemetry_usage_stats.ts rename to src/platform/plugins/shared/telemetry/server/routes/telemetry_usage_stats.ts diff --git a/src/plugins/telemetry/server/routes/telemetry_user_has_seen_notice.ts b/src/platform/plugins/shared/telemetry/server/routes/telemetry_user_has_seen_notice.ts similarity index 100% rename from src/plugins/telemetry/server/routes/telemetry_user_has_seen_notice.ts rename to src/platform/plugins/shared/telemetry/server/routes/telemetry_user_has_seen_notice.ts diff --git a/src/plugins/telemetry/server/saved_objects/constants.ts b/src/platform/plugins/shared/telemetry/server/saved_objects/constants.ts similarity index 100% rename from src/plugins/telemetry/server/saved_objects/constants.ts rename to src/platform/plugins/shared/telemetry/server/saved_objects/constants.ts diff --git a/src/plugins/telemetry/server/saved_objects/get_telemetry_saved_object.test.ts b/src/platform/plugins/shared/telemetry/server/saved_objects/get_telemetry_saved_object.test.ts similarity index 100% rename from src/plugins/telemetry/server/saved_objects/get_telemetry_saved_object.test.ts rename to src/platform/plugins/shared/telemetry/server/saved_objects/get_telemetry_saved_object.test.ts diff --git a/src/plugins/telemetry/server/saved_objects/get_telemetry_saved_object.ts b/src/platform/plugins/shared/telemetry/server/saved_objects/get_telemetry_saved_object.ts similarity index 100% rename from src/plugins/telemetry/server/saved_objects/get_telemetry_saved_object.ts rename to src/platform/plugins/shared/telemetry/server/saved_objects/get_telemetry_saved_object.ts diff --git a/src/plugins/telemetry/server/saved_objects/index.ts b/src/platform/plugins/shared/telemetry/server/saved_objects/index.ts similarity index 100% rename from src/plugins/telemetry/server/saved_objects/index.ts rename to src/platform/plugins/shared/telemetry/server/saved_objects/index.ts diff --git a/src/plugins/telemetry/server/saved_objects/register_telemetry_saved_object.ts b/src/platform/plugins/shared/telemetry/server/saved_objects/register_telemetry_saved_object.ts similarity index 100% rename from src/plugins/telemetry/server/saved_objects/register_telemetry_saved_object.ts rename to src/platform/plugins/shared/telemetry/server/saved_objects/register_telemetry_saved_object.ts diff --git a/src/plugins/telemetry/server/saved_objects/types.ts b/src/platform/plugins/shared/telemetry/server/saved_objects/types.ts similarity index 100% rename from src/plugins/telemetry/server/saved_objects/types.ts rename to src/platform/plugins/shared/telemetry/server/saved_objects/types.ts diff --git a/src/plugins/telemetry/server/saved_objects/update_telemetry_saved_object.ts b/src/platform/plugins/shared/telemetry/server/saved_objects/update_telemetry_saved_object.ts similarity index 100% rename from src/plugins/telemetry/server/saved_objects/update_telemetry_saved_object.ts rename to src/platform/plugins/shared/telemetry/server/saved_objects/update_telemetry_saved_object.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/constants.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/constants.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/constants.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/constants.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.test.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_cluster_info.test.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_cluster_info.test.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_cluster_info.test.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_cluster_info.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_cluster_info.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_cluster_info.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_cluster_info.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.test.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_cluster_stats.test.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.test.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_cluster_stats.test.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_cluster_stats.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_cluster_stats.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_cluster_stats.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/constants.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_data_telemetry/constants.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/constants.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_data_telemetry/constants.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/index.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_data_telemetry/index.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/index.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_data_telemetry/index.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_kibana.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_kibana.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_kibana.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_kibana.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_local_stats.test.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_local_stats.test.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_local_stats.test.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_local_stats.test.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_local_stats.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_local_stats.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_local_stats.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_local_stats.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.test.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_nodes_usage.test.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.test.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_nodes_usage.test.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/get_nodes_usage.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/get_nodes_usage.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/get_nodes_usage.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/index.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/index.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/index.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/index.ts diff --git a/src/plugins/telemetry/server/telemetry_collection/register_collection.ts b/src/platform/plugins/shared/telemetry/server/telemetry_collection/register_collection.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_collection/register_collection.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_collection/register_collection.ts diff --git a/src/plugins/telemetry/server/telemetry_config/get_telemetry_allow_changing_opt_in_status.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_allow_changing_opt_in_status.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/get_telemetry_allow_changing_opt_in_status.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_allow_changing_opt_in_status.ts diff --git a/src/plugins/telemetry/server/telemetry_config/get_telemetry_failure_details.test.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_failure_details.test.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/get_telemetry_failure_details.test.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_failure_details.test.ts diff --git a/src/plugins/telemetry/server/telemetry_config/get_telemetry_failure_details.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_failure_details.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/get_telemetry_failure_details.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_failure_details.ts diff --git a/src/plugins/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.test.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.test.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.test.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.test.ts diff --git a/src/plugins/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_notify_user_about_optin_default.ts diff --git a/src/plugins/telemetry/server/telemetry_config/get_telemetry_opt_in.test.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_opt_in.test.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/get_telemetry_opt_in.test.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_opt_in.test.ts diff --git a/src/plugins/telemetry/server/telemetry_config/get_telemetry_opt_in.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_opt_in.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/get_telemetry_opt_in.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_opt_in.ts diff --git a/src/plugins/telemetry/server/telemetry_config/get_telemetry_send_usage_from.test.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_send_usage_from.test.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/get_telemetry_send_usage_from.test.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_send_usage_from.test.ts diff --git a/src/plugins/telemetry/server/telemetry_config/get_telemetry_send_usage_from.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_send_usage_from.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/get_telemetry_send_usage_from.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/get_telemetry_send_usage_from.ts diff --git a/src/plugins/telemetry/server/telemetry_config/index.ts b/src/platform/plugins/shared/telemetry/server/telemetry_config/index.ts similarity index 100% rename from src/plugins/telemetry/server/telemetry_config/index.ts rename to src/platform/plugins/shared/telemetry/server/telemetry_config/index.ts diff --git a/src/plugins/telemetry/tsconfig.json b/src/platform/plugins/shared/telemetry/tsconfig.json similarity index 92% rename from src/plugins/telemetry/tsconfig.json rename to src/platform/plugins/shared/telemetry/tsconfig.json index 68a9e0118e0fc..79fdafb2f991b 100644 --- a/src/plugins/telemetry/tsconfig.json +++ b/src/platform/plugins/shared/telemetry/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true @@ -8,7 +8,7 @@ "public/**/**/*", "server/**/**/*", "common/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", "schema/*.json", ], "kbn_references": [ diff --git a/src/plugins/telemetry_collection_manager/README.md b/src/platform/plugins/shared/telemetry_collection_manager/README.md similarity index 100% rename from src/plugins/telemetry_collection_manager/README.md rename to src/platform/plugins/shared/telemetry_collection_manager/README.md diff --git a/src/plugins/telemetry_collection_manager/common/index.ts b/src/platform/plugins/shared/telemetry_collection_manager/common/index.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/common/index.ts rename to src/platform/plugins/shared/telemetry_collection_manager/common/index.ts diff --git a/src/platform/plugins/shared/telemetry_collection_manager/jest.config.js b/src/platform/plugins/shared/telemetry_collection_manager/jest.config.js new file mode 100644 index 0000000000000..003a7eb05d56d --- /dev/null +++ b/src/platform/plugins/shared/telemetry_collection_manager/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/telemetry_collection_manager'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/telemetry_collection_manager', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/telemetry_collection_manager/{common,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/telemetry_collection_manager/kibana.jsonc b/src/platform/plugins/shared/telemetry_collection_manager/kibana.jsonc similarity index 100% rename from src/plugins/telemetry_collection_manager/kibana.jsonc rename to src/platform/plugins/shared/telemetry_collection_manager/kibana.jsonc diff --git a/src/plugins/telemetry_collection_manager/server/cache/cache_manager.test.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/cache/cache_manager.test.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/cache/cache_manager.test.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/cache/cache_manager.test.ts diff --git a/src/plugins/telemetry_collection_manager/server/cache/cache_manager.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/cache/cache_manager.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/cache/cache_manager.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/cache/cache_manager.ts diff --git a/src/plugins/telemetry_collection_manager/server/cache/index.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/cache/index.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/cache/index.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/cache/index.ts diff --git a/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.mocks.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/encryption/encrypt.test.mocks.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.mocks.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/encryption/encrypt.test.mocks.ts diff --git a/src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/encryption/encrypt.test.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/encryption/encrypt.test.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/encryption/encrypt.test.ts diff --git a/src/plugins/telemetry_collection_manager/server/encryption/encrypt.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/encryption/encrypt.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/encryption/encrypt.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/encryption/encrypt.ts diff --git a/src/plugins/telemetry_collection_manager/server/encryption/index.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/encryption/index.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/encryption/index.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/encryption/index.ts diff --git a/src/plugins/telemetry_collection_manager/server/encryption/telemetry_jwks.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/encryption/telemetry_jwks.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/encryption/telemetry_jwks.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/encryption/telemetry_jwks.ts diff --git a/src/plugins/telemetry_collection_manager/server/index.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/index.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/index.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/index.ts diff --git a/src/plugins/telemetry_collection_manager/server/mocks.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/mocks.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/mocks.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/mocks.ts diff --git a/src/plugins/telemetry_collection_manager/server/plugin.test.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/plugin.test.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/plugin.test.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/plugin.test.ts diff --git a/src/plugins/telemetry_collection_manager/server/plugin.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/plugin.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/plugin.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/plugin.ts diff --git a/src/plugins/telemetry_collection_manager/server/telemetry_saved_objects_client.test.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/telemetry_saved_objects_client.test.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/telemetry_saved_objects_client.test.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/telemetry_saved_objects_client.test.ts diff --git a/src/plugins/telemetry_collection_manager/server/telemetry_saved_objects_client.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/telemetry_saved_objects_client.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/telemetry_saved_objects_client.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/telemetry_saved_objects_client.ts diff --git a/src/plugins/telemetry_collection_manager/server/types.ts b/src/platform/plugins/shared/telemetry_collection_manager/server/types.ts similarity index 100% rename from src/plugins/telemetry_collection_manager/server/types.ts rename to src/platform/plugins/shared/telemetry_collection_manager/server/types.ts diff --git a/src/plugins/telemetry_collection_manager/tsconfig.json b/src/platform/plugins/shared/telemetry_collection_manager/tsconfig.json similarity index 83% rename from src/plugins/telemetry_collection_manager/tsconfig.json rename to src/platform/plugins/shared/telemetry_collection_manager/tsconfig.json index f201a8875c8dc..9eb0922a0e9b4 100644 --- a/src/plugins/telemetry_collection_manager/tsconfig.json +++ b/src/platform/plugins/shared/telemetry_collection_manager/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/telemetry_management_section/README.md b/src/platform/plugins/shared/telemetry_management_section/README.md similarity index 100% rename from src/plugins/telemetry_management_section/README.md rename to src/platform/plugins/shared/telemetry_management_section/README.md diff --git a/src/plugins/telemetry_management_section/common/constants.ts b/src/platform/plugins/shared/telemetry_management_section/common/constants.ts similarity index 100% rename from src/plugins/telemetry_management_section/common/constants.ts rename to src/platform/plugins/shared/telemetry_management_section/common/constants.ts diff --git a/src/plugins/telemetry_management_section/common/index.ts b/src/platform/plugins/shared/telemetry_management_section/common/index.ts similarity index 100% rename from src/plugins/telemetry_management_section/common/index.ts rename to src/platform/plugins/shared/telemetry_management_section/common/index.ts diff --git a/src/platform/plugins/shared/telemetry_management_section/jest.config.js b/src/platform/plugins/shared/telemetry_management_section/jest.config.js new file mode 100644 index 0000000000000..8a7ad3b6757bb --- /dev/null +++ b/src/platform/plugins/shared/telemetry_management_section/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/telemetry_management_section'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/telemetry_management_section', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/telemetry_management_section/public/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/telemetry_management_section/kibana.jsonc b/src/platform/plugins/shared/telemetry_management_section/kibana.jsonc similarity index 100% rename from src/plugins/telemetry_management_section/kibana.jsonc rename to src/platform/plugins/shared/telemetry_management_section/kibana.jsonc diff --git a/src/plugins/telemetry_management_section/public/components/__snapshots__/opt_in_example_flyout.test.tsx.snap b/src/platform/plugins/shared/telemetry_management_section/public/components/__snapshots__/opt_in_example_flyout.test.tsx.snap similarity index 100% rename from src/plugins/telemetry_management_section/public/components/__snapshots__/opt_in_example_flyout.test.tsx.snap rename to src/platform/plugins/shared/telemetry_management_section/public/components/__snapshots__/opt_in_example_flyout.test.tsx.snap diff --git a/src/plugins/telemetry_management_section/public/components/__snapshots__/telemetry_management_section.test.tsx.snap b/src/platform/plugins/shared/telemetry_management_section/public/components/__snapshots__/telemetry_management_section.test.tsx.snap similarity index 100% rename from src/plugins/telemetry_management_section/public/components/__snapshots__/telemetry_management_section.test.tsx.snap rename to src/platform/plugins/shared/telemetry_management_section/public/components/__snapshots__/telemetry_management_section.test.tsx.snap diff --git a/src/plugins/telemetry_management_section/public/components/index.ts b/src/platform/plugins/shared/telemetry_management_section/public/components/index.ts similarity index 100% rename from src/plugins/telemetry_management_section/public/components/index.ts rename to src/platform/plugins/shared/telemetry_management_section/public/components/index.ts diff --git a/src/plugins/telemetry_management_section/public/components/lazy_opt_in_example_flyout.tsx b/src/platform/plugins/shared/telemetry_management_section/public/components/lazy_opt_in_example_flyout.tsx similarity index 100% rename from src/plugins/telemetry_management_section/public/components/lazy_opt_in_example_flyout.tsx rename to src/platform/plugins/shared/telemetry_management_section/public/components/lazy_opt_in_example_flyout.tsx diff --git a/src/plugins/telemetry_management_section/public/components/loading_spinner.tsx b/src/platform/plugins/shared/telemetry_management_section/public/components/loading_spinner.tsx similarity index 100% rename from src/plugins/telemetry_management_section/public/components/loading_spinner.tsx rename to src/platform/plugins/shared/telemetry_management_section/public/components/loading_spinner.tsx diff --git a/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.test.tsx b/src/platform/plugins/shared/telemetry_management_section/public/components/opt_in_example_flyout.test.tsx similarity index 100% rename from src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.test.tsx rename to src/platform/plugins/shared/telemetry_management_section/public/components/opt_in_example_flyout.test.tsx diff --git a/src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.tsx b/src/platform/plugins/shared/telemetry_management_section/public/components/opt_in_example_flyout.tsx similarity index 100% rename from src/plugins/telemetry_management_section/public/components/opt_in_example_flyout.tsx rename to src/platform/plugins/shared/telemetry_management_section/public/components/opt_in_example_flyout.tsx diff --git a/src/plugins/telemetry_management_section/public/components/telemetry_management_section.test.tsx b/src/platform/plugins/shared/telemetry_management_section/public/components/telemetry_management_section.test.tsx similarity index 100% rename from src/plugins/telemetry_management_section/public/components/telemetry_management_section.test.tsx rename to src/platform/plugins/shared/telemetry_management_section/public/components/telemetry_management_section.test.tsx diff --git a/src/plugins/telemetry_management_section/public/components/telemetry_management_section.tsx b/src/platform/plugins/shared/telemetry_management_section/public/components/telemetry_management_section.tsx similarity index 100% rename from src/plugins/telemetry_management_section/public/components/telemetry_management_section.tsx rename to src/platform/plugins/shared/telemetry_management_section/public/components/telemetry_management_section.tsx diff --git a/src/plugins/telemetry_management_section/public/components/telemetry_management_section_wrapper.tsx b/src/platform/plugins/shared/telemetry_management_section/public/components/telemetry_management_section_wrapper.tsx similarity index 100% rename from src/plugins/telemetry_management_section/public/components/telemetry_management_section_wrapper.tsx rename to src/platform/plugins/shared/telemetry_management_section/public/components/telemetry_management_section_wrapper.tsx diff --git a/src/plugins/telemetry_management_section/public/index.ts b/src/platform/plugins/shared/telemetry_management_section/public/index.ts similarity index 100% rename from src/plugins/telemetry_management_section/public/index.ts rename to src/platform/plugins/shared/telemetry_management_section/public/index.ts diff --git a/src/plugins/telemetry_management_section/public/plugin.tsx b/src/platform/plugins/shared/telemetry_management_section/public/plugin.tsx similarity index 100% rename from src/plugins/telemetry_management_section/public/plugin.tsx rename to src/platform/plugins/shared/telemetry_management_section/public/plugin.tsx diff --git a/src/plugins/telemetry_management_section/tsconfig.json b/src/platform/plugins/shared/telemetry_management_section/tsconfig.json similarity index 88% rename from src/plugins/telemetry_management_section/tsconfig.json rename to src/platform/plugins/shared/telemetry_management_section/tsconfig.json index 2441412ff912a..5732919190bc0 100644 --- a/src/plugins/telemetry_management_section/tsconfig.json +++ b/src/platform/plugins/shared/telemetry_management_section/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true @@ -7,7 +7,7 @@ "include": [ "common/**/*", "public/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/src/plugins/usage_collection/README.mdx b/src/platform/plugins/shared/usage_collection/README.mdx similarity index 99% rename from src/plugins/usage_collection/README.mdx rename to src/platform/plugins/shared/usage_collection/README.mdx index d755c9615327e..4c32228f0bd72 100644 --- a/src/plugins/usage_collection/README.mdx +++ b/src/platform/plugins/shared/usage_collection/README.mdx @@ -52,7 +52,7 @@ To track a user interaction, use the API `usageCollection.reportUiCounter` as fo ```ts // public/plugin.ts import { METRIC_TYPE } from '@kbn/analytics'; -import { Plugin, CoreStart } from '../../../core/public'; +import { Plugin, CoreStart } from '../../../../../core/public'; export class MyPlugin implements Plugin { public start( @@ -133,8 +133,8 @@ To create a usage counter for your plugin, use the API `usageCollection.createUs ```ts // server/plugin.ts -import type { Plugin, CoreStart } from '../../../core/server'; -import type { UsageCollectionSetup, UsageCounter } from '../../../plugins/usage_collection/server'; +import type { Plugin, CoreStart } from '../../../../../core/server'; +import type { UsageCollectionSetup, UsageCounter } from '../../../../../plugins/usage_collection/server'; export class MyPlugin implements Plugin { private usageCounter?: UsageCounter; @@ -408,7 +408,7 @@ for structuring your plugin code. ```ts // src/plugins/dashboard/server/plugin.ts -import { PluginInitializerContext, Plugin, CoreStart, CoreSetup } from '../../src/core/server'; +import { PluginInitializerContext, Plugin, CoreStart, CoreSetup } from '../../../../src/core/server'; export class DashboardPlugin implements Plugin { private readonly logger: Logger; diff --git a/src/plugins/usage_collection/common/application_usage.ts b/src/platform/plugins/shared/usage_collection/common/application_usage.ts similarity index 100% rename from src/plugins/usage_collection/common/application_usage.ts rename to src/platform/plugins/shared/usage_collection/common/application_usage.ts diff --git a/src/plugins/usage_collection/common/constants.ts b/src/platform/plugins/shared/usage_collection/common/constants.ts similarity index 100% rename from src/plugins/usage_collection/common/constants.ts rename to src/platform/plugins/shared/usage_collection/common/constants.ts diff --git a/src/plugins/usage_collection/common/index.ts b/src/platform/plugins/shared/usage_collection/common/index.ts similarity index 100% rename from src/plugins/usage_collection/common/index.ts rename to src/platform/plugins/shared/usage_collection/common/index.ts diff --git a/src/plugins/usage_collection/common/types/index.ts b/src/platform/plugins/shared/usage_collection/common/types/index.ts similarity index 100% rename from src/plugins/usage_collection/common/types/index.ts rename to src/platform/plugins/shared/usage_collection/common/types/index.ts diff --git a/src/plugins/usage_collection/common/types/stats/core_metrics.ts b/src/platform/plugins/shared/usage_collection/common/types/stats/core_metrics.ts similarity index 99% rename from src/plugins/usage_collection/common/types/stats/core_metrics.ts rename to src/platform/plugins/shared/usage_collection/common/types/stats/core_metrics.ts index 3e4042faf8115..22310e85f553a 100644 --- a/src/plugins/usage_collection/common/types/stats/core_metrics.ts +++ b/src/platform/plugins/shared/usage_collection/common/types/stats/core_metrics.ts @@ -10,7 +10,7 @@ /** * The types are exact duplicates of the ops metrics types declared in core needed for reporting in the stats api. * We use a copy of these to detect changes in the ops metrics reported from core - * See packages/core/metrics/core-metrics-server/index.ts + * See src/core/packages/metrics/server/index.ts */ /** diff --git a/src/plugins/usage_collection/common/types/stats/index.ts b/src/platform/plugins/shared/usage_collection/common/types/stats/index.ts similarity index 100% rename from src/plugins/usage_collection/common/types/stats/index.ts rename to src/platform/plugins/shared/usage_collection/common/types/stats/index.ts diff --git a/src/plugins/usage_collection/common/types/stats/latest.ts b/src/platform/plugins/shared/usage_collection/common/types/stats/latest.ts similarity index 100% rename from src/plugins/usage_collection/common/types/stats/latest.ts rename to src/platform/plugins/shared/usage_collection/common/types/stats/latest.ts diff --git a/src/plugins/usage_collection/common/types/stats/v1.ts b/src/platform/plugins/shared/usage_collection/common/types/stats/v1.ts similarity index 100% rename from src/plugins/usage_collection/common/types/stats/v1.ts rename to src/platform/plugins/shared/usage_collection/common/types/stats/v1.ts diff --git a/src/plugins/usage_collection/common/types/ui_counters/index.ts b/src/platform/plugins/shared/usage_collection/common/types/ui_counters/index.ts similarity index 100% rename from src/plugins/usage_collection/common/types/ui_counters/index.ts rename to src/platform/plugins/shared/usage_collection/common/types/ui_counters/index.ts diff --git a/src/plugins/usage_collection/common/types/ui_counters/latest.ts b/src/platform/plugins/shared/usage_collection/common/types/ui_counters/latest.ts similarity index 100% rename from src/plugins/usage_collection/common/types/ui_counters/latest.ts rename to src/platform/plugins/shared/usage_collection/common/types/ui_counters/latest.ts diff --git a/src/plugins/usage_collection/common/types/ui_counters/v1.ts b/src/platform/plugins/shared/usage_collection/common/types/ui_counters/v1.ts similarity index 100% rename from src/plugins/usage_collection/common/types/ui_counters/v1.ts rename to src/platform/plugins/shared/usage_collection/common/types/ui_counters/v1.ts diff --git a/src/plugins/usage_collection/common/types/usage_counters/index.ts b/src/platform/plugins/shared/usage_collection/common/types/usage_counters/index.ts similarity index 100% rename from src/plugins/usage_collection/common/types/usage_counters/index.ts rename to src/platform/plugins/shared/usage_collection/common/types/usage_counters/index.ts diff --git a/src/plugins/usage_collection/common/types/usage_counters/latest.ts b/src/platform/plugins/shared/usage_collection/common/types/usage_counters/latest.ts similarity index 100% rename from src/plugins/usage_collection/common/types/usage_counters/latest.ts rename to src/platform/plugins/shared/usage_collection/common/types/usage_counters/latest.ts diff --git a/src/plugins/usage_collection/common/types/usage_counters/v1.ts b/src/platform/plugins/shared/usage_collection/common/types/usage_counters/v1.ts similarity index 100% rename from src/plugins/usage_collection/common/types/usage_counters/v1.ts rename to src/platform/plugins/shared/usage_collection/common/types/usage_counters/v1.ts diff --git a/src/plugins/telemetry_collection_manager/jest.config.js b/src/platform/plugins/shared/usage_collection/jest.config.js similarity index 67% rename from src/plugins/telemetry_collection_manager/jest.config.js rename to src/platform/plugins/shared/usage_collection/jest.config.js index db931f7509983..86d6a7d74bfe1 100644 --- a/src/plugins/telemetry_collection_manager/jest.config.js +++ b/src/platform/plugins/shared/usage_collection/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/telemetry_collection_manager'], + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/usage_collection'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/telemetry_collection_manager', + '/target/kibana-coverage/jest/src/platform/plugins/shared/usage_collection', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/telemetry_collection_manager/{common,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/usage_collection/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/kibana_usage_collection/jest.integration.config.js b/src/platform/plugins/shared/usage_collection/jest.integration.config.js similarity index 84% rename from src/plugins/kibana_usage_collection/jest.integration.config.js rename to src/platform/plugins/shared/usage_collection/jest.integration.config.js index ee3d994d886fc..d62c894f40ec1 100644 --- a/src/plugins/kibana_usage_collection/jest.integration.config.js +++ b/src/platform/plugins/shared/usage_collection/jest.integration.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/src/plugins/kibana_usage_collection'], + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/usage_collection'], }; diff --git a/src/plugins/usage_collection/kibana.jsonc b/src/platform/plugins/shared/usage_collection/kibana.jsonc similarity index 100% rename from src/plugins/usage_collection/kibana.jsonc rename to src/platform/plugins/shared/usage_collection/kibana.jsonc diff --git a/src/plugins/usage_collection/public/components/index.ts b/src/platform/plugins/shared/usage_collection/public/components/index.ts similarity index 100% rename from src/plugins/usage_collection/public/components/index.ts rename to src/platform/plugins/shared/usage_collection/public/components/index.ts diff --git a/src/plugins/usage_collection/public/components/track_application_view/index.ts b/src/platform/plugins/shared/usage_collection/public/components/track_application_view/index.ts similarity index 100% rename from src/plugins/usage_collection/public/components/track_application_view/index.ts rename to src/platform/plugins/shared/usage_collection/public/components/track_application_view/index.ts diff --git a/src/plugins/usage_collection/public/components/track_application_view/track_application_view.test.tsx b/src/platform/plugins/shared/usage_collection/public/components/track_application_view/track_application_view.test.tsx similarity index 100% rename from src/plugins/usage_collection/public/components/track_application_view/track_application_view.test.tsx rename to src/platform/plugins/shared/usage_collection/public/components/track_application_view/track_application_view.test.tsx diff --git a/src/plugins/usage_collection/public/components/track_application_view/track_application_view.tsx b/src/platform/plugins/shared/usage_collection/public/components/track_application_view/track_application_view.tsx similarity index 100% rename from src/plugins/usage_collection/public/components/track_application_view/track_application_view.tsx rename to src/platform/plugins/shared/usage_collection/public/components/track_application_view/track_application_view.tsx diff --git a/src/plugins/usage_collection/public/components/track_application_view/track_application_view_component.test.tsx b/src/platform/plugins/shared/usage_collection/public/components/track_application_view/track_application_view_component.test.tsx similarity index 100% rename from src/plugins/usage_collection/public/components/track_application_view/track_application_view_component.test.tsx rename to src/platform/plugins/shared/usage_collection/public/components/track_application_view/track_application_view_component.test.tsx diff --git a/src/plugins/usage_collection/public/components/track_application_view/track_application_view_component.tsx b/src/platform/plugins/shared/usage_collection/public/components/track_application_view/track_application_view_component.tsx similarity index 100% rename from src/plugins/usage_collection/public/components/track_application_view/track_application_view_component.tsx rename to src/platform/plugins/shared/usage_collection/public/components/track_application_view/track_application_view_component.tsx diff --git a/src/plugins/usage_collection/public/components/track_application_view/types.ts b/src/platform/plugins/shared/usage_collection/public/components/track_application_view/types.ts similarity index 100% rename from src/plugins/usage_collection/public/components/track_application_view/types.ts rename to src/platform/plugins/shared/usage_collection/public/components/track_application_view/types.ts diff --git a/src/plugins/usage_collection/public/index.ts b/src/platform/plugins/shared/usage_collection/public/index.ts similarity index 100% rename from src/plugins/usage_collection/public/index.ts rename to src/platform/plugins/shared/usage_collection/public/index.ts diff --git a/src/plugins/usage_collection/public/mocks.tsx b/src/platform/plugins/shared/usage_collection/public/mocks.tsx similarity index 100% rename from src/plugins/usage_collection/public/mocks.tsx rename to src/platform/plugins/shared/usage_collection/public/mocks.tsx diff --git a/src/plugins/usage_collection/public/plugin.tsx b/src/platform/plugins/shared/usage_collection/public/plugin.tsx similarity index 100% rename from src/plugins/usage_collection/public/plugin.tsx rename to src/platform/plugins/shared/usage_collection/public/plugin.tsx diff --git a/src/plugins/usage_collection/public/services/application_usage.test.ts b/src/platform/plugins/shared/usage_collection/public/services/application_usage.test.ts similarity index 100% rename from src/plugins/usage_collection/public/services/application_usage.test.ts rename to src/platform/plugins/shared/usage_collection/public/services/application_usage.test.ts diff --git a/src/plugins/usage_collection/public/services/application_usage.ts b/src/platform/plugins/shared/usage_collection/public/services/application_usage.ts similarity index 100% rename from src/plugins/usage_collection/public/services/application_usage.ts rename to src/platform/plugins/shared/usage_collection/public/services/application_usage.ts diff --git a/src/plugins/usage_collection/public/services/create_reporter.ts b/src/platform/plugins/shared/usage_collection/public/services/create_reporter.ts similarity index 100% rename from src/plugins/usage_collection/public/services/create_reporter.ts rename to src/platform/plugins/shared/usage_collection/public/services/create_reporter.ts diff --git a/src/plugins/usage_collection/public/services/index.ts b/src/platform/plugins/shared/usage_collection/public/services/index.ts similarity index 100% rename from src/plugins/usage_collection/public/services/index.ts rename to src/platform/plugins/shared/usage_collection/public/services/index.ts diff --git a/src/plugins/usage_collection/server/collector/__snapshots__/collector_set.test.ts.snap b/src/platform/plugins/shared/usage_collection/server/collector/__snapshots__/collector_set.test.ts.snap similarity index 100% rename from src/plugins/usage_collection/server/collector/__snapshots__/collector_set.test.ts.snap rename to src/platform/plugins/shared/usage_collection/server/collector/__snapshots__/collector_set.test.ts.snap diff --git a/src/plugins/usage_collection/server/collector/collector.test.ts b/src/platform/plugins/shared/usage_collection/server/collector/collector.test.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/collector.test.ts rename to src/platform/plugins/shared/usage_collection/server/collector/collector.test.ts diff --git a/src/plugins/usage_collection/server/collector/collector.ts b/src/platform/plugins/shared/usage_collection/server/collector/collector.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/collector.ts rename to src/platform/plugins/shared/usage_collection/server/collector/collector.ts diff --git a/src/plugins/usage_collection/server/collector/collector_set.test.ts b/src/platform/plugins/shared/usage_collection/server/collector/collector_set.test.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/collector_set.test.ts rename to src/platform/plugins/shared/usage_collection/server/collector/collector_set.test.ts diff --git a/src/plugins/usage_collection/server/collector/collector_set.ts b/src/platform/plugins/shared/usage_collection/server/collector/collector_set.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/collector_set.ts rename to src/platform/plugins/shared/usage_collection/server/collector/collector_set.ts diff --git a/src/plugins/usage_collection/server/collector/collector_stats/README.md b/src/platform/plugins/shared/usage_collection/server/collector/collector_stats/README.md similarity index 100% rename from src/plugins/usage_collection/server/collector/collector_stats/README.md rename to src/platform/plugins/shared/usage_collection/server/collector/collector_stats/README.md diff --git a/src/plugins/usage_collection/server/collector/collector_stats/index.ts b/src/platform/plugins/shared/usage_collection/server/collector/collector_stats/index.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/collector_stats/index.ts rename to src/platform/plugins/shared/usage_collection/server/collector/collector_stats/index.ts diff --git a/src/plugins/usage_collection/server/collector/collector_stats/schema.ts b/src/platform/plugins/shared/usage_collection/server/collector/collector_stats/schema.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/collector_stats/schema.ts rename to src/platform/plugins/shared/usage_collection/server/collector/collector_stats/schema.ts diff --git a/src/plugins/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.test.ts b/src/platform/plugins/shared/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.test.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.test.ts rename to src/platform/plugins/shared/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.test.ts diff --git a/src/plugins/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.ts b/src/platform/plugins/shared/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.ts rename to src/platform/plugins/shared/usage_collection/server/collector/collector_stats/usage_collector_stats_collector.ts diff --git a/src/plugins/usage_collection/server/collector/index.ts b/src/platform/plugins/shared/usage_collection/server/collector/index.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/index.ts rename to src/platform/plugins/shared/usage_collection/server/collector/index.ts diff --git a/src/plugins/usage_collection/server/collector/measure_duration.ts b/src/platform/plugins/shared/usage_collection/server/collector/measure_duration.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/measure_duration.ts rename to src/platform/plugins/shared/usage_collection/server/collector/measure_duration.ts diff --git a/src/plugins/usage_collection/server/collector/types.ts b/src/platform/plugins/shared/usage_collection/server/collector/types.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/types.ts rename to src/platform/plugins/shared/usage_collection/server/collector/types.ts diff --git a/src/plugins/usage_collection/server/collector/usage_collector.ts b/src/platform/plugins/shared/usage_collection/server/collector/usage_collector.ts similarity index 100% rename from src/plugins/usage_collection/server/collector/usage_collector.ts rename to src/platform/plugins/shared/usage_collection/server/collector/usage_collector.ts diff --git a/src/plugins/usage_collection/server/config.ts b/src/platform/plugins/shared/usage_collection/server/config.ts similarity index 100% rename from src/plugins/usage_collection/server/config.ts rename to src/platform/plugins/shared/usage_collection/server/config.ts diff --git a/src/plugins/usage_collection/server/index.ts b/src/platform/plugins/shared/usage_collection/server/index.ts similarity index 100% rename from src/plugins/usage_collection/server/index.ts rename to src/platform/plugins/shared/usage_collection/server/index.ts diff --git a/src/plugins/usage_collection/server/mocks.ts b/src/platform/plugins/shared/usage_collection/server/mocks.ts similarity index 100% rename from src/plugins/usage_collection/server/mocks.ts rename to src/platform/plugins/shared/usage_collection/server/mocks.ts diff --git a/src/plugins/usage_collection/server/plugin.ts b/src/platform/plugins/shared/usage_collection/server/plugin.ts similarity index 100% rename from src/plugins/usage_collection/server/plugin.ts rename to src/platform/plugins/shared/usage_collection/server/plugin.ts diff --git a/src/plugins/usage_collection/server/report/index.ts b/src/platform/plugins/shared/usage_collection/server/report/index.ts similarity index 100% rename from src/plugins/usage_collection/server/report/index.ts rename to src/platform/plugins/shared/usage_collection/server/report/index.ts diff --git a/src/plugins/usage_collection/server/report/schema.ts b/src/platform/plugins/shared/usage_collection/server/report/schema.ts similarity index 100% rename from src/plugins/usage_collection/server/report/schema.ts rename to src/platform/plugins/shared/usage_collection/server/report/schema.ts diff --git a/src/plugins/usage_collection/server/report/store_application_usage.test.ts b/src/platform/plugins/shared/usage_collection/server/report/store_application_usage.test.ts similarity index 100% rename from src/plugins/usage_collection/server/report/store_application_usage.test.ts rename to src/platform/plugins/shared/usage_collection/server/report/store_application_usage.test.ts diff --git a/src/plugins/usage_collection/server/report/store_application_usage.ts b/src/platform/plugins/shared/usage_collection/server/report/store_application_usage.ts similarity index 100% rename from src/plugins/usage_collection/server/report/store_application_usage.ts rename to src/platform/plugins/shared/usage_collection/server/report/store_application_usage.ts diff --git a/src/plugins/usage_collection/server/report/store_ui_report.test.mocks.ts b/src/platform/plugins/shared/usage_collection/server/report/store_ui_report.test.mocks.ts similarity index 100% rename from src/plugins/usage_collection/server/report/store_ui_report.test.mocks.ts rename to src/platform/plugins/shared/usage_collection/server/report/store_ui_report.test.mocks.ts diff --git a/src/plugins/usage_collection/server/report/store_ui_report.test.ts b/src/platform/plugins/shared/usage_collection/server/report/store_ui_report.test.ts similarity index 100% rename from src/plugins/usage_collection/server/report/store_ui_report.test.ts rename to src/platform/plugins/shared/usage_collection/server/report/store_ui_report.test.ts diff --git a/src/plugins/usage_collection/server/report/store_ui_report.ts b/src/platform/plugins/shared/usage_collection/server/report/store_ui_report.ts similarity index 100% rename from src/plugins/usage_collection/server/report/store_ui_report.ts rename to src/platform/plugins/shared/usage_collection/server/report/store_ui_report.ts diff --git a/src/plugins/usage_collection/server/routes/index.ts b/src/platform/plugins/shared/usage_collection/server/routes/index.ts similarity index 100% rename from src/plugins/usage_collection/server/routes/index.ts rename to src/platform/plugins/shared/usage_collection/server/routes/index.ts diff --git a/src/plugins/usage_collection/server/routes/integration_tests/stats.test.ts b/src/platform/plugins/shared/usage_collection/server/routes/integration_tests/stats.test.ts similarity index 100% rename from src/plugins/usage_collection/server/routes/integration_tests/stats.test.ts rename to src/platform/plugins/shared/usage_collection/server/routes/integration_tests/stats.test.ts diff --git a/src/plugins/usage_collection/server/routes/stats/README.md b/src/platform/plugins/shared/usage_collection/server/routes/stats/README.md similarity index 100% rename from src/plugins/usage_collection/server/routes/stats/README.md rename to src/platform/plugins/shared/usage_collection/server/routes/stats/README.md diff --git a/src/plugins/usage_collection/server/routes/stats/index.ts b/src/platform/plugins/shared/usage_collection/server/routes/stats/index.ts similarity index 100% rename from src/plugins/usage_collection/server/routes/stats/index.ts rename to src/platform/plugins/shared/usage_collection/server/routes/stats/index.ts diff --git a/src/plugins/usage_collection/server/routes/stats/stats.ts b/src/platform/plugins/shared/usage_collection/server/routes/stats/stats.ts similarity index 100% rename from src/plugins/usage_collection/server/routes/stats/stats.ts rename to src/platform/plugins/shared/usage_collection/server/routes/stats/stats.ts diff --git a/src/plugins/usage_collection/server/routes/ui_counters.ts b/src/platform/plugins/shared/usage_collection/server/routes/ui_counters.ts similarity index 100% rename from src/plugins/usage_collection/server/routes/ui_counters.ts rename to src/platform/plugins/shared/usage_collection/server/routes/ui_counters.ts diff --git a/src/plugins/usage_collection/server/usage_counters/common/kuery_utils.test.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/common/kuery_utils.test.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/common/kuery_utils.test.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/common/kuery_utils.test.ts diff --git a/src/plugins/usage_collection/server/usage_counters/common/kuery_utils.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/common/kuery_utils.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/common/kuery_utils.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/common/kuery_utils.ts diff --git a/src/plugins/usage_collection/server/usage_counters/index.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/index.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/index.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/index.ts diff --git a/src/plugins/usage_collection/server/usage_counters/integration_tests/counter_utils.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/integration_tests/counter_utils.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/integration_tests/counter_utils.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/integration_tests/counter_utils.ts diff --git a/src/plugins/usage_collection/server/usage_counters/integration_tests/rollups.test.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/integration_tests/rollups.test.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/integration_tests/rollups.test.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/integration_tests/rollups.test.ts diff --git a/src/plugins/usage_collection/server/usage_counters/integration_tests/search.test.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/integration_tests/search.test.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/integration_tests/search.test.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/integration_tests/search.test.ts diff --git a/src/plugins/usage_collection/server/usage_counters/rollups/constants.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/constants.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/rollups/constants.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/constants.ts diff --git a/src/plugins/usage_collection/server/usage_counters/rollups/index.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/index.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/rollups/index.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/index.ts diff --git a/src/plugins/usage_collection/server/usage_counters/rollups/register_rollups.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/register_rollups.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/rollups/register_rollups.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/register_rollups.ts diff --git a/src/plugins/usage_collection/server/usage_counters/rollups/rollups.test.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/rollups.test.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/rollups/rollups.test.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/rollups.test.ts diff --git a/src/plugins/usage_collection/server/usage_counters/rollups/rollups.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/rollups.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/rollups/rollups.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/rollups/rollups.ts diff --git a/src/plugins/usage_collection/server/usage_counters/saved_objects.test.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/saved_objects.test.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/saved_objects.test.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/saved_objects.test.ts diff --git a/src/plugins/usage_collection/server/usage_counters/saved_objects.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/saved_objects.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/saved_objects.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/saved_objects.ts diff --git a/src/plugins/usage_collection/server/usage_counters/search/index.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/search/index.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/search/index.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/search/index.ts diff --git a/src/plugins/usage_collection/server/usage_counters/search/search.fixtures.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/search/search.fixtures.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/search/search.fixtures.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/search/search.fixtures.ts diff --git a/src/plugins/usage_collection/server/usage_counters/search/search.test.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/search/search.test.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/search/search.test.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/search/search.test.ts diff --git a/src/plugins/usage_collection/server/usage_counters/search/search.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/search/search.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/search/search.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/search/search.ts diff --git a/src/plugins/usage_collection/server/usage_counters/types.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/types.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/types.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/types.ts diff --git a/src/plugins/usage_collection/server/usage_counters/usage_counter.test.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counter.test.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/usage_counter.test.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counter.test.ts diff --git a/src/plugins/usage_collection/server/usage_counters/usage_counter.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counter.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/usage_counter.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counter.ts diff --git a/src/plugins/usage_collection/server/usage_counters/usage_counters_service.mock.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counters_service.mock.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/usage_counters_service.mock.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counters_service.mock.ts diff --git a/src/plugins/usage_collection/server/usage_counters/usage_counters_service.test.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counters_service.test.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/usage_counters_service.test.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counters_service.test.ts diff --git a/src/plugins/usage_collection/server/usage_counters/usage_counters_service.ts b/src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counters_service.ts similarity index 100% rename from src/plugins/usage_collection/server/usage_counters/usage_counters_service.ts rename to src/platform/plugins/shared/usage_collection/server/usage_counters/usage_counters_service.ts diff --git a/src/plugins/usage_collection/tsconfig.json b/src/platform/plugins/shared/usage_collection/tsconfig.json similarity index 89% rename from src/plugins/usage_collection/tsconfig.json rename to src/platform/plugins/shared/usage_collection/tsconfig.json index 444f4908bf401..b1f637e38a166 100644 --- a/src/plugins/usage_collection/tsconfig.json +++ b/src/platform/plugins/shared/usage_collection/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true @@ -8,7 +8,7 @@ "public/**/*", "server/**/*", "common/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/src/plugins/ftr_apis/jest.config.js b/src/plugins/ftr_apis/jest.config.js deleted file mode 100644 index cf6341c420a19..0000000000000 --- a/src/plugins/ftr_apis/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/ftr_apis'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/ftr_apis', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/ftr_apis/{common,public,server}/**/*.{js,ts,tsx}'], -}; diff --git a/src/plugins/newsfeed/jest.config.js b/src/plugins/newsfeed/jest.config.js deleted file mode 100644 index 0a3a3c308e507..0000000000000 --- a/src/plugins/newsfeed/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/newsfeed'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/newsfeed', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/newsfeed/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/telemetry/jest.config.js b/src/plugins/telemetry/jest.config.js deleted file mode 100644 index 6f457afc963b2..0000000000000 --- a/src/plugins/telemetry/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/telemetry'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/telemetry', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/telemetry/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/telemetry/schema/oss_platform.json b/src/plugins/telemetry/schema/oss_platform.json deleted file mode 100644 index 9b5246d49d059..0000000000000 --- a/src/plugins/telemetry/schema/oss_platform.json +++ /dev/null @@ -1,298 +0,0 @@ -{ - "properties": { - "dashboard": { - "properties": { - "panels": { - "properties": { - "total": { - "type": "long" - }, - "by_reference": { - "type": "long" - }, - "by_value": { - "type": "long" - }, - "by_type": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The number of panels that have been added to all dashboards." - } - }, - "by_reference": { - "type": "long", - "_meta": { - "description": "The number of \"by reference\" panels that have been added to all dashboards." - } - }, - "by_value": { - "type": "long", - "_meta": { - "description": "The number of \"by value\" panels that have been added to all dashboards." - } - }, - "details": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that embeddable service reports. Embeddable service internally calls each embeddable, which in turn calls its dynamic actions, which calls each drill down attached to that embeddable." - } - } - } - } - } - } - } - } - } - }, - "controls": { - "properties": { - "total": { - "type": "long" - }, - "by_type": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The number of this type of control in all Control Groups" - } - }, - "details": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that embeddable service reports. Will be used for details which are specific to the current control type" - } - } - } - } - } - } - } - }, - "ignore_settings": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which have this ignore setting turned on" - } - } - } - }, - "chaining_system": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which are using this chaining system" - } - } - } - }, - "label_position": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which have their labels in this position" - } - } - } - } - } - } - } - }, - "files": { - "properties": { - "countByExtension": { - "type": "array", - "items": { - "properties": { - "extension": { - "type": "keyword" - }, - "count": { - "type": "long" - } - } - } - }, - "countByStatus": { - "properties": { - "AWAITING_UPLOAD": { - "type": "long", - "_meta": { - "description": "Number of files awaiting upload" - } - }, - "DELETED": { - "type": "long", - "_meta": { - "description": "Number of files that are marked as deleted" - } - }, - "READY": { - "type": "long", - "_meta": { - "description": "Number of files that are ready for download" - } - }, - "UPLOADING": { - "type": "long", - "_meta": { - "description": "Number of files that are currently uploading" - } - }, - "UPLOAD_ERROR": { - "type": "long", - "_meta": { - "description": "Number of files that failed to upload" - } - } - } - }, - "storage": { - "properties": { - "esFixedSizeIndex": { - "properties": { - "capacity": { - "type": "long", - "_meta": { - "description": "Capacity of the fixed size index" - } - }, - "available": { - "type": "long", - "_meta": { - "description": "Available storage in bytes" - } - }, - "used": { - "type": "long", - "_meta": { - "description": "Used storage in bytes" - } - } - } - } - } - } - } - }, - "index-patterns": { - "properties": { - "indexPatternsCount": { - "type": "long" - }, - "indexPatternsWithScriptedFieldCount": { - "type": "long" - }, - "indexPatternsWithRuntimeFieldCount": { - "type": "long" - }, - "scriptedFieldCount": { - "type": "long" - }, - "runtimeFieldCount": { - "type": "long" - }, - "perIndexPattern": { - "properties": { - "scriptedFieldCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "runtimeFieldCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "scriptedFieldLineCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "runtimeFieldLineCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - } - } - } - } - }, - "sample-data": { - "properties": { - "installed": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "last_install_date": { - "type": "date" - }, - "last_install_set": { - "type": "keyword" - }, - "last_uninstall_date": { - "type": "date" - }, - "last_uninstall_set": { - "type": "keyword" - }, - "uninstalled": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } -} diff --git a/src/plugins/telemetry_management_section/jest.config.js b/src/plugins/telemetry_management_section/jest.config.js deleted file mode 100644 index cd6cf78c72ad8..0000000000000 --- a/src/plugins/telemetry_management_section/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/telemetry_management_section'], - coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/telemetry_management_section', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/telemetry_management_section/public/**/*.{ts,tsx}'], -}; diff --git a/test/common/plugins/newsfeed/server/plugin.ts b/test/common/plugins/newsfeed/server/plugin.ts index c4c242fa49dcf..d63b0fe95484e 100644 --- a/test/common/plugins/newsfeed/server/plugin.ts +++ b/test/common/plugins/newsfeed/server/plugin.ts @@ -46,7 +46,9 @@ export class NewsFeedSimulatorPlugin implements Plugin { items: [ { title: { en: `You are functionally testing the newsfeed widget with fixtures!` }, - description: { en: 'See test/common/plugins/newsfeed/newsfeed_simulation' }, + description: { + en: 'See test/common/platform/plugins/shared/newsfeed/newsfeed_simulation', + }, link_text: { en: 'Generic feed-viewer could go here' }, link_url: { en: 'https://feeds.elastic.co' }, languages: null, diff --git a/test/plugin_functional/plugins/telemetry/package.json b/test/plugin_functional/plugins/telemetry/package.json index 688a77b3f6e54..3a94f4d4ea136 100644 --- a/test/plugin_functional/plugins/telemetry/package.json +++ b/test/plugin_functional/plugins/telemetry/package.json @@ -1,7 +1,7 @@ { "name": "@kbn/telemetry-test-plugin", "version": "1.0.0", - "main": "target/test/plugin_functional/plugins/telemetry", + "main": "target/test/plugin_functional/platform/plugins/shared/telemetry", "kibana": { "version": "kibana", "templateVersion": "1.0.0" diff --git a/test/plugin_functional/plugins/usage_collection/package.json b/test/plugin_functional/plugins/usage_collection/package.json index d57736dc83481..5b23ab2bdb45c 100644 --- a/test/plugin_functional/plugins/usage_collection/package.json +++ b/test/plugin_functional/plugins/usage_collection/package.json @@ -1,7 +1,7 @@ { "name": "@kbn/usage-collection-test-plugin", "version": "1.0.0", - "main": "target/test/plugin_functional/plugins/usage_collection", + "main": "target/test/plugin_functional/platform/plugins/shared/usage_collection", "kibana": { "version": "kibana", "templateVersion": "1.0.0" diff --git a/tsconfig.base.json b/tsconfig.base.json index 57d194ebf348d..5d937b66187e4 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -68,16 +68,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/solutions/observability/plugins/apm_data_access"], "@kbn/apm-data-access-plugin/*": ["x-pack/solutions/observability/plugins/apm_data_access/*"], "@kbn/apm-data-view": ["src/platform/packages/shared/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/platform/plugins/private/cloud_integrations/cloud_data_migration"], "@kbn/cloud-data-migration-plugin/*": ["x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/*"], "@kbn/cloud-defend-plugin": ["x-pack/solutions/security/plugins/cloud_defend"], "@kbn/cloud-defend-plugin/*": ["x-pack/solutions/security/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/solutions/security/packages/kbn-cloud-security-posture/public"], "@kbn/cloud-security-posture/*": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/public/*"], "@kbn/cloud-security-posture-common": ["x-pack/platform/packages/shared/kbn-cloud-security-posture/common"], @@ -190,12 +190,12 @@ "@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-mocks": ["packages/kbn-config-mocks"], - "@kbn/config-mocks/*": ["packages/kbn-config-mocks/*"], - "@kbn/config-schema": ["packages/kbn-config-schema"], - "@kbn/config-schema/*": ["packages/kbn-config-schema/*"], + "@kbn/config": ["src/platform/packages/shared/kbn-config"], + "@kbn/config/*": ["src/platform/packages/shared/kbn-config/*"], + "@kbn/config-mocks": ["src/platform/packages/private/kbn-config-mocks"], + "@kbn/config-mocks/*": ["src/platform/packages/private/kbn-config-mocks/*"], + "@kbn/config-schema": ["src/platform/packages/shared/kbn-config-schema"], + "@kbn/config-schema/*": ["src/platform/packages/shared/kbn-config-schema/*"], "@kbn/console-plugin": ["src/platform/plugins/shared/console"], "@kbn/console-plugin/*": ["src/platform/plugins/shared/console/*"], "@kbn/content-management-content-editor": ["packages/content-management/content_editor"], @@ -266,22 +266,22 @@ "@kbn/core-base-browser-mocks/*": ["packages/core/base/core-base-browser-mocks/*"], "@kbn/core-base-common": ["src/core/packages/base/common"], "@kbn/core-base-common/*": ["src/core/packages/base/common/*"], - "@kbn/core-base-common-internal": ["packages/core/base/core-base-common-internal"], - "@kbn/core-base-common-internal/*": ["packages/core/base/core-base-common-internal/*"], - "@kbn/core-base-server-internal": ["packages/core/base/core-base-server-internal"], - "@kbn/core-base-server-internal/*": ["packages/core/base/core-base-server-internal/*"], + "@kbn/core-base-common-internal": ["src/core/packages/base/common-internal"], + "@kbn/core-base-common-internal/*": ["src/core/packages/base/common-internal/*"], + "@kbn/core-base-server-internal": ["src/core/packages/base/server-internal"], + "@kbn/core-base-server-internal/*": ["src/core/packages/base/server-internal/*"], "@kbn/core-base-server-mocks": ["packages/core/base/core-base-server-mocks"], "@kbn/core-base-server-mocks/*": ["packages/core/base/core-base-server-mocks/*"], - "@kbn/core-capabilities-browser-internal": ["packages/core/capabilities/core-capabilities-browser-internal"], - "@kbn/core-capabilities-browser-internal/*": ["packages/core/capabilities/core-capabilities-browser-internal/*"], + "@kbn/core-capabilities-browser-internal": ["src/core/packages/capabilities/browser-internal"], + "@kbn/core-capabilities-browser-internal/*": ["src/core/packages/capabilities/browser-internal/*"], "@kbn/core-capabilities-browser-mocks": ["packages/core/capabilities/core-capabilities-browser-mocks"], "@kbn/core-capabilities-browser-mocks/*": ["packages/core/capabilities/core-capabilities-browser-mocks/*"], - "@kbn/core-capabilities-common": ["packages/core/capabilities/core-capabilities-common"], - "@kbn/core-capabilities-common/*": ["packages/core/capabilities/core-capabilities-common/*"], - "@kbn/core-capabilities-server": ["packages/core/capabilities/core-capabilities-server"], - "@kbn/core-capabilities-server/*": ["packages/core/capabilities/core-capabilities-server/*"], - "@kbn/core-capabilities-server-internal": ["packages/core/capabilities/core-capabilities-server-internal"], - "@kbn/core-capabilities-server-internal/*": ["packages/core/capabilities/core-capabilities-server-internal/*"], + "@kbn/core-capabilities-common": ["src/core/packages/capabilities/common"], + "@kbn/core-capabilities-common/*": ["src/core/packages/capabilities/common/*"], + "@kbn/core-capabilities-server": ["src/core/packages/capabilities/server"], + "@kbn/core-capabilities-server/*": ["src/core/packages/capabilities/server/*"], + "@kbn/core-capabilities-server-internal": ["src/core/packages/capabilities/server-internal"], + "@kbn/core-capabilities-server-internal/*": ["src/core/packages/capabilities/server-internal/*"], "@kbn/core-capabilities-server-mocks": ["packages/core/capabilities/core-capabilities-server-mocks"], "@kbn/core-capabilities-server-mocks/*": ["packages/core/capabilities/core-capabilities-server-mocks/*"], "@kbn/core-chrome-browser": ["packages/core/chrome/core-chrome-browser"], @@ -290,8 +290,8 @@ "@kbn/core-chrome-browser-internal/*": ["packages/core/chrome/core-chrome-browser-internal/*"], "@kbn/core-chrome-browser-mocks": ["packages/core/chrome/core-chrome-browser-mocks"], "@kbn/core-chrome-browser-mocks/*": ["packages/core/chrome/core-chrome-browser-mocks/*"], - "@kbn/core-config-server-internal": ["packages/core/config/core-config-server-internal"], - "@kbn/core-config-server-internal/*": ["packages/core/config/core-config-server-internal/*"], + "@kbn/core-config-server-internal": ["src/core/packages/config/server-internal"], + "@kbn/core-config-server-internal/*": ["src/core/packages/config/server-internal/*"], "@kbn/core-custom-branding-browser": ["packages/core/custom-branding/core-custom-branding-browser"], "@kbn/core-custom-branding-browser/*": ["packages/core/custom-branding/core-custom-branding-browser/*"], "@kbn/core-custom-branding-browser-internal": ["packages/core/custom-branding/core-custom-branding-browser-internal"], @@ -306,192 +306,192 @@ "@kbn/core-custom-branding-server-internal/*": ["packages/core/custom-branding/core-custom-branding-server-internal/*"], "@kbn/core-custom-branding-server-mocks": ["packages/core/custom-branding/core-custom-branding-server-mocks"], "@kbn/core-custom-branding-server-mocks/*": ["packages/core/custom-branding/core-custom-branding-server-mocks/*"], - "@kbn/core-deprecations-browser": ["packages/core/deprecations/core-deprecations-browser"], - "@kbn/core-deprecations-browser/*": ["packages/core/deprecations/core-deprecations-browser/*"], - "@kbn/core-deprecations-browser-internal": ["packages/core/deprecations/core-deprecations-browser-internal"], - "@kbn/core-deprecations-browser-internal/*": ["packages/core/deprecations/core-deprecations-browser-internal/*"], + "@kbn/core-deprecations-browser": ["src/core/packages/deprecations/browser"], + "@kbn/core-deprecations-browser/*": ["src/core/packages/deprecations/browser/*"], + "@kbn/core-deprecations-browser-internal": ["src/core/packages/deprecations/browser-internal"], + "@kbn/core-deprecations-browser-internal/*": ["src/core/packages/deprecations/browser-internal/*"], "@kbn/core-deprecations-browser-mocks": ["packages/core/deprecations/core-deprecations-browser-mocks"], "@kbn/core-deprecations-browser-mocks/*": ["packages/core/deprecations/core-deprecations-browser-mocks/*"], - "@kbn/core-deprecations-common": ["packages/core/deprecations/core-deprecations-common"], - "@kbn/core-deprecations-common/*": ["packages/core/deprecations/core-deprecations-common/*"], - "@kbn/core-deprecations-server": ["packages/core/deprecations/core-deprecations-server"], - "@kbn/core-deprecations-server/*": ["packages/core/deprecations/core-deprecations-server/*"], - "@kbn/core-deprecations-server-internal": ["packages/core/deprecations/core-deprecations-server-internal"], - "@kbn/core-deprecations-server-internal/*": ["packages/core/deprecations/core-deprecations-server-internal/*"], + "@kbn/core-deprecations-common": ["src/core/packages/deprecations/common"], + "@kbn/core-deprecations-common/*": ["src/core/packages/deprecations/common/*"], + "@kbn/core-deprecations-server": ["src/core/packages/deprecations/server"], + "@kbn/core-deprecations-server/*": ["src/core/packages/deprecations/server/*"], + "@kbn/core-deprecations-server-internal": ["src/core/packages/deprecations/server-internal"], + "@kbn/core-deprecations-server-internal/*": ["src/core/packages/deprecations/server-internal/*"], "@kbn/core-deprecations-server-mocks": ["packages/core/deprecations/core-deprecations-server-mocks"], "@kbn/core-deprecations-server-mocks/*": ["packages/core/deprecations/core-deprecations-server-mocks/*"], - "@kbn/core-doc-links-browser": ["packages/core/doc-links/core-doc-links-browser"], - "@kbn/core-doc-links-browser/*": ["packages/core/doc-links/core-doc-links-browser/*"], - "@kbn/core-doc-links-browser-internal": ["packages/core/doc-links/core-doc-links-browser-internal"], - "@kbn/core-doc-links-browser-internal/*": ["packages/core/doc-links/core-doc-links-browser-internal/*"], + "@kbn/core-doc-links-browser": ["src/core/packages/doc-links/browser"], + "@kbn/core-doc-links-browser/*": ["src/core/packages/doc-links/browser/*"], + "@kbn/core-doc-links-browser-internal": ["src/core/packages/doc-links/browser-internal"], + "@kbn/core-doc-links-browser-internal/*": ["src/core/packages/doc-links/browser-internal/*"], "@kbn/core-doc-links-browser-mocks": ["packages/core/doc-links/core-doc-links-browser-mocks"], "@kbn/core-doc-links-browser-mocks/*": ["packages/core/doc-links/core-doc-links-browser-mocks/*"], - "@kbn/core-doc-links-server": ["packages/core/doc-links/core-doc-links-server"], - "@kbn/core-doc-links-server/*": ["packages/core/doc-links/core-doc-links-server/*"], - "@kbn/core-doc-links-server-internal": ["packages/core/doc-links/core-doc-links-server-internal"], - "@kbn/core-doc-links-server-internal/*": ["packages/core/doc-links/core-doc-links-server-internal/*"], + "@kbn/core-doc-links-server": ["src/core/packages/doc-links/server"], + "@kbn/core-doc-links-server/*": ["src/core/packages/doc-links/server/*"], + "@kbn/core-doc-links-server-internal": ["src/core/packages/doc-links/server-internal"], + "@kbn/core-doc-links-server-internal/*": ["src/core/packages/doc-links/server-internal/*"], "@kbn/core-doc-links-server-mocks": ["packages/core/doc-links/core-doc-links-server-mocks"], "@kbn/core-doc-links-server-mocks/*": ["packages/core/doc-links/core-doc-links-server-mocks/*"], - "@kbn/core-elasticsearch-client-server-internal": ["packages/core/elasticsearch/core-elasticsearch-client-server-internal"], - "@kbn/core-elasticsearch-client-server-internal/*": ["packages/core/elasticsearch/core-elasticsearch-client-server-internal/*"], + "@kbn/core-elasticsearch-client-server-internal": ["src/core/packages/elasticsearch/client-server-internal"], + "@kbn/core-elasticsearch-client-server-internal/*": ["src/core/packages/elasticsearch/client-server-internal/*"], "@kbn/core-elasticsearch-client-server-mocks": ["packages/core/elasticsearch/core-elasticsearch-client-server-mocks"], "@kbn/core-elasticsearch-client-server-mocks/*": ["packages/core/elasticsearch/core-elasticsearch-client-server-mocks/*"], - "@kbn/core-elasticsearch-server": ["packages/core/elasticsearch/core-elasticsearch-server"], - "@kbn/core-elasticsearch-server/*": ["packages/core/elasticsearch/core-elasticsearch-server/*"], - "@kbn/core-elasticsearch-server-internal": ["packages/core/elasticsearch/core-elasticsearch-server-internal"], - "@kbn/core-elasticsearch-server-internal/*": ["packages/core/elasticsearch/core-elasticsearch-server-internal/*"], + "@kbn/core-elasticsearch-server": ["src/core/packages/elasticsearch/server"], + "@kbn/core-elasticsearch-server/*": ["src/core/packages/elasticsearch/server/*"], + "@kbn/core-elasticsearch-server-internal": ["src/core/packages/elasticsearch/server-internal"], + "@kbn/core-elasticsearch-server-internal/*": ["src/core/packages/elasticsearch/server-internal/*"], "@kbn/core-elasticsearch-server-mocks": ["packages/core/elasticsearch/core-elasticsearch-server-mocks"], "@kbn/core-elasticsearch-server-mocks/*": ["packages/core/elasticsearch/core-elasticsearch-server-mocks/*"], - "@kbn/core-environment-server-internal": ["packages/core/environment/core-environment-server-internal"], - "@kbn/core-environment-server-internal/*": ["packages/core/environment/core-environment-server-internal/*"], + "@kbn/core-environment-server-internal": ["src/core/packages/environment/server-internal"], + "@kbn/core-environment-server-internal/*": ["src/core/packages/environment/server-internal/*"], "@kbn/core-environment-server-mocks": ["packages/core/environment/core-environment-server-mocks"], "@kbn/core-environment-server-mocks/*": ["packages/core/environment/core-environment-server-mocks/*"], - "@kbn/core-execution-context-browser": ["packages/core/execution-context/core-execution-context-browser"], - "@kbn/core-execution-context-browser/*": ["packages/core/execution-context/core-execution-context-browser/*"], - "@kbn/core-execution-context-browser-internal": ["packages/core/execution-context/core-execution-context-browser-internal"], - "@kbn/core-execution-context-browser-internal/*": ["packages/core/execution-context/core-execution-context-browser-internal/*"], + "@kbn/core-execution-context-browser": ["src/core/packages/execution-context/browser"], + "@kbn/core-execution-context-browser/*": ["src/core/packages/execution-context/browser/*"], + "@kbn/core-execution-context-browser-internal": ["src/core/packages/execution-context/browser-internal"], + "@kbn/core-execution-context-browser-internal/*": ["src/core/packages/execution-context/browser-internal/*"], "@kbn/core-execution-context-browser-mocks": ["packages/core/execution-context/core-execution-context-browser-mocks"], "@kbn/core-execution-context-browser-mocks/*": ["packages/core/execution-context/core-execution-context-browser-mocks/*"], - "@kbn/core-execution-context-common": ["packages/core/execution-context/core-execution-context-common"], - "@kbn/core-execution-context-common/*": ["packages/core/execution-context/core-execution-context-common/*"], - "@kbn/core-execution-context-server": ["packages/core/execution-context/core-execution-context-server"], - "@kbn/core-execution-context-server/*": ["packages/core/execution-context/core-execution-context-server/*"], - "@kbn/core-execution-context-server-internal": ["packages/core/execution-context/core-execution-context-server-internal"], - "@kbn/core-execution-context-server-internal/*": ["packages/core/execution-context/core-execution-context-server-internal/*"], + "@kbn/core-execution-context-common": ["src/core/packages/execution-context/common"], + "@kbn/core-execution-context-common/*": ["src/core/packages/execution-context/common/*"], + "@kbn/core-execution-context-server": ["src/core/packages/execution-context/server"], + "@kbn/core-execution-context-server/*": ["src/core/packages/execution-context/server/*"], + "@kbn/core-execution-context-server-internal": ["src/core/packages/execution-context/server-internal"], + "@kbn/core-execution-context-server-internal/*": ["src/core/packages/execution-context/server-internal/*"], "@kbn/core-execution-context-server-mocks": ["packages/core/execution-context/core-execution-context-server-mocks"], "@kbn/core-execution-context-server-mocks/*": ["packages/core/execution-context/core-execution-context-server-mocks/*"], - "@kbn/core-fatal-errors-browser": ["packages/core/fatal-errors/core-fatal-errors-browser"], - "@kbn/core-fatal-errors-browser/*": ["packages/core/fatal-errors/core-fatal-errors-browser/*"], - "@kbn/core-fatal-errors-browser-internal": ["packages/core/fatal-errors/core-fatal-errors-browser-internal"], - "@kbn/core-fatal-errors-browser-internal/*": ["packages/core/fatal-errors/core-fatal-errors-browser-internal/*"], + "@kbn/core-fatal-errors-browser": ["src/core/packages/fatal-errors/browser"], + "@kbn/core-fatal-errors-browser/*": ["src/core/packages/fatal-errors/browser/*"], + "@kbn/core-fatal-errors-browser-internal": ["src/core/packages/fatal-errors/browser-internal"], + "@kbn/core-fatal-errors-browser-internal/*": ["src/core/packages/fatal-errors/browser-internal/*"], "@kbn/core-fatal-errors-browser-mocks": ["packages/core/fatal-errors/core-fatal-errors-browser-mocks"], "@kbn/core-fatal-errors-browser-mocks/*": ["packages/core/fatal-errors/core-fatal-errors-browser-mocks/*"], - "@kbn/core-feature-flags-browser": ["packages/core/feature-flags/core-feature-flags-browser"], - "@kbn/core-feature-flags-browser/*": ["packages/core/feature-flags/core-feature-flags-browser/*"], - "@kbn/core-feature-flags-browser-internal": ["packages/core/feature-flags/core-feature-flags-browser-internal"], - "@kbn/core-feature-flags-browser-internal/*": ["packages/core/feature-flags/core-feature-flags-browser-internal/*"], - "@kbn/core-feature-flags-browser-mocks": ["packages/core/feature-flags/core-feature-flags-browser-mocks"], - "@kbn/core-feature-flags-browser-mocks/*": ["packages/core/feature-flags/core-feature-flags-browser-mocks/*"], - "@kbn/core-feature-flags-server": ["packages/core/feature-flags/core-feature-flags-server"], - "@kbn/core-feature-flags-server/*": ["packages/core/feature-flags/core-feature-flags-server/*"], - "@kbn/core-feature-flags-server-internal": ["packages/core/feature-flags/core-feature-flags-server-internal"], - "@kbn/core-feature-flags-server-internal/*": ["packages/core/feature-flags/core-feature-flags-server-internal/*"], - "@kbn/core-feature-flags-server-mocks": ["packages/core/feature-flags/core-feature-flags-server-mocks"], - "@kbn/core-feature-flags-server-mocks/*": ["packages/core/feature-flags/core-feature-flags-server-mocks/*"], + "@kbn/core-feature-flags-browser": ["src/core/packages/feature-flags/browser"], + "@kbn/core-feature-flags-browser/*": ["src/core/packages/feature-flags/browser/*"], + "@kbn/core-feature-flags-browser-internal": ["src/core/packages/feature-flags/browser-internal"], + "@kbn/core-feature-flags-browser-internal/*": ["src/core/packages/feature-flags/browser-internal/*"], + "@kbn/core-feature-flags-browser-mocks": ["src/core/packages/feature-flags/browser-mocks"], + "@kbn/core-feature-flags-browser-mocks/*": ["src/core/packages/feature-flags/browser-mocks/*"], + "@kbn/core-feature-flags-server": ["src/core/packages/feature-flags/server"], + "@kbn/core-feature-flags-server/*": ["src/core/packages/feature-flags/server/*"], + "@kbn/core-feature-flags-server-internal": ["src/core/packages/feature-flags/server-internal"], + "@kbn/core-feature-flags-server-internal/*": ["src/core/packages/feature-flags/server-internal/*"], + "@kbn/core-feature-flags-server-mocks": ["src/core/packages/feature-flags/server-mocks"], + "@kbn/core-feature-flags-server-mocks/*": ["src/core/packages/feature-flags/server-mocks/*"], "@kbn/core-history-block-plugin": ["test/plugin_functional/plugins/core_history_block"], "@kbn/core-history-block-plugin/*": ["test/plugin_functional/plugins/core_history_block/*"], - "@kbn/core-http-browser": ["packages/core/http/core-http-browser"], - "@kbn/core-http-browser/*": ["packages/core/http/core-http-browser/*"], - "@kbn/core-http-browser-internal": ["packages/core/http/core-http-browser-internal"], - "@kbn/core-http-browser-internal/*": ["packages/core/http/core-http-browser-internal/*"], + "@kbn/core-http-browser": ["src/core/packages/http/browser"], + "@kbn/core-http-browser/*": ["src/core/packages/http/browser/*"], + "@kbn/core-http-browser-internal": ["src/core/packages/http/browser-internal"], + "@kbn/core-http-browser-internal/*": ["src/core/packages/http/browser-internal/*"], "@kbn/core-http-browser-mocks": ["packages/core/http/core-http-browser-mocks"], "@kbn/core-http-browser-mocks/*": ["packages/core/http/core-http-browser-mocks/*"], - "@kbn/core-http-common": ["packages/core/http/core-http-common"], - "@kbn/core-http-common/*": ["packages/core/http/core-http-common/*"], - "@kbn/core-http-context-server-internal": ["packages/core/http/core-http-context-server-internal"], - "@kbn/core-http-context-server-internal/*": ["packages/core/http/core-http-context-server-internal/*"], + "@kbn/core-http-common": ["src/core/packages/http/common"], + "@kbn/core-http-common/*": ["src/core/packages/http/common/*"], + "@kbn/core-http-context-server-internal": ["src/core/packages/http/context-server-internal"], + "@kbn/core-http-context-server-internal/*": ["src/core/packages/http/context-server-internal/*"], "@kbn/core-http-context-server-mocks": ["packages/core/http/core-http-context-server-mocks"], "@kbn/core-http-context-server-mocks/*": ["packages/core/http/core-http-context-server-mocks/*"], "@kbn/core-http-plugin": ["test/plugin_functional/plugins/core_http"], "@kbn/core-http-plugin/*": ["test/plugin_functional/plugins/core_http/*"], - "@kbn/core-http-request-handler-context-server": ["packages/core/http/core-http-request-handler-context-server"], - "@kbn/core-http-request-handler-context-server/*": ["packages/core/http/core-http-request-handler-context-server/*"], - "@kbn/core-http-request-handler-context-server-internal": ["packages/core/http/core-http-request-handler-context-server-internal"], - "@kbn/core-http-request-handler-context-server-internal/*": ["packages/core/http/core-http-request-handler-context-server-internal/*"], - "@kbn/core-http-resources-server": ["packages/core/http/core-http-resources-server"], - "@kbn/core-http-resources-server/*": ["packages/core/http/core-http-resources-server/*"], - "@kbn/core-http-resources-server-internal": ["packages/core/http/core-http-resources-server-internal"], - "@kbn/core-http-resources-server-internal/*": ["packages/core/http/core-http-resources-server-internal/*"], + "@kbn/core-http-request-handler-context-server": ["src/core/packages/http/request-handler-context-server"], + "@kbn/core-http-request-handler-context-server/*": ["src/core/packages/http/request-handler-context-server/*"], + "@kbn/core-http-request-handler-context-server-internal": ["src/core/packages/http/request-handler-context-server-internal"], + "@kbn/core-http-request-handler-context-server-internal/*": ["src/core/packages/http/request-handler-context-server-internal/*"], + "@kbn/core-http-resources-server": ["src/core/packages/http/resources-server"], + "@kbn/core-http-resources-server/*": ["src/core/packages/http/resources-server/*"], + "@kbn/core-http-resources-server-internal": ["src/core/packages/http/resources-server-internal"], + "@kbn/core-http-resources-server-internal/*": ["src/core/packages/http/resources-server-internal/*"], "@kbn/core-http-resources-server-mocks": ["packages/core/http/core-http-resources-server-mocks"], "@kbn/core-http-resources-server-mocks/*": ["packages/core/http/core-http-resources-server-mocks/*"], - "@kbn/core-http-router-server-internal": ["packages/core/http/core-http-router-server-internal"], - "@kbn/core-http-router-server-internal/*": ["packages/core/http/core-http-router-server-internal/*"], + "@kbn/core-http-router-server-internal": ["src/core/packages/http/router-server-internal"], + "@kbn/core-http-router-server-internal/*": ["src/core/packages/http/router-server-internal/*"], "@kbn/core-http-router-server-mocks": ["packages/core/http/core-http-router-server-mocks"], "@kbn/core-http-router-server-mocks/*": ["packages/core/http/core-http-router-server-mocks/*"], - "@kbn/core-http-server": ["packages/core/http/core-http-server"], - "@kbn/core-http-server/*": ["packages/core/http/core-http-server/*"], - "@kbn/core-http-server-internal": ["packages/core/http/core-http-server-internal"], - "@kbn/core-http-server-internal/*": ["packages/core/http/core-http-server-internal/*"], + "@kbn/core-http-server": ["src/core/packages/http/server"], + "@kbn/core-http-server/*": ["src/core/packages/http/server/*"], + "@kbn/core-http-server-internal": ["src/core/packages/http/server-internal"], + "@kbn/core-http-server-internal/*": ["src/core/packages/http/server-internal/*"], "@kbn/core-http-server-mocks": ["packages/core/http/core-http-server-mocks"], "@kbn/core-http-server-mocks/*": ["packages/core/http/core-http-server-mocks/*"], - "@kbn/core-http-server-utils": ["packages/core/http/core-http-server-utils"], - "@kbn/core-http-server-utils/*": ["packages/core/http/core-http-server-utils/*"], - "@kbn/core-i18n-browser": ["packages/core/i18n/core-i18n-browser"], - "@kbn/core-i18n-browser/*": ["packages/core/i18n/core-i18n-browser/*"], - "@kbn/core-i18n-browser-internal": ["packages/core/i18n/core-i18n-browser-internal"], - "@kbn/core-i18n-browser-internal/*": ["packages/core/i18n/core-i18n-browser-internal/*"], + "@kbn/core-http-server-utils": ["src/core/packages/http/server-utils"], + "@kbn/core-http-server-utils/*": ["src/core/packages/http/server-utils/*"], + "@kbn/core-i18n-browser": ["src/core/packages/i18n/browser"], + "@kbn/core-i18n-browser/*": ["src/core/packages/i18n/browser/*"], + "@kbn/core-i18n-browser-internal": ["src/core/packages/i18n/browser-internal"], + "@kbn/core-i18n-browser-internal/*": ["src/core/packages/i18n/browser-internal/*"], "@kbn/core-i18n-browser-mocks": ["packages/core/i18n/core-i18n-browser-mocks"], "@kbn/core-i18n-browser-mocks/*": ["packages/core/i18n/core-i18n-browser-mocks/*"], - "@kbn/core-i18n-server": ["packages/core/i18n/core-i18n-server"], - "@kbn/core-i18n-server/*": ["packages/core/i18n/core-i18n-server/*"], - "@kbn/core-i18n-server-internal": ["packages/core/i18n/core-i18n-server-internal"], - "@kbn/core-i18n-server-internal/*": ["packages/core/i18n/core-i18n-server-internal/*"], + "@kbn/core-i18n-server": ["src/core/packages/i18n/server"], + "@kbn/core-i18n-server/*": ["src/core/packages/i18n/server/*"], + "@kbn/core-i18n-server-internal": ["src/core/packages/i18n/server-internal"], + "@kbn/core-i18n-server-internal/*": ["src/core/packages/i18n/server-internal/*"], "@kbn/core-i18n-server-mocks": ["packages/core/i18n/core-i18n-server-mocks"], "@kbn/core-i18n-server-mocks/*": ["packages/core/i18n/core-i18n-server-mocks/*"], - "@kbn/core-injected-metadata-browser-internal": ["packages/core/injected-metadata/core-injected-metadata-browser-internal"], - "@kbn/core-injected-metadata-browser-internal/*": ["packages/core/injected-metadata/core-injected-metadata-browser-internal/*"], + "@kbn/core-injected-metadata-browser-internal": ["src/core/packages/injected-metadata/browser-internal"], + "@kbn/core-injected-metadata-browser-internal/*": ["src/core/packages/injected-metadata/browser-internal/*"], "@kbn/core-injected-metadata-browser-mocks": ["packages/core/injected-metadata/core-injected-metadata-browser-mocks"], "@kbn/core-injected-metadata-browser-mocks/*": ["packages/core/injected-metadata/core-injected-metadata-browser-mocks/*"], - "@kbn/core-injected-metadata-common-internal": ["packages/core/injected-metadata/core-injected-metadata-common-internal"], - "@kbn/core-injected-metadata-common-internal/*": ["packages/core/injected-metadata/core-injected-metadata-common-internal/*"], - "@kbn/core-integrations-browser-internal": ["packages/core/integrations/core-integrations-browser-internal"], - "@kbn/core-integrations-browser-internal/*": ["packages/core/integrations/core-integrations-browser-internal/*"], + "@kbn/core-injected-metadata-common-internal": ["src/core/packages/injected-metadata/common-internal"], + "@kbn/core-injected-metadata-common-internal/*": ["src/core/packages/injected-metadata/common-internal/*"], + "@kbn/core-integrations-browser-internal": ["src/core/packages/integrations/browser-internal"], + "@kbn/core-integrations-browser-internal/*": ["src/core/packages/integrations/browser-internal/*"], "@kbn/core-integrations-browser-mocks": ["packages/core/integrations/core-integrations-browser-mocks"], "@kbn/core-integrations-browser-mocks/*": ["packages/core/integrations/core-integrations-browser-mocks/*"], - "@kbn/core-lifecycle-browser": ["packages/core/lifecycle/core-lifecycle-browser"], - "@kbn/core-lifecycle-browser/*": ["packages/core/lifecycle/core-lifecycle-browser/*"], - "@kbn/core-lifecycle-browser-internal": ["packages/core/lifecycle/core-lifecycle-browser-internal"], - "@kbn/core-lifecycle-browser-internal/*": ["packages/core/lifecycle/core-lifecycle-browser-internal/*"], + "@kbn/core-lifecycle-browser": ["src/core/packages/lifecycle/browser"], + "@kbn/core-lifecycle-browser/*": ["src/core/packages/lifecycle/browser/*"], + "@kbn/core-lifecycle-browser-internal": ["src/core/packages/lifecycle/browser-internal"], + "@kbn/core-lifecycle-browser-internal/*": ["src/core/packages/lifecycle/browser-internal/*"], "@kbn/core-lifecycle-browser-mocks": ["packages/core/lifecycle/core-lifecycle-browser-mocks"], "@kbn/core-lifecycle-browser-mocks/*": ["packages/core/lifecycle/core-lifecycle-browser-mocks/*"], - "@kbn/core-lifecycle-server": ["packages/core/lifecycle/core-lifecycle-server"], - "@kbn/core-lifecycle-server/*": ["packages/core/lifecycle/core-lifecycle-server/*"], - "@kbn/core-lifecycle-server-internal": ["packages/core/lifecycle/core-lifecycle-server-internal"], - "@kbn/core-lifecycle-server-internal/*": ["packages/core/lifecycle/core-lifecycle-server-internal/*"], + "@kbn/core-lifecycle-server": ["src/core/packages/lifecycle/server"], + "@kbn/core-lifecycle-server/*": ["src/core/packages/lifecycle/server/*"], + "@kbn/core-lifecycle-server-internal": ["src/core/packages/lifecycle/server-internal"], + "@kbn/core-lifecycle-server-internal/*": ["src/core/packages/lifecycle/server-internal/*"], "@kbn/core-lifecycle-server-mocks": ["packages/core/lifecycle/core-lifecycle-server-mocks"], "@kbn/core-lifecycle-server-mocks/*": ["packages/core/lifecycle/core-lifecycle-server-mocks/*"], - "@kbn/core-logging-browser-internal": ["packages/core/logging/core-logging-browser-internal"], - "@kbn/core-logging-browser-internal/*": ["packages/core/logging/core-logging-browser-internal/*"], + "@kbn/core-logging-browser-internal": ["src/core/packages/logging/browser-internal"], + "@kbn/core-logging-browser-internal/*": ["src/core/packages/logging/browser-internal/*"], "@kbn/core-logging-browser-mocks": ["packages/core/logging/core-logging-browser-mocks"], "@kbn/core-logging-browser-mocks/*": ["packages/core/logging/core-logging-browser-mocks/*"], - "@kbn/core-logging-common-internal": ["packages/core/logging/core-logging-common-internal"], - "@kbn/core-logging-common-internal/*": ["packages/core/logging/core-logging-common-internal/*"], - "@kbn/core-logging-server": ["packages/core/logging/core-logging-server"], - "@kbn/core-logging-server/*": ["packages/core/logging/core-logging-server/*"], - "@kbn/core-logging-server-internal": ["packages/core/logging/core-logging-server-internal"], - "@kbn/core-logging-server-internal/*": ["packages/core/logging/core-logging-server-internal/*"], + "@kbn/core-logging-common-internal": ["src/core/packages/logging/common-internal"], + "@kbn/core-logging-common-internal/*": ["src/core/packages/logging/common-internal/*"], + "@kbn/core-logging-server": ["src/core/packages/logging/server"], + "@kbn/core-logging-server/*": ["src/core/packages/logging/server/*"], + "@kbn/core-logging-server-internal": ["src/core/packages/logging/server-internal"], + "@kbn/core-logging-server-internal/*": ["src/core/packages/logging/server-internal/*"], "@kbn/core-logging-server-mocks": ["packages/core/logging/core-logging-server-mocks"], "@kbn/core-logging-server-mocks/*": ["packages/core/logging/core-logging-server-mocks/*"], - "@kbn/core-metrics-collectors-server-internal": ["packages/core/metrics/core-metrics-collectors-server-internal"], - "@kbn/core-metrics-collectors-server-internal/*": ["packages/core/metrics/core-metrics-collectors-server-internal/*"], + "@kbn/core-metrics-collectors-server-internal": ["src/core/packages/metrics/collectors-server-internal"], + "@kbn/core-metrics-collectors-server-internal/*": ["src/core/packages/metrics/collectors-server-internal/*"], "@kbn/core-metrics-collectors-server-mocks": ["packages/core/metrics/core-metrics-collectors-server-mocks"], "@kbn/core-metrics-collectors-server-mocks/*": ["packages/core/metrics/core-metrics-collectors-server-mocks/*"], - "@kbn/core-metrics-server": ["packages/core/metrics/core-metrics-server"], - "@kbn/core-metrics-server/*": ["packages/core/metrics/core-metrics-server/*"], - "@kbn/core-metrics-server-internal": ["packages/core/metrics/core-metrics-server-internal"], - "@kbn/core-metrics-server-internal/*": ["packages/core/metrics/core-metrics-server-internal/*"], + "@kbn/core-metrics-server": ["src/core/packages/metrics/server"], + "@kbn/core-metrics-server/*": ["src/core/packages/metrics/server/*"], + "@kbn/core-metrics-server-internal": ["src/core/packages/metrics/server-internal"], + "@kbn/core-metrics-server-internal/*": ["src/core/packages/metrics/server-internal/*"], "@kbn/core-metrics-server-mocks": ["packages/core/metrics/core-metrics-server-mocks"], "@kbn/core-metrics-server-mocks/*": ["packages/core/metrics/core-metrics-server-mocks/*"], - "@kbn/core-mount-utils-browser": ["packages/core/mount-utils/core-mount-utils-browser"], - "@kbn/core-mount-utils-browser/*": ["packages/core/mount-utils/core-mount-utils-browser/*"], - "@kbn/core-mount-utils-browser-internal": ["packages/core/mount-utils/core-mount-utils-browser-internal"], - "@kbn/core-mount-utils-browser-internal/*": ["packages/core/mount-utils/core-mount-utils-browser-internal/*"], - "@kbn/core-node-server": ["packages/core/node/core-node-server"], - "@kbn/core-node-server/*": ["packages/core/node/core-node-server/*"], - "@kbn/core-node-server-internal": ["packages/core/node/core-node-server-internal"], - "@kbn/core-node-server-internal/*": ["packages/core/node/core-node-server-internal/*"], + "@kbn/core-mount-utils-browser": ["src/core/packages/mount-utils/browser"], + "@kbn/core-mount-utils-browser/*": ["src/core/packages/mount-utils/browser/*"], + "@kbn/core-mount-utils-browser-internal": ["src/core/packages/mount-utils/browser-internal"], + "@kbn/core-mount-utils-browser-internal/*": ["src/core/packages/mount-utils/browser-internal/*"], + "@kbn/core-node-server": ["src/core/packages/node/server"], + "@kbn/core-node-server/*": ["src/core/packages/node/server/*"], + "@kbn/core-node-server-internal": ["src/core/packages/node/server-internal"], + "@kbn/core-node-server-internal/*": ["src/core/packages/node/server-internal/*"], "@kbn/core-node-server-mocks": ["packages/core/node/core-node-server-mocks"], "@kbn/core-node-server-mocks/*": ["packages/core/node/core-node-server-mocks/*"], - "@kbn/core-notifications-browser": ["packages/core/notifications/core-notifications-browser"], - "@kbn/core-notifications-browser/*": ["packages/core/notifications/core-notifications-browser/*"], - "@kbn/core-notifications-browser-internal": ["packages/core/notifications/core-notifications-browser-internal"], - "@kbn/core-notifications-browser-internal/*": ["packages/core/notifications/core-notifications-browser-internal/*"], + "@kbn/core-notifications-browser": ["src/core/packages/notifications/browser"], + "@kbn/core-notifications-browser/*": ["src/core/packages/notifications/browser/*"], + "@kbn/core-notifications-browser-internal": ["src/core/packages/notifications/browser-internal"], + "@kbn/core-notifications-browser-internal/*": ["src/core/packages/notifications/browser-internal/*"], "@kbn/core-notifications-browser-mocks": ["packages/core/notifications/core-notifications-browser-mocks"], "@kbn/core-notifications-browser-mocks/*": ["packages/core/notifications/core-notifications-browser-mocks/*"], - "@kbn/core-overlays-browser": ["packages/core/overlays/core-overlays-browser"], - "@kbn/core-overlays-browser/*": ["packages/core/overlays/core-overlays-browser/*"], - "@kbn/core-overlays-browser-internal": ["packages/core/overlays/core-overlays-browser-internal"], - "@kbn/core-overlays-browser-internal/*": ["packages/core/overlays/core-overlays-browser-internal/*"], + "@kbn/core-overlays-browser": ["src/core/packages/overlays/browser"], + "@kbn/core-overlays-browser/*": ["src/core/packages/overlays/browser/*"], + "@kbn/core-overlays-browser-internal": ["src/core/packages/overlays/browser-internal"], + "@kbn/core-overlays-browser-internal/*": ["src/core/packages/overlays/browser-internal/*"], "@kbn/core-overlays-browser-mocks": ["packages/core/overlays/core-overlays-browser-mocks"], "@kbn/core-overlays-browser-mocks/*": ["packages/core/overlays/core-overlays-browser-mocks/*"], "@kbn/core-plugin-a-plugin": ["test/plugin_functional/plugins/core_plugin_a"], @@ -520,120 +520,120 @@ "@kbn/core-plugin-route-timeouts-plugin/*": ["test/plugin_functional/plugins/core_plugin_route_timeouts/*"], "@kbn/core-plugin-static-assets-plugin": ["test/plugin_functional/plugins/core_plugin_static_assets"], "@kbn/core-plugin-static-assets-plugin/*": ["test/plugin_functional/plugins/core_plugin_static_assets/*"], - "@kbn/core-plugins-base-server-internal": ["packages/core/plugins/core-plugins-base-server-internal"], - "@kbn/core-plugins-base-server-internal/*": ["packages/core/plugins/core-plugins-base-server-internal/*"], - "@kbn/core-plugins-browser": ["packages/core/plugins/core-plugins-browser"], - "@kbn/core-plugins-browser/*": ["packages/core/plugins/core-plugins-browser/*"], - "@kbn/core-plugins-browser-internal": ["packages/core/plugins/core-plugins-browser-internal"], - "@kbn/core-plugins-browser-internal/*": ["packages/core/plugins/core-plugins-browser-internal/*"], + "@kbn/core-plugins-base-server-internal": ["src/core/packages/plugins/base-server-internal"], + "@kbn/core-plugins-base-server-internal/*": ["src/core/packages/plugins/base-server-internal/*"], + "@kbn/core-plugins-browser": ["src/core/packages/plugins/browser"], + "@kbn/core-plugins-browser/*": ["src/core/packages/plugins/browser/*"], + "@kbn/core-plugins-browser-internal": ["src/core/packages/plugins/browser-internal"], + "@kbn/core-plugins-browser-internal/*": ["src/core/packages/plugins/browser-internal/*"], "@kbn/core-plugins-browser-mocks": ["packages/core/plugins/core-plugins-browser-mocks"], "@kbn/core-plugins-browser-mocks/*": ["packages/core/plugins/core-plugins-browser-mocks/*"], - "@kbn/core-plugins-contracts-browser": ["packages/core/plugins/core-plugins-contracts-browser"], - "@kbn/core-plugins-contracts-browser/*": ["packages/core/plugins/core-plugins-contracts-browser/*"], - "@kbn/core-plugins-contracts-server": ["packages/core/plugins/core-plugins-contracts-server"], - "@kbn/core-plugins-contracts-server/*": ["packages/core/plugins/core-plugins-contracts-server/*"], - "@kbn/core-plugins-server": ["packages/core/plugins/core-plugins-server"], - "@kbn/core-plugins-server/*": ["packages/core/plugins/core-plugins-server/*"], - "@kbn/core-plugins-server-internal": ["packages/core/plugins/core-plugins-server-internal"], - "@kbn/core-plugins-server-internal/*": ["packages/core/plugins/core-plugins-server-internal/*"], + "@kbn/core-plugins-contracts-browser": ["src/core/packages/plugins/contracts-browser"], + "@kbn/core-plugins-contracts-browser/*": ["src/core/packages/plugins/contracts-browser/*"], + "@kbn/core-plugins-contracts-server": ["src/core/packages/plugins/contracts-server"], + "@kbn/core-plugins-contracts-server/*": ["src/core/packages/plugins/contracts-server/*"], + "@kbn/core-plugins-server": ["src/core/packages/plugins/server"], + "@kbn/core-plugins-server/*": ["src/core/packages/plugins/server/*"], + "@kbn/core-plugins-server-internal": ["src/core/packages/plugins/server-internal"], + "@kbn/core-plugins-server-internal/*": ["src/core/packages/plugins/server-internal/*"], "@kbn/core-plugins-server-mocks": ["packages/core/plugins/core-plugins-server-mocks"], "@kbn/core-plugins-server-mocks/*": ["packages/core/plugins/core-plugins-server-mocks/*"], - "@kbn/core-preboot-server": ["packages/core/preboot/core-preboot-server"], - "@kbn/core-preboot-server/*": ["packages/core/preboot/core-preboot-server/*"], - "@kbn/core-preboot-server-internal": ["packages/core/preboot/core-preboot-server-internal"], - "@kbn/core-preboot-server-internal/*": ["packages/core/preboot/core-preboot-server-internal/*"], + "@kbn/core-preboot-server": ["src/core/packages/preboot/server"], + "@kbn/core-preboot-server/*": ["src/core/packages/preboot/server/*"], + "@kbn/core-preboot-server-internal": ["src/core/packages/preboot/server-internal"], + "@kbn/core-preboot-server-internal/*": ["src/core/packages/preboot/server-internal/*"], "@kbn/core-preboot-server-mocks": ["packages/core/preboot/core-preboot-server-mocks"], "@kbn/core-preboot-server-mocks/*": ["packages/core/preboot/core-preboot-server-mocks/*"], "@kbn/core-provider-plugin": ["test/plugin_functional/plugins/core_provider_plugin"], "@kbn/core-provider-plugin/*": ["test/plugin_functional/plugins/core_provider_plugin/*"], - "@kbn/core-rendering-browser": ["packages/core/rendering/core-rendering-browser"], - "@kbn/core-rendering-browser/*": ["packages/core/rendering/core-rendering-browser/*"], - "@kbn/core-rendering-browser-internal": ["packages/core/rendering/core-rendering-browser-internal"], - "@kbn/core-rendering-browser-internal/*": ["packages/core/rendering/core-rendering-browser-internal/*"], + "@kbn/core-rendering-browser": ["src/core/packages/rendering/browser"], + "@kbn/core-rendering-browser/*": ["src/core/packages/rendering/browser/*"], + "@kbn/core-rendering-browser-internal": ["src/core/packages/rendering/browser-internal"], + "@kbn/core-rendering-browser-internal/*": ["src/core/packages/rendering/browser-internal/*"], "@kbn/core-rendering-browser-mocks": ["packages/core/rendering/core-rendering-browser-mocks"], "@kbn/core-rendering-browser-mocks/*": ["packages/core/rendering/core-rendering-browser-mocks/*"], - "@kbn/core-rendering-server-internal": ["packages/core/rendering/core-rendering-server-internal"], - "@kbn/core-rendering-server-internal/*": ["packages/core/rendering/core-rendering-server-internal/*"], + "@kbn/core-rendering-server-internal": ["src/core/packages/rendering/server-internal"], + "@kbn/core-rendering-server-internal/*": ["src/core/packages/rendering/server-internal/*"], "@kbn/core-rendering-server-mocks": ["packages/core/rendering/core-rendering-server-mocks"], "@kbn/core-rendering-server-mocks/*": ["packages/core/rendering/core-rendering-server-mocks/*"], - "@kbn/core-root-browser-internal": ["packages/core/root/core-root-browser-internal"], - "@kbn/core-root-browser-internal/*": ["packages/core/root/core-root-browser-internal/*"], - "@kbn/core-root-server-internal": ["packages/core/root/core-root-server-internal"], - "@kbn/core-root-server-internal/*": ["packages/core/root/core-root-server-internal/*"], - "@kbn/core-saved-objects-api-browser": ["packages/core/saved-objects/core-saved-objects-api-browser"], - "@kbn/core-saved-objects-api-browser/*": ["packages/core/saved-objects/core-saved-objects-api-browser/*"], - "@kbn/core-saved-objects-api-server": ["packages/core/saved-objects/core-saved-objects-api-server"], - "@kbn/core-saved-objects-api-server/*": ["packages/core/saved-objects/core-saved-objects-api-server/*"], - "@kbn/core-saved-objects-api-server-internal": ["packages/core/saved-objects/core-saved-objects-api-server-internal"], - "@kbn/core-saved-objects-api-server-internal/*": ["packages/core/saved-objects/core-saved-objects-api-server-internal/*"], + "@kbn/core-root-browser-internal": ["src/core/packages/root/browser-internal"], + "@kbn/core-root-browser-internal/*": ["src/core/packages/root/browser-internal/*"], + "@kbn/core-root-server-internal": ["src/core/packages/root/server-internal"], + "@kbn/core-root-server-internal/*": ["src/core/packages/root/server-internal/*"], + "@kbn/core-saved-objects-api-browser": ["src/core/packages/saved-objects/api-browser"], + "@kbn/core-saved-objects-api-browser/*": ["src/core/packages/saved-objects/api-browser/*"], + "@kbn/core-saved-objects-api-server": ["src/core/packages/saved-objects/api-server"], + "@kbn/core-saved-objects-api-server/*": ["src/core/packages/saved-objects/api-server/*"], + "@kbn/core-saved-objects-api-server-internal": ["src/core/packages/saved-objects/api-server-internal"], + "@kbn/core-saved-objects-api-server-internal/*": ["src/core/packages/saved-objects/api-server-internal/*"], "@kbn/core-saved-objects-api-server-mocks": ["packages/core/saved-objects/core-saved-objects-api-server-mocks"], "@kbn/core-saved-objects-api-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-api-server-mocks/*"], - "@kbn/core-saved-objects-base-server-internal": ["packages/core/saved-objects/core-saved-objects-base-server-internal"], - "@kbn/core-saved-objects-base-server-internal/*": ["packages/core/saved-objects/core-saved-objects-base-server-internal/*"], + "@kbn/core-saved-objects-base-server-internal": ["src/core/packages/saved-objects/base-server-internal"], + "@kbn/core-saved-objects-base-server-internal/*": ["src/core/packages/saved-objects/base-server-internal/*"], "@kbn/core-saved-objects-base-server-mocks": ["packages/core/saved-objects/core-saved-objects-base-server-mocks"], "@kbn/core-saved-objects-base-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-base-server-mocks/*"], - "@kbn/core-saved-objects-browser": ["packages/core/saved-objects/core-saved-objects-browser"], - "@kbn/core-saved-objects-browser/*": ["packages/core/saved-objects/core-saved-objects-browser/*"], - "@kbn/core-saved-objects-browser-internal": ["packages/core/saved-objects/core-saved-objects-browser-internal"], - "@kbn/core-saved-objects-browser-internal/*": ["packages/core/saved-objects/core-saved-objects-browser-internal/*"], + "@kbn/core-saved-objects-browser": ["src/core/packages/saved-objects/browser"], + "@kbn/core-saved-objects-browser/*": ["src/core/packages/saved-objects/browser/*"], + "@kbn/core-saved-objects-browser-internal": ["src/core/packages/saved-objects/browser-internal"], + "@kbn/core-saved-objects-browser-internal/*": ["src/core/packages/saved-objects/browser-internal/*"], "@kbn/core-saved-objects-browser-mocks": ["packages/core/saved-objects/core-saved-objects-browser-mocks"], "@kbn/core-saved-objects-browser-mocks/*": ["packages/core/saved-objects/core-saved-objects-browser-mocks/*"], - "@kbn/core-saved-objects-common": ["packages/core/saved-objects/core-saved-objects-common"], - "@kbn/core-saved-objects-common/*": ["packages/core/saved-objects/core-saved-objects-common/*"], - "@kbn/core-saved-objects-import-export-server-internal": ["packages/core/saved-objects/core-saved-objects-import-export-server-internal"], - "@kbn/core-saved-objects-import-export-server-internal/*": ["packages/core/saved-objects/core-saved-objects-import-export-server-internal/*"], + "@kbn/core-saved-objects-common": ["src/core/packages/saved-objects/common"], + "@kbn/core-saved-objects-common/*": ["src/core/packages/saved-objects/common/*"], + "@kbn/core-saved-objects-import-export-server-internal": ["src/core/packages/saved-objects/import-export-server-internal"], + "@kbn/core-saved-objects-import-export-server-internal/*": ["src/core/packages/saved-objects/import-export-server-internal/*"], "@kbn/core-saved-objects-import-export-server-mocks": ["packages/core/saved-objects/core-saved-objects-import-export-server-mocks"], "@kbn/core-saved-objects-import-export-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-import-export-server-mocks/*"], - "@kbn/core-saved-objects-migration-server-internal": ["packages/core/saved-objects/core-saved-objects-migration-server-internal"], - "@kbn/core-saved-objects-migration-server-internal/*": ["packages/core/saved-objects/core-saved-objects-migration-server-internal/*"], + "@kbn/core-saved-objects-migration-server-internal": ["src/core/packages/saved-objects/migration-server-internal"], + "@kbn/core-saved-objects-migration-server-internal/*": ["src/core/packages/saved-objects/migration-server-internal/*"], "@kbn/core-saved-objects-migration-server-mocks": ["packages/core/saved-objects/core-saved-objects-migration-server-mocks"], "@kbn/core-saved-objects-migration-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-migration-server-mocks/*"], - "@kbn/core-saved-objects-server": ["packages/core/saved-objects/core-saved-objects-server"], - "@kbn/core-saved-objects-server/*": ["packages/core/saved-objects/core-saved-objects-server/*"], - "@kbn/core-saved-objects-server-internal": ["packages/core/saved-objects/core-saved-objects-server-internal"], - "@kbn/core-saved-objects-server-internal/*": ["packages/core/saved-objects/core-saved-objects-server-internal/*"], + "@kbn/core-saved-objects-server": ["src/core/packages/saved-objects/server"], + "@kbn/core-saved-objects-server/*": ["src/core/packages/saved-objects/server/*"], + "@kbn/core-saved-objects-server-internal": ["src/core/packages/saved-objects/server-internal"], + "@kbn/core-saved-objects-server-internal/*": ["src/core/packages/saved-objects/server-internal/*"], "@kbn/core-saved-objects-server-mocks": ["packages/core/saved-objects/core-saved-objects-server-mocks"], "@kbn/core-saved-objects-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-server-mocks/*"], - "@kbn/core-saved-objects-utils-server": ["packages/core/saved-objects/core-saved-objects-utils-server"], - "@kbn/core-saved-objects-utils-server/*": ["packages/core/saved-objects/core-saved-objects-utils-server/*"], - "@kbn/core-security-browser": ["packages/core/security/core-security-browser"], - "@kbn/core-security-browser/*": ["packages/core/security/core-security-browser/*"], - "@kbn/core-security-browser-internal": ["packages/core/security/core-security-browser-internal"], - "@kbn/core-security-browser-internal/*": ["packages/core/security/core-security-browser-internal/*"], - "@kbn/core-security-browser-mocks": ["packages/core/security/core-security-browser-mocks"], - "@kbn/core-security-browser-mocks/*": ["packages/core/security/core-security-browser-mocks/*"], - "@kbn/core-security-common": ["packages/core/security/core-security-common"], - "@kbn/core-security-common/*": ["packages/core/security/core-security-common/*"], - "@kbn/core-security-server": ["packages/core/security/core-security-server"], - "@kbn/core-security-server/*": ["packages/core/security/core-security-server/*"], - "@kbn/core-security-server-internal": ["packages/core/security/core-security-server-internal"], - "@kbn/core-security-server-internal/*": ["packages/core/security/core-security-server-internal/*"], - "@kbn/core-security-server-mocks": ["packages/core/security/core-security-server-mocks"], - "@kbn/core-security-server-mocks/*": ["packages/core/security/core-security-server-mocks/*"], - "@kbn/core-status-common": ["packages/core/status/core-status-common"], - "@kbn/core-status-common/*": ["packages/core/status/core-status-common/*"], - "@kbn/core-status-server": ["packages/core/status/core-status-server"], - "@kbn/core-status-server/*": ["packages/core/status/core-status-server/*"], - "@kbn/core-status-server-internal": ["packages/core/status/core-status-server-internal"], - "@kbn/core-status-server-internal/*": ["packages/core/status/core-status-server-internal/*"], + "@kbn/core-saved-objects-utils-server": ["src/core/packages/saved-objects/utils-server"], + "@kbn/core-saved-objects-utils-server/*": ["src/core/packages/saved-objects/utils-server/*"], + "@kbn/core-security-browser": ["src/core/packages/security/browser"], + "@kbn/core-security-browser/*": ["src/core/packages/security/browser/*"], + "@kbn/core-security-browser-internal": ["src/core/packages/security/browser-internal"], + "@kbn/core-security-browser-internal/*": ["src/core/packages/security/browser-internal/*"], + "@kbn/core-security-browser-mocks": ["src/core/packages/security/browser-mocks"], + "@kbn/core-security-browser-mocks/*": ["src/core/packages/security/browser-mocks/*"], + "@kbn/core-security-common": ["src/core/packages/security/common"], + "@kbn/core-security-common/*": ["src/core/packages/security/common/*"], + "@kbn/core-security-server": ["src/core/packages/security/server"], + "@kbn/core-security-server/*": ["src/core/packages/security/server/*"], + "@kbn/core-security-server-internal": ["src/core/packages/security/server-internal"], + "@kbn/core-security-server-internal/*": ["src/core/packages/security/server-internal/*"], + "@kbn/core-security-server-mocks": ["src/core/packages/security/server-mocks"], + "@kbn/core-security-server-mocks/*": ["src/core/packages/security/server-mocks/*"], + "@kbn/core-status-common": ["src/core/packages/status/common"], + "@kbn/core-status-common/*": ["src/core/packages/status/common/*"], + "@kbn/core-status-server": ["src/core/packages/status/server"], + "@kbn/core-status-server/*": ["src/core/packages/status/server/*"], + "@kbn/core-status-server-internal": ["src/core/packages/status/server-internal"], + "@kbn/core-status-server-internal/*": ["src/core/packages/status/server-internal/*"], "@kbn/core-status-server-mocks": ["packages/core/status/core-status-server-mocks"], "@kbn/core-status-server-mocks/*": ["packages/core/status/core-status-server-mocks/*"], - "@kbn/core-test-helpers-deprecations-getters": ["packages/core/test-helpers/core-test-helpers-deprecations-getters"], - "@kbn/core-test-helpers-deprecations-getters/*": ["packages/core/test-helpers/core-test-helpers-deprecations-getters/*"], - "@kbn/core-test-helpers-http-setup-browser": ["packages/core/test-helpers/core-test-helpers-http-setup-browser"], - "@kbn/core-test-helpers-http-setup-browser/*": ["packages/core/test-helpers/core-test-helpers-http-setup-browser/*"], + "@kbn/core-test-helpers-deprecations-getters": ["src/core/packages/test-helpers/deprecations-getters"], + "@kbn/core-test-helpers-deprecations-getters/*": ["src/core/packages/test-helpers/deprecations-getters/*"], + "@kbn/core-test-helpers-http-setup-browser": ["src/core/packages/test-helpers/http-setup-browser"], + "@kbn/core-test-helpers-http-setup-browser/*": ["src/core/packages/test-helpers/http-setup-browser/*"], "@kbn/core-test-helpers-kbn-server": ["packages/core/test-helpers/core-test-helpers-kbn-server"], "@kbn/core-test-helpers-kbn-server/*": ["packages/core/test-helpers/core-test-helpers-kbn-server/*"], "@kbn/core-test-helpers-model-versions": ["packages/core/test-helpers/core-test-helpers-model-versions"], "@kbn/core-test-helpers-model-versions/*": ["packages/core/test-helpers/core-test-helpers-model-versions/*"], - "@kbn/core-test-helpers-so-type-serializer": ["packages/core/test-helpers/core-test-helpers-so-type-serializer"], - "@kbn/core-test-helpers-so-type-serializer/*": ["packages/core/test-helpers/core-test-helpers-so-type-serializer/*"], - "@kbn/core-test-helpers-test-utils": ["packages/core/test-helpers/core-test-helpers-test-utils"], - "@kbn/core-test-helpers-test-utils/*": ["packages/core/test-helpers/core-test-helpers-test-utils/*"], - "@kbn/core-theme-browser": ["packages/core/theme/core-theme-browser"], - "@kbn/core-theme-browser/*": ["packages/core/theme/core-theme-browser/*"], - "@kbn/core-theme-browser-internal": ["packages/core/theme/core-theme-browser-internal"], - "@kbn/core-theme-browser-internal/*": ["packages/core/theme/core-theme-browser-internal/*"], + "@kbn/core-test-helpers-so-type-serializer": ["src/core/packages/test-helpers/so-type-serializer"], + "@kbn/core-test-helpers-so-type-serializer/*": ["src/core/packages/test-helpers/so-type-serializer/*"], + "@kbn/core-test-helpers-test-utils": ["src/core/packages/test-helpers/test-utils"], + "@kbn/core-test-helpers-test-utils/*": ["src/core/packages/test-helpers/test-utils/*"], + "@kbn/core-theme-browser": ["src/core/packages/theme/browser"], + "@kbn/core-theme-browser/*": ["src/core/packages/theme/browser/*"], + "@kbn/core-theme-browser-internal": ["src/core/packages/theme/browser-internal"], + "@kbn/core-theme-browser-internal/*": ["src/core/packages/theme/browser-internal/*"], "@kbn/core-theme-browser-mocks": ["packages/core/theme/core-theme-browser-mocks"], "@kbn/core-theme-browser-mocks/*": ["packages/core/theme/core-theme-browser-mocks/*"], "@kbn/core-ui-settings-browser": ["packages/core/ui-settings/core-ui-settings-browser"], @@ -650,28 +650,28 @@ "@kbn/core-ui-settings-server-internal/*": ["packages/core/ui-settings/core-ui-settings-server-internal/*"], "@kbn/core-ui-settings-server-mocks": ["packages/core/ui-settings/core-ui-settings-server-mocks"], "@kbn/core-ui-settings-server-mocks/*": ["packages/core/ui-settings/core-ui-settings-server-mocks/*"], - "@kbn/core-usage-data-base-server-internal": ["packages/core/usage-data/core-usage-data-base-server-internal"], - "@kbn/core-usage-data-base-server-internal/*": ["packages/core/usage-data/core-usage-data-base-server-internal/*"], - "@kbn/core-usage-data-server": ["packages/core/usage-data/core-usage-data-server"], - "@kbn/core-usage-data-server/*": ["packages/core/usage-data/core-usage-data-server/*"], - "@kbn/core-usage-data-server-internal": ["packages/core/usage-data/core-usage-data-server-internal"], - "@kbn/core-usage-data-server-internal/*": ["packages/core/usage-data/core-usage-data-server-internal/*"], + "@kbn/core-usage-data-base-server-internal": ["src/core/packages/usage-data/base-server-internal"], + "@kbn/core-usage-data-base-server-internal/*": ["src/core/packages/usage-data/base-server-internal/*"], + "@kbn/core-usage-data-server": ["src/core/packages/usage-data/server"], + "@kbn/core-usage-data-server/*": ["src/core/packages/usage-data/server/*"], + "@kbn/core-usage-data-server-internal": ["src/core/packages/usage-data/server-internal"], + "@kbn/core-usage-data-server-internal/*": ["src/core/packages/usage-data/server-internal/*"], "@kbn/core-usage-data-server-mocks": ["packages/core/usage-data/core-usage-data-server-mocks"], "@kbn/core-usage-data-server-mocks/*": ["packages/core/usage-data/core-usage-data-server-mocks/*"], - "@kbn/core-user-profile-browser": ["packages/core/user-profile/core-user-profile-browser"], - "@kbn/core-user-profile-browser/*": ["packages/core/user-profile/core-user-profile-browser/*"], - "@kbn/core-user-profile-browser-internal": ["packages/core/user-profile/core-user-profile-browser-internal"], - "@kbn/core-user-profile-browser-internal/*": ["packages/core/user-profile/core-user-profile-browser-internal/*"], - "@kbn/core-user-profile-browser-mocks": ["packages/core/user-profile/core-user-profile-browser-mocks"], - "@kbn/core-user-profile-browser-mocks/*": ["packages/core/user-profile/core-user-profile-browser-mocks/*"], - "@kbn/core-user-profile-common": ["packages/core/user-profile/core-user-profile-common"], - "@kbn/core-user-profile-common/*": ["packages/core/user-profile/core-user-profile-common/*"], - "@kbn/core-user-profile-server": ["packages/core/user-profile/core-user-profile-server"], - "@kbn/core-user-profile-server/*": ["packages/core/user-profile/core-user-profile-server/*"], - "@kbn/core-user-profile-server-internal": ["packages/core/user-profile/core-user-profile-server-internal"], - "@kbn/core-user-profile-server-internal/*": ["packages/core/user-profile/core-user-profile-server-internal/*"], - "@kbn/core-user-profile-server-mocks": ["packages/core/user-profile/core-user-profile-server-mocks"], - "@kbn/core-user-profile-server-mocks/*": ["packages/core/user-profile/core-user-profile-server-mocks/*"], + "@kbn/core-user-profile-browser": ["src/core/packages/user-profile/browser"], + "@kbn/core-user-profile-browser/*": ["src/core/packages/user-profile/browser/*"], + "@kbn/core-user-profile-browser-internal": ["src/core/packages/user-profile/browser-internal"], + "@kbn/core-user-profile-browser-internal/*": ["src/core/packages/user-profile/browser-internal/*"], + "@kbn/core-user-profile-browser-mocks": ["src/core/packages/user-profile/browser-mocks"], + "@kbn/core-user-profile-browser-mocks/*": ["src/core/packages/user-profile/browser-mocks/*"], + "@kbn/core-user-profile-common": ["src/core/packages/user-profile/common"], + "@kbn/core-user-profile-common/*": ["src/core/packages/user-profile/common/*"], + "@kbn/core-user-profile-server": ["src/core/packages/user-profile/server"], + "@kbn/core-user-profile-server/*": ["src/core/packages/user-profile/server/*"], + "@kbn/core-user-profile-server-internal": ["src/core/packages/user-profile/server-internal"], + "@kbn/core-user-profile-server-internal/*": ["src/core/packages/user-profile/server-internal/*"], + "@kbn/core-user-profile-server-mocks": ["src/core/packages/user-profile/server-mocks"], + "@kbn/core-user-profile-server-mocks/*": ["src/core/packages/user-profile/server-mocks/*"], "@kbn/core-user-settings-server": ["packages/core/user-settings/core-user-settings-server"], "@kbn/core-user-settings-server/*": ["packages/core/user-settings/core-user-settings-server/*"], "@kbn/core-user-settings-server-internal": ["packages/core/user-settings/core-user-settings-server-internal"], @@ -682,8 +682,8 @@ "@kbn/cross-cluster-replication-plugin/*": ["x-pack/platform/plugins/private/cross_cluster_replication/*"], "@kbn/crypto": ["packages/kbn-crypto"], "@kbn/crypto/*": ["packages/kbn-crypto/*"], - "@kbn/crypto-browser": ["packages/kbn-crypto-browser"], - "@kbn/crypto-browser/*": ["packages/kbn-crypto-browser/*"], + "@kbn/crypto-browser": ["src/platform/packages/shared/kbn-crypto-browser"], + "@kbn/crypto-browser/*": ["src/platform/packages/shared/kbn-crypto-browser/*"], "@kbn/custom-branding-plugin": ["x-pack/platform/plugins/private/custom_branding"], "@kbn/custom-branding-plugin/*": ["x-pack/platform/plugins/private/custom_branding/*"], "@kbn/custom-icons": ["src/platform/packages/shared/kbn-custom-icons"], @@ -790,8 +790,8 @@ "@kbn/docs-utils/*": ["packages/kbn-docs-utils/*"], "@kbn/dom-drag-drop": ["packages/kbn-dom-drag-drop"], "@kbn/dom-drag-drop/*": ["packages/kbn-dom-drag-drop/*"], - "@kbn/ebt-tools": ["packages/kbn-ebt-tools"], - "@kbn/ebt-tools/*": ["packages/kbn-ebt-tools/*"], + "@kbn/ebt-tools": ["src/platform/packages/shared/kbn-ebt-tools"], + "@kbn/ebt-tools/*": ["src/platform/packages/shared/kbn-ebt-tools/*"], "@kbn/ecs-data-quality-dashboard": ["x-pack/solutions/security/packages/ecs_data_quality_dashboard"], "@kbn/ecs-data-quality-dashboard/*": ["x-pack/solutions/security/packages/ecs_data_quality_dashboard/*"], "@kbn/ecs-data-quality-dashboard-plugin": ["x-pack/solutions/security/plugins/ecs_data_quality_dashboard"], @@ -836,12 +836,12 @@ "@kbn/es/*": ["packages/kbn-es/*"], "@kbn/es-archiver": ["packages/kbn-es-archiver"], "@kbn/es-archiver/*": ["packages/kbn-es-archiver/*"], - "@kbn/es-errors": ["packages/kbn-es-errors"], - "@kbn/es-errors/*": ["packages/kbn-es-errors/*"], + "@kbn/es-errors": ["src/platform/packages/shared/kbn-es-errors"], + "@kbn/es-errors/*": ["src/platform/packages/shared/kbn-es-errors/*"], "@kbn/es-query": ["src/platform/packages/shared/kbn-es-query"], "@kbn/es-query/*": ["src/platform/packages/shared/kbn-es-query/*"], - "@kbn/es-types": ["packages/kbn-es-types"], - "@kbn/es-types/*": ["packages/kbn-es-types/*"], + "@kbn/es-types": ["src/platform/packages/shared/kbn-es-types"], + "@kbn/es-types/*": ["src/platform/packages/shared/kbn-es-types/*"], "@kbn/es-ui-shared-plugin": ["src/platform/plugins/shared/es_ui_shared"], "@kbn/es-ui-shared-plugin/*": ["src/platform/plugins/shared/es_ui_shared/*"], "@kbn/eslint-config": ["packages/kbn-eslint-config"], @@ -938,8 +938,8 @@ "@kbn/feature-flags-example-plugin/*": ["examples/feature_flags_example/*"], "@kbn/feature-usage-test-plugin": ["x-pack/test/plugin_api_integration/plugins/feature_usage_test"], "@kbn/feature-usage-test-plugin/*": ["x-pack/test/plugin_api_integration/plugins/feature_usage_test/*"], - "@kbn/features-plugin": ["x-pack/plugins/features"], - "@kbn/features-plugin/*": ["x-pack/plugins/features/*"], + "@kbn/features-plugin": ["x-pack/platform/plugins/shared/features"], + "@kbn/features-plugin/*": ["x-pack/platform/plugins/shared/features/*"], "@kbn/features-provider-plugin": ["x-pack/test/security_api_integration/plugins/features_provider"], "@kbn/features-provider-plugin/*": ["x-pack/test/security_api_integration/plugins/features_provider/*"], "@kbn/fec-alerts-test-plugin": ["x-pack/test/functional_execution_context/plugins/alerts"], @@ -972,8 +972,8 @@ "@kbn/foo-plugin/*": ["x-pack/test/ui_capabilities/common/plugins/foo_plugin/*"], "@kbn/formatters": ["packages/kbn-formatters"], "@kbn/formatters/*": ["packages/kbn-formatters/*"], - "@kbn/ftr-apis-plugin": ["src/plugins/ftr_apis"], - "@kbn/ftr-apis-plugin/*": ["src/plugins/ftr_apis/*"], + "@kbn/ftr-apis-plugin": ["src/platform/plugins/private/ftr_apis"], + "@kbn/ftr-apis-plugin/*": ["src/platform/plugins/private/ftr_apis/*"], "@kbn/ftr-common-functional-services": ["packages/kbn-ftr-common-functional-services"], "@kbn/ftr-common-functional-services/*": ["packages/kbn-ftr-common-functional-services/*"], "@kbn/ftr-common-functional-ui-services": ["packages/kbn-ftr-common-functional-ui-services"], @@ -1020,12 +1020,12 @@ "@kbn/guided-onboarding-plugin/*": ["src/platform/plugins/shared/guided_onboarding/*"], "@kbn/handlebars": ["packages/kbn-handlebars"], "@kbn/handlebars/*": ["packages/kbn-handlebars/*"], - "@kbn/hapi-mocks": ["packages/kbn-hapi-mocks"], - "@kbn/hapi-mocks/*": ["packages/kbn-hapi-mocks/*"], + "@kbn/hapi-mocks": ["src/platform/packages/private/kbn-hapi-mocks"], + "@kbn/hapi-mocks/*": ["src/platform/packages/private/kbn-hapi-mocks/*"], "@kbn/hardening-plugin": ["test/plugin_functional/plugins/hardening"], "@kbn/hardening-plugin/*": ["test/plugin_functional/plugins/hardening/*"], - "@kbn/health-gateway-server": ["packages/kbn-health-gateway-server"], - "@kbn/health-gateway-server/*": ["packages/kbn-health-gateway-server/*"], + "@kbn/health-gateway-server": ["src/platform/packages/private/kbn-health-gateway-server"], + "@kbn/health-gateway-server/*": ["src/platform/packages/private/kbn-health-gateway-server/*"], "@kbn/hello-world-plugin": ["examples/hello_world"], "@kbn/hello-world-plugin/*": ["examples/hello_world/*"], "@kbn/home-plugin": ["src/platform/plugins/shared/home"], @@ -1036,10 +1036,10 @@ "@kbn/home-sample-data-tab/*": ["packages/home/sample_data_tab/*"], "@kbn/home-sample-data-types": ["packages/home/sample_data_types"], "@kbn/home-sample-data-types/*": ["packages/home/sample_data_types/*"], - "@kbn/i18n": ["packages/kbn-i18n"], - "@kbn/i18n/*": ["packages/kbn-i18n/*"], - "@kbn/i18n-react": ["packages/kbn-i18n-react"], - "@kbn/i18n-react/*": ["packages/kbn-i18n-react/*"], + "@kbn/i18n": ["src/platform/packages/shared/kbn-i18n"], + "@kbn/i18n/*": ["src/platform/packages/shared/kbn-i18n/*"], + "@kbn/i18n-react": ["src/platform/packages/shared/kbn-i18n-react"], + "@kbn/i18n-react/*": ["src/platform/packages/shared/kbn-i18n-react/*"], "@kbn/iframe-embedded-plugin": ["x-pack/test/functional_embedded/plugins/iframe_embedded"], "@kbn/iframe-embedded-plugin/*": ["x-pack/test/functional_embedded/plugins/iframe_embedded/*"], "@kbn/image-embeddable-plugin": ["src/platform/plugins/private/image_embeddable"], @@ -1128,8 +1128,8 @@ "@kbn/kibana-overview-plugin/*": ["src/platform/plugins/private/kibana_overview/*"], "@kbn/kibana-react-plugin": ["src/platform/plugins/shared/kibana_react"], "@kbn/kibana-react-plugin/*": ["src/platform/plugins/shared/kibana_react/*"], - "@kbn/kibana-usage-collection-plugin": ["src/plugins/kibana_usage_collection"], - "@kbn/kibana-usage-collection-plugin/*": ["src/plugins/kibana_usage_collection/*"], + "@kbn/kibana-usage-collection-plugin": ["src/platform/plugins/private/kibana_usage_collection"], + "@kbn/kibana-usage-collection-plugin/*": ["src/platform/plugins/private/kibana_usage_collection/*"], "@kbn/kibana-utils-plugin": ["src/platform/plugins/shared/kibana_utils"], "@kbn/kibana-utils-plugin/*": ["src/platform/plugins/shared/kibana_utils/*"], "@kbn/kubernetes-security-plugin": ["x-pack/solutions/security/plugins/kubernetes_security"], @@ -1152,8 +1152,8 @@ "@kbn/license-api-guard-plugin/*": ["x-pack/platform/plugins/private/license_api_guard/*"], "@kbn/license-management-plugin": ["x-pack/platform/plugins/shared/license_management"], "@kbn/license-management-plugin/*": ["x-pack/platform/plugins/shared/license_management/*"], - "@kbn/licensing-plugin": ["x-pack/plugins/licensing"], - "@kbn/licensing-plugin/*": ["x-pack/plugins/licensing/*"], + "@kbn/licensing-plugin": ["x-pack/platform/plugins/shared/licensing"], + "@kbn/licensing-plugin/*": ["x-pack/platform/plugins/shared/licensing/*"], "@kbn/links-plugin": ["src/platform/plugins/private/links"], "@kbn/links-plugin/*": ["src/platform/plugins/private/links/*"], "@kbn/lint-packages-cli": ["packages/kbn-lint-packages-cli"], @@ -1168,10 +1168,10 @@ "@kbn/locator-examples-plugin/*": ["examples/locator_examples/*"], "@kbn/locator-explorer-plugin": ["examples/locator_explorer"], "@kbn/locator-explorer-plugin/*": ["examples/locator_explorer/*"], - "@kbn/logging": ["packages/kbn-logging"], - "@kbn/logging/*": ["packages/kbn-logging/*"], - "@kbn/logging-mocks": ["packages/kbn-logging-mocks"], - "@kbn/logging-mocks/*": ["packages/kbn-logging-mocks/*"], + "@kbn/logging": ["src/platform/packages/shared/kbn-logging"], + "@kbn/logging/*": ["src/platform/packages/shared/kbn-logging/*"], + "@kbn/logging-mocks": ["src/platform/packages/shared/kbn-logging-mocks"], + "@kbn/logging-mocks/*": ["src/platform/packages/shared/kbn-logging-mocks/*"], "@kbn/logs-data-access-plugin": ["x-pack/platform/plugins/shared/logs_data_access"], "@kbn/logs-data-access-plugin/*": ["x-pack/platform/plugins/shared/logs_data_access/*"], "@kbn/logs-explorer-plugin": ["x-pack/solutions/observability/plugins/logs_explorer"], @@ -1306,8 +1306,8 @@ "@kbn/monitoring-plugin/*": ["x-pack/platform/plugins/private/monitoring/*"], "@kbn/navigation-plugin": ["src/platform/plugins/shared/navigation"], "@kbn/navigation-plugin/*": ["src/platform/plugins/shared/navigation/*"], - "@kbn/newsfeed-plugin": ["src/plugins/newsfeed"], - "@kbn/newsfeed-plugin/*": ["src/plugins/newsfeed/*"], + "@kbn/newsfeed-plugin": ["src/platform/plugins/shared/newsfeed"], + "@kbn/newsfeed-plugin/*": ["src/platform/plugins/shared/newsfeed/*"], "@kbn/newsfeed-test-plugin": ["test/common/plugins/newsfeed"], "@kbn/newsfeed-test-plugin/*": ["test/common/plugins/newsfeed/*"], "@kbn/no-data-page-plugin": ["src/platform/plugins/private/no_data_page"], @@ -1508,8 +1508,8 @@ "@kbn/rollup/*": ["x-pack/platform/packages/private/rollup/*"], "@kbn/rollup-plugin": ["x-pack/platform/plugins/private/rollup"], "@kbn/rollup-plugin/*": ["x-pack/platform/plugins/private/rollup/*"], - "@kbn/router-to-openapispec": ["packages/kbn-router-to-openapispec"], - "@kbn/router-to-openapispec/*": ["packages/kbn-router-to-openapispec/*"], + "@kbn/router-to-openapispec": ["src/platform/packages/shared/kbn-router-to-openapispec"], + "@kbn/router-to-openapispec/*": ["src/platform/packages/shared/kbn-router-to-openapispec/*"], "@kbn/router-utils": ["src/platform/packages/shared/kbn-router-utils"], "@kbn/router-utils/*": ["src/platform/packages/shared/kbn-router-utils/*"], "@kbn/routing-example-plugin": ["examples/routing_example"], @@ -1542,8 +1542,8 @@ "@kbn/saved-objects-hidden-from-http-apis-type-plugin/*": ["test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/*"], "@kbn/saved-objects-hidden-type-plugin": ["test/plugin_functional/plugins/saved_objects_hidden_type"], "@kbn/saved-objects-hidden-type-plugin/*": ["test/plugin_functional/plugins/saved_objects_hidden_type/*"], - "@kbn/saved-objects-management-plugin": ["src/plugins/saved_objects_management"], - "@kbn/saved-objects-management-plugin/*": ["src/plugins/saved_objects_management/*"], + "@kbn/saved-objects-management-plugin": ["src/platform/plugins/shared/saved_objects_management"], + "@kbn/saved-objects-management-plugin/*": ["src/platform/plugins/shared/saved_objects_management/*"], "@kbn/saved-objects-plugin": ["src/platform/plugins/shared/saved_objects"], "@kbn/saved-objects-plugin/*": ["src/platform/plugins/shared/saved_objects/*"], "@kbn/saved-objects-settings": ["packages/kbn-saved-objects-settings"], @@ -1696,8 +1696,8 @@ "@kbn/securitysolution-t-grid/*": ["x-pack/solutions/security/packages/kbn-securitysolution-t-grid/*"], "@kbn/securitysolution-utils": ["x-pack/solutions/security/packages/kbn-securitysolution-utils"], "@kbn/securitysolution-utils/*": ["x-pack/solutions/security/packages/kbn-securitysolution-utils/*"], - "@kbn/server-http-tools": ["packages/kbn-server-http-tools"], - "@kbn/server-http-tools/*": ["packages/kbn-server-http-tools/*"], + "@kbn/server-http-tools": ["src/platform/packages/shared/kbn-server-http-tools"], + "@kbn/server-http-tools/*": ["src/platform/packages/shared/kbn-server-http-tools/*"], "@kbn/server-route-repository": ["src/platform/packages/shared/kbn-server-route-repository"], "@kbn/server-route-repository/*": ["src/platform/packages/shared/kbn-server-route-repository/*"], "@kbn/server-route-repository-client": ["src/platform/packages/shared/kbn-server-route-repository-client"], @@ -1870,8 +1870,8 @@ "@kbn/status-plugin-a-plugin/*": ["test/server_integration/plugins/status_plugin_a/*"], "@kbn/status-plugin-b-plugin": ["test/server_integration/plugins/status_plugin_b"], "@kbn/status-plugin-b-plugin/*": ["test/server_integration/plugins/status_plugin_b/*"], - "@kbn/std": ["packages/kbn-std"], - "@kbn/std/*": ["packages/kbn-std/*"], + "@kbn/std": ["src/platform/packages/shared/kbn-std"], + "@kbn/std/*": ["src/platform/packages/shared/kbn-std/*"], "@kbn/stdio-dev-helpers": ["packages/kbn-stdio-dev-helpers"], "@kbn/stdio-dev-helpers/*": ["packages/kbn-stdio-dev-helpers/*"], "@kbn/storybook": ["packages/kbn-storybook"], @@ -1894,14 +1894,14 @@ "@kbn/task-manager-performance-plugin/*": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance/*"], "@kbn/task-manager-plugin": ["x-pack/platform/plugins/shared/task_manager"], "@kbn/task-manager-plugin/*": ["x-pack/platform/plugins/shared/task_manager/*"], - "@kbn/telemetry-collection-manager-plugin": ["src/plugins/telemetry_collection_manager"], - "@kbn/telemetry-collection-manager-plugin/*": ["src/plugins/telemetry_collection_manager/*"], - "@kbn/telemetry-collection-xpack-plugin": ["x-pack/plugins/telemetry_collection_xpack"], - "@kbn/telemetry-collection-xpack-plugin/*": ["x-pack/plugins/telemetry_collection_xpack/*"], - "@kbn/telemetry-management-section-plugin": ["src/plugins/telemetry_management_section"], - "@kbn/telemetry-management-section-plugin/*": ["src/plugins/telemetry_management_section/*"], - "@kbn/telemetry-plugin": ["src/plugins/telemetry"], - "@kbn/telemetry-plugin/*": ["src/plugins/telemetry/*"], + "@kbn/telemetry-collection-manager-plugin": ["src/platform/plugins/shared/telemetry_collection_manager"], + "@kbn/telemetry-collection-manager-plugin/*": ["src/platform/plugins/shared/telemetry_collection_manager/*"], + "@kbn/telemetry-collection-xpack-plugin": ["x-pack/platform/plugins/private/telemetry_collection_xpack"], + "@kbn/telemetry-collection-xpack-plugin/*": ["x-pack/platform/plugins/private/telemetry_collection_xpack/*"], + "@kbn/telemetry-management-section-plugin": ["src/platform/plugins/shared/telemetry_management_section"], + "@kbn/telemetry-management-section-plugin/*": ["src/platform/plugins/shared/telemetry_management_section/*"], + "@kbn/telemetry-plugin": ["src/platform/plugins/shared/telemetry"], + "@kbn/telemetry-plugin/*": ["src/platform/plugins/shared/telemetry/*"], "@kbn/telemetry-test-plugin": ["test/plugin_functional/plugins/telemetry"], "@kbn/telemetry-test-plugin/*": ["test/plugin_functional/plugins/telemetry/*"], "@kbn/telemetry-tools": ["packages/kbn-telemetry-tools"], @@ -2002,16 +2002,16 @@ "@kbn/unsaved-changes-badge/*": ["src/platform/packages/private/kbn-unsaved-changes-badge/*"], "@kbn/unsaved-changes-prompt": ["src/platform/packages/shared/kbn-unsaved-changes-prompt"], "@kbn/unsaved-changes-prompt/*": ["src/platform/packages/shared/kbn-unsaved-changes-prompt/*"], - "@kbn/upgrade-assistant-plugin": ["x-pack/plugins/upgrade_assistant"], - "@kbn/upgrade-assistant-plugin/*": ["x-pack/plugins/upgrade_assistant/*"], + "@kbn/upgrade-assistant-plugin": ["x-pack/platform/plugins/private/upgrade_assistant"], + "@kbn/upgrade-assistant-plugin/*": ["x-pack/platform/plugins/private/upgrade_assistant/*"], "@kbn/uptime-plugin": ["x-pack/solutions/observability/plugins/uptime"], "@kbn/uptime-plugin/*": ["x-pack/solutions/observability/plugins/uptime/*"], "@kbn/url-drilldown-plugin": ["x-pack/plugins/drilldowns/url_drilldown"], "@kbn/url-drilldown-plugin/*": ["x-pack/plugins/drilldowns/url_drilldown/*"], "@kbn/url-forwarding-plugin": ["src/plugins/url_forwarding"], "@kbn/url-forwarding-plugin/*": ["src/plugins/url_forwarding/*"], - "@kbn/usage-collection-plugin": ["src/plugins/usage_collection"], - "@kbn/usage-collection-plugin/*": ["src/plugins/usage_collection/*"], + "@kbn/usage-collection-plugin": ["src/platform/plugins/shared/usage_collection"], + "@kbn/usage-collection-plugin/*": ["src/platform/plugins/shared/usage_collection/*"], "@kbn/usage-collection-test-plugin": ["test/plugin_functional/plugins/usage_collection"], "@kbn/usage-collection-test-plugin/*": ["test/plugin_functional/plugins/usage_collection/*"], "@kbn/use-tracked-promise": ["packages/kbn-use-tracked-promise"], @@ -2022,8 +2022,8 @@ "@kbn/user-profile-examples-plugin/*": ["examples/user_profile_examples/*"], "@kbn/user-profiles-consumer-plugin": ["x-pack/test/security_api_integration/plugins/user_profiles_consumer"], "@kbn/user-profiles-consumer-plugin/*": ["x-pack/test/security_api_integration/plugins/user_profiles_consumer/*"], - "@kbn/utility-types": ["packages/kbn-utility-types"], - "@kbn/utility-types/*": ["packages/kbn-utility-types/*"], + "@kbn/utility-types": ["src/platform/packages/shared/kbn-utility-types"], + "@kbn/utility-types/*": ["src/platform/packages/shared/kbn-utility-types/*"], "@kbn/utility-types-jest": ["src/platform/packages/shared/kbn-utility-types-jest"], "@kbn/utility-types-jest/*": ["src/platform/packages/shared/kbn-utility-types-jest/*"], "@kbn/utils": ["src/platform/packages/shared/kbn-utils"], @@ -2076,8 +2076,8 @@ "@kbn/xstate-utils/*": ["src/platform/packages/shared/kbn-xstate-utils/*"], "@kbn/yarn-lock-validator": ["packages/kbn-yarn-lock-validator"], "@kbn/yarn-lock-validator/*": ["packages/kbn-yarn-lock-validator/*"], - "@kbn/zod": ["packages/kbn-zod"], - "@kbn/zod/*": ["packages/kbn-zod/*"], + "@kbn/zod": ["src/platform/packages/shared/kbn-zod"], + "@kbn/zod/*": ["src/platform/packages/shared/kbn-zod/*"], "@kbn/zod-helpers": ["src/platform/packages/shared/kbn-zod-helpers"], "@kbn/zod-helpers/*": ["src/platform/packages/shared/kbn-zod-helpers/*"], // END AUTOMATED PACKAGE LISTING diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 53bfbc1202257..145183a60c895 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -19,9 +19,9 @@ "xpack.banners": "platform/plugins/private/banners", "xpack.canvas": "platform/plugins/private/canvas", "xpack.cases": "platform/plugins/shared/cases", - "xpack.cloud": "plugins/cloud", + "xpack.cloud": "platform/plugins/shared/cloud", "xpack.cloudDefend": "solutions/security/plugins/cloud_defend", - "xpack.cloudLinks": "plugins/cloud_integrations/cloud_links", + "xpack.cloudLinks": "platform/plugins/private/cloud_integrations/cloud_links", "xpack.cloudDataMigration": "platform/plugins/private/cloud_integrations/cloud_data_migration", "xpack.csp": [ "solutions/security/plugins/cloud_security_posture", @@ -42,7 +42,7 @@ "xpack.embeddableEnhanced": "platform/plugins/shared/embeddable_enhanced", "xpack.endpoint": "plugins/endpoint", "xpack.enterpriseSearch": "solutions/search/plugins/enterprise_search", - "xpack.features": "plugins/features", + "xpack.features": "platform/plugins/shared/features", "xpack.dataVisualizer": "platform/plugins/private/data_visualizer", "xpack.exploratoryView": "solutions/observability/plugins/exploratory_view", "xpack.fileUpload": "platform/plugins/private/file_upload", @@ -75,7 +75,7 @@ "xpack.lens": "plugins/lens", "xpack.licenseApiGuard": "platform/plugins/private/license_api_guard", "xpack.licenseMgmt": "platform/plugins/shared/license_management", - "xpack.licensing": "plugins/licensing", + "xpack.licensing": "platform/plugins/shared/licensing", "xpack.lists": "solutions/security/plugins/lists", "xpack.logstash": [ "platform/plugins/private/logstash" @@ -165,7 +165,7 @@ "xpack.timelines": "solutions/security/plugins/timelines", "xpack.transform": "platform/plugins/private/transform", "xpack.triggersActionsUI": "platform/plugins/shared/triggers_actions_ui", - "xpack.upgradeAssistant": "plugins/upgrade_assistant", + "xpack.upgradeAssistant": "platform/plugins/private/upgrade_assistant", "xpack.uptime": [ "solutions/observability/plugins/uptime" ], diff --git a/x-pack/.telemetryrc.json b/x-pack/.telemetryrc.json index 870b4d1de4c6a..cfa47ffe81da0 100644 --- a/x-pack/.telemetryrc.json +++ b/x-pack/.telemetryrc.json @@ -1,33 +1,33 @@ [ { - "output": "plugins/telemetry_collection_xpack/schema/xpack_plugins.json", + "output": "platform/plugins/private/telemetry_collection_xpack/schema/xpack_plugins.json", "root": "plugins/", "exclude": [ "platform/plugins/private/monitoring/server/telemetry_collection/" ] }, { - "output": "plugins/telemetry_collection_xpack/schema/xpack_monitoring.json", + "output": "platform/plugins/private/telemetry_collection_xpack/schema/xpack_monitoring.json", "root": "platform/plugins/private/monitoring/server/telemetry_collection/", "exclude": [] }, { - "output": "plugins/telemetry_collection_xpack/schema/xpack_platform.json", + "output": "platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json", "root": "platform/", "exclude": [] }, { - "output": "plugins/telemetry_collection_xpack/schema/xpack_observability.json", + "output": "platform/plugins/private/telemetry_collection_xpack/schema/xpack_observability.json", "root": "solutions/observability", "exclude": [] }, { - "output": "plugins/telemetry_collection_xpack/schema/xpack_search.json", + "output": "platform/plugins/private/telemetry_collection_xpack/schema/xpack_search.json", "root": "solutions/search", "exclude": [] }, { - "output": "plugins/telemetry_collection_xpack/schema/xpack_security.json", + "output": "platform/plugins/private/telemetry_collection_xpack/schema/xpack_security.json", "root": "solutions/security", "exclude": [] } diff --git a/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts b/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts index ec4df77be6cc8..5876ef50ea191 100644 --- a/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts +++ b/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts @@ -15,7 +15,7 @@ export type CasesSupportedOperations = (typeof allOperations)[number]; /** * If you add a new operation type (all, push, update, etc) you should also - * extend the mapping here x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.ts + * extend the mapping here x-pack/platform/plugins/shared/features/server/feature_privilege_iterator/feature_privilege_iterator.ts * * Also if you add a new operation (createCase, updateCase, etc) here you'll likely also need to make changes here: * x-pack/platform/plugins/shared/cases/server/authorization/index.ts and here x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts diff --git a/x-pack/platform/plugins/private/canvas/i18n/README.md b/x-pack/platform/plugins/private/canvas/i18n/README.md index 42e088abaa320..5a7ed241d5b68 100644 --- a/x-pack/platform/plugins/private/canvas/i18n/README.md +++ b/x-pack/platform/plugins/private/canvas/i18n/README.md @@ -1,6 +1,6 @@ # Canvas and Internationalization (i18n) -Creating i18n strings in Kibana requires use of the [`@kbn/i18n`](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/GUIDELINE.md) library. The following outlines the strategy for localizing strings in Canvas +Creating i18n strings in Kibana requires use of the [`@kbn/i18n`](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/GUIDELINE.md) library. The following outlines the strategy for localizing strings in Canvas ## Why i18n Dictionaries 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/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js new file mode 100644 index 0000000000000..313623a54f22f --- /dev/null +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../', + roots: ['/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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/platform/plugins/private/cloud_integrations/cloud_links/jest.config.js b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/jest.config.js new file mode 100644 index 0000000000000..1afbabf2387f3 --- /dev/null +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../', + roots: ['/x-pack/platform/plugins/private/cloud_integrations/cloud_links'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/cloud_integrations/cloud_links', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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/appearance_selector/appearance_modal.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_modal.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_modal.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_modal.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.test.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.test.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.test.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.test.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/use_appearance_hook.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/use_appearance_hook.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/use_appearance_hook.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/use_appearance_hook.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/values_group.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/values_group.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/values_group.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/values_group.tsx 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/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 89% 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 ed8239bd32938..52bbbadce5303 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/telemetry_collection_xpack/README.md b/x-pack/platform/plugins/private/telemetry_collection_xpack/README.md similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/README.md rename to x-pack/platform/plugins/private/telemetry_collection_xpack/README.md diff --git a/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js b/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js new file mode 100644 index 0000000000000..ecb2ede5b918f --- /dev/null +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/telemetry_collection_xpack'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/telemetry_collection_xpack', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/telemetry_collection_xpack/server/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/telemetry_collection_xpack/kibana.jsonc b/x-pack/platform/plugins/private/telemetry_collection_xpack/kibana.jsonc similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/kibana.jsonc rename to x-pack/platform/plugins/private/telemetry_collection_xpack/kibana.jsonc diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/README.md b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/README.md similarity index 73% rename from x-pack/plugins/telemetry_collection_xpack/schema/README.md rename to x-pack/platform/plugins/private/telemetry_collection_xpack/schema/README.md index 80040d1ec387b..09deab41d0382 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/README.md +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/README.md @@ -1,6 +1,6 @@ # X-Pack Telemetry Schemas -This is an extension of the [OSS Telemetry Schemas](../../../../src/plugins/telemetry/schema) to add the X-Pack-related data. The payloads described in these `.json` files must be merged to the OSS ones to get the structure of the full payload sent to the Remote Telemetry Service. All the files follow the schema convention as defined in the `usage_collection` plugin and `@kbn/telemetry-tools`. +This is an extension of the [OSS Telemetry Schemas](../../../../../../src/platform/plugins/shared/telemetry/schema) to add the X-Pack-related data. The payloads described in these `.json` files must be merged to the OSS ones to get the structure of the full payload sent to the Remote Telemetry Service. All the files follow the schema convention as defined in the `usage_collection` plugin and `@kbn/telemetry-tools`. There are currently 7 files: @@ -8,7 +8,7 @@ There are currently 7 files: Manually maintained for now because the frequency it changes is expected to be pretty low. - `xpack_plugins.json`: The X-Pack related schema for the content that will be nested in `stack_stats.kibana.plugins`. It is automatically generated by `@kbn/telemetry-tools` based on the `schema` property provided by all the registered Usage Collectors via the `usageCollection.makeUsageCollector` API. - More details in the [Schema field](../../usage_collection/README.md#schema-field) chapter in the UsageCollection's docs. + More details in the [Schema field](../../../../usage_collection/README.md#schema-field) chapter in the UsageCollection's docs. - `xpack_platform.json`: Same as `xpack_plugins.json` but for collectors defined in `/x-pack/platform/*`. - `xpack_observability.json`: Same as `xpack_plugins.json` but for collectors defined in `/x-pack/solutions/observability/*`. - `xpack_search.json`: Same as `xpack_plugins.json` but for collectors defined in `/x-pack/solutions/search/*`. @@ -19,4 +19,4 @@ NOTE: Despite its similarities to ES mappings, the intention of these files is n ## Testing -Functional tests are defined at `x-pack/test/api_integration/apis/telemetry/telemetry_local.ts`. They merge these files (+ the [OSS definitions](../../../../src/plugins/telemetry/schema)), and validates the actual output of the telemetry endpoint against the final schema. \ No newline at end of file +Functional tests are defined at `x-pack/test/api_integration/apis/telemetry/telemetry_local.ts`. They merge these files (+ the [OSS definitions](../../../../../../src/platform/plugins/shared/telemetry/schema)), and validates the actual output of the telemetry endpoint against the final schema. \ No newline at end of file diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_monitoring.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_monitoring.json similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/schema/xpack_monitoring.json rename to x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_monitoring.json diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_observability.json similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/schema/xpack_observability.json rename to x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_observability.json diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json similarity index 98% rename from x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json rename to x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json index 0537b53856632..e4ad6eef88d09 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json @@ -3750,6 +3750,89 @@ } } }, + "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" + } + } + } + } + }, "discoverEnhanced": { "properties": { "exploreDataInChartActionEnabled": { @@ -5633,6 +5716,24 @@ } } } + }, + "upgrade-assistant-telemetry": { + "properties": { + "features": { + "properties": { + "deprecation_logging": { + "properties": { + "enabled": { + "type": "boolean", + "_meta": { + "description": "Whether user has enabled Elasticsearch deprecation logging" + } + } + } + } + } + } + } } } } diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_plugins.json similarity index 83% rename from x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json rename to x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_plugins.json index 63c7bfcf3f33a..1e0477493f330 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_plugins.json @@ -1,88 +1,5 @@ { "properties": { - "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" - } - } - } - } - }, "security": { "properties": { "auditLoggingEnabled": { @@ -470,24 +387,6 @@ } } } - }, - "upgrade-assistant-telemetry": { - "properties": { - "features": { - "properties": { - "deprecation_logging": { - "properties": { - "enabled": { - "type": "boolean", - "_meta": { - "description": "Whether user has enabled Elasticsearch deprecation logging" - } - } - } - } - } - } - } } } } diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_root.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_root.json similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/schema/xpack_root.json rename to x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_root.json diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_search.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_search.json similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/schema/xpack_search.json rename to x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_search.json diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_security.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_security.json similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/schema/xpack_security.json rename to x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_security.json diff --git a/x-pack/plugins/telemetry_collection_xpack/server/index.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/index.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/index.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/index.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/plugin.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/plugin.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/plugin.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/plugin.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/__snapshots__/get_stats_with_xpack.test.ts.snap b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/__snapshots__/get_stats_with_xpack.test.ts.snap similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/__snapshots__/get_stats_with_xpack.test.ts.snap rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/__snapshots__/get_stats_with_xpack.test.ts.snap diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/constants.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/constants.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/constants.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/constants.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_license.test.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_license.test.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_license.test.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_license.test.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_license.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_license.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_license.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_license.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.test.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.test.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.test.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.test.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_stats_with_xpack.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_xpack.test.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_xpack.test.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_xpack.test.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_xpack.test.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_xpack.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_xpack.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/get_xpack.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/get_xpack.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/index.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/index.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/index.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/index.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.test.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.test.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.test.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.test.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.ts b/x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.ts similarity index 100% rename from x-pack/plugins/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.ts rename to x-pack/platform/plugins/private/telemetry_collection_xpack/server/telemetry_collection/is_cluster_opted_in.ts diff --git a/x-pack/plugins/telemetry_collection_xpack/tsconfig.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/tsconfig.json similarity index 81% rename from x-pack/plugins/telemetry_collection_xpack/tsconfig.json rename to x-pack/platform/plugins/private/telemetry_collection_xpack/tsconfig.json index 740f21400b2ab..6f2a375cbc88c 100644 --- a/x-pack/plugins/telemetry_collection_xpack/tsconfig.json +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true @@ -7,7 +7,7 @@ "include": [ "common/**/*", "server/**/*", - "../../../typings/*", + "../../../../../typings/*", "schema/*.json", ], "kbn_references": [ diff --git a/x-pack/platform/plugins/private/translations/README.asciidoc b/x-pack/platform/plugins/private/translations/README.asciidoc index 52ab4b4fda8b8..3324cfd1abd0f 100644 --- a/x-pack/platform/plugins/private/translations/README.asciidoc +++ b/x-pack/platform/plugins/private/translations/README.asciidoc @@ -2,4 +2,4 @@ == Translations plugin Contains Elastic-supported translations. Owned by the Localizations team. -For adding localizations and instrument a ui to support translated content, see https://github.com/elastic/kibana/tree/main/packages/kbn-i18n[kbn-i18n] +For adding localizations and instrument a ui to support translated content, see https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-i18n[kbn-i18n] diff --git a/x-pack/plugins/upgrade_assistant/README.md b/x-pack/platform/plugins/private/upgrade_assistant/README.md similarity index 93% rename from x-pack/plugins/upgrade_assistant/README.md rename to x-pack/platform/plugins/private/upgrade_assistant/README.md index 39bebc15e44b1..b95a756839cb7 100644 --- a/x-pack/plugins/upgrade_assistant/README.md +++ b/x-pack/platform/plugins/private/upgrade_assistant/README.md @@ -16,7 +16,7 @@ Some features of the UA are only needed when upgrading to a new major version. T When we want to enable ML model snapshot deprecation warnings again we need to change the constant `MachineLearningField.MIN_CHECKED_SUPPORTED_SNAPSHOT_VERSION` to something higher than 7.0.0 in the Elasticsearch code. * Migrating system indices (`featureSet.migrateSystemIndices`): Migrating system indices should only be enabled for major version upgrades. This config hides the second step from the UA UI for migrating system indices. * Reindex Data Streams (`featureSet.migrateDataStreams`): Migrating deprecated Data streams should only be enabled for major version upgrades. The purpose of this feature guard is to hide all data streams related deprecations from the end user until the next major upgrade. -* Reindex corrective actions (`featureSet.reindexCorrectiveActions`): Deprecations with reindexing corrective actions are only enabled for major version upgrades. Currently, the reindex actions include some logic that is specific to the [8.0 upgrade](https://github.com/elastic/kibana/blob/main/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.ts). End users could get into a bad situation if this is enabled before this logic is fixed. +* Reindex corrective actions (`featureSet.reindexCorrectiveActions`): Deprecations with reindexing corrective actions are only enabled for major version upgrades. Currently, the reindex actions include some logic that is specific to the [8.0 upgrade](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/index_settings.ts). End users could get into a bad situation if this is enabled before this logic is fixed. ## Deprecations @@ -38,7 +38,7 @@ deprecations are discovered as data is migrated. Starting in 7.x, deprecation lo Elasticsearch deprecations can be handled in a number of ways: * **Reindexing.** When a user's index contains deprecations (e.g. mappings) a reindex solves them. The Upgrade Assistant only automates reindexing for indices. For example, if you are currently on 7.x, and want to migrate to 8.0, but you still have indices that were created on 6.x. For this scenario, the user will see a "Reindex" button that they can click, which will perform the reindex. - * Reindexing is an idempotent action in Upgrade Assistant. It works like this ([overview in code](https://github.com/elastic/kibana/blob/b320a37d8b703b2fa101a93b6971b36ee2c37f06/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts#L498-L540)): + * Reindexing is an idempotent action in Upgrade Assistant. It works like this ([overview in code](https://github.com/elastic/kibana/blob/b320a37d8b703b2fa101a93b6971b36ee2c37f06/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/reindex_service.ts#L498-L540)): 1. Set a write-block on the original index, no new data can be written during reindexing. 2. Create a target index with the following name `reindexed-v{majorVersion}-{originalIndex}`. E.g., if `my-index` is the original, the target will be named `reindexed-v8-my-index`. 3. [Reindex](https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html) from the original index to the target index. Kibana will continuously report reindexing status. @@ -51,7 +51,7 @@ Elasticsearch deprecations can be handled in a number of ways: Currently reindexing deprecations are only enabled for major version upgrades by setting the config `featureSet.reindexCorrectiveActions` to `true` on the `x.last` version of the stack. -Reindexing at the moment includes some logic that is specific to the [8.0 upgrade](https://github.com/elastic/kibana/blob/main/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.ts). End users could get into a bad situation if this is enabled before this logic is fixed. +Reindexing at the moment includes some logic that is specific to the [8.0 upgrade](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/index_settings.ts). End users could get into a bad situation if this is enabled before this logic is fixed. * **Removing settings.** Some index and cluser settings are deprecated and need to be removed. The Upgrade Assistant provides a way to auto-resolve these settings via a "Remove deprecated settings" button. Migrating system indices should only be enabled for major version upgrades. This is controlled by the config `featureSet.migrateSystemIndices` which hides the second step from the UA UI for migrating system indices. * **Upgrading or deleting snapshots**. This is specific to Machine Learning. If a user has old Machine Learning job model snapshots, they will need to be upgraded or deleted. The Upgrade Assistant provides a way to resolve this automatically for the user ([#100066](https://github.com/elastic/kibana/pull/100066)). Deprecations related to ML snapshots are only enabled during `x.last` version of the stack. This is controlled by the `featureSet.mlSnapshots` config. When we want to enable ML model snapshot deprecation warnings again we need to change the constant `MachineLearningField.MIN_CHECKED_SUPPORTED_SNAPSHOT_VERSION` to something higher than `7.0.0` in the Elasticsearch code. @@ -334,15 +334,15 @@ For a complete list of Kibana deprecations, refer to the [8.0 Kibana deprecation This is a non-exhaustive list of different error scenarios in Upgrade Assistant. It's recommended to use the [tweak browser extension](https://chrome.google.com/webstore/detail/tweak-mock-api-calls/feahianecghpnipmhphmfgmpdodhcapi?hl=en), or something similar, to mock the API calls. -- **Error loading deprecation logging status.** Mock a `404` status code to `GET /api/upgrade_assistant/deprecation_logging`. Alternatively, edit [this line](https://github.com/elastic/kibana/blob/545c1420c285af8f5eee56f414bd6eca735aea11/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts#L70) locally and replace `deprecation_logging` with `fake_deprecation_logging`. -- **Error updating deprecation logging status.** Mock a `404` status code to `PUT /api/upgrade_assistant/deprecation_logging`. Alternatively, edit [this line](https://github.com/elastic/kibana/blob/545c1420c285af8f5eee56f414bd6eca735aea11/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts#L77) locally and replace `deprecation_logging` with `fake_deprecation_logging`. +- **Error loading deprecation logging status.** Mock a `404` status code to `GET /api/upgrade_assistant/deprecation_logging`. Alternatively, edit [this line](https://github.com/elastic/kibana/blob/545c1420c285af8f5eee56f414bd6eca735aea11/x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/api.ts#L70) locally and replace `deprecation_logging` with `fake_deprecation_logging`. +- **Error updating deprecation logging status.** Mock a `404` status code to `PUT /api/upgrade_assistant/deprecation_logging`. Alternatively, edit [this line](https://github.com/elastic/kibana/blob/545c1420c285af8f5eee56f414bd6eca735aea11/x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/api.ts#L77) locally and replace `deprecation_logging` with `fake_deprecation_logging`. - **Unauthorized error fetching ES deprecations.** Mock a `403` status code to `GET /api/upgrade_assistant/es_deprecations` with the response payload: `{ "statusCode": 403 }` - **Partially upgraded error fetching ES deprecations.** Mock a `426` status code to `GET /api/upgrade_assistant/es_deprecations` with the response payload: `{ "statusCode": 426, "attributes": { "allNodesUpgraded": false } }` - **Upgraded error fetching ES deprecations.** Mock a `426` status code to `GET /api/upgrade_assistant/es_deprecations` with the response payload: `{ "statusCode": 426, "attributes": { "allNodesUpgraded": true } }` ### Telemetry -The Upgrade Assistant tracks several triggered events in the UI, using Kibana Usage Collection service's [UI counters](https://github.com/elastic/kibana/blob/main/src/plugins/usage_collection/README.mdx#ui-counters). +The Upgrade Assistant tracks several triggered events in the UI, using Kibana Usage Collection service's [UI counters](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/usage_collection/README.mdx#ui-counters). **Overview page** - Component loaded @@ -361,6 +361,6 @@ The Upgrade Assistant tracks several triggered events in the UI, using Kibana Us - Component loaded - Click event for "Quick resolve" button -In addition to UI counters, the Upgrade Assistant has a [custom usage collector](https://github.com/elastic/kibana/blob/main/src/plugins/usage_collection/README.mdx#custom-collector). It currently is only responsible for tracking whether the user has deprecation logging enabled or not. +In addition to UI counters, the Upgrade Assistant has a [custom usage collector](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/usage_collection/README.mdx#custom-collector). It currently is only responsible for tracking whether the user has deprecation logging enabled or not. -For testing instructions, refer to the [Kibana Usage Collection service README](https://github.com/elastic/kibana/blob/main/src/plugins/usage_collection/README.mdx#testing). +For testing instructions, refer to the [Kibana Usage Collection service README](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/usage_collection/README.mdx#testing). diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/app/app.helpers.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/app/app.helpers.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/app/app.helpers.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/app/app.helpers.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/app/cluster_upgrade.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/app/cluster_upgrade.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/app/cluster_upgrade.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/app/cluster_upgrade.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/app/privileges.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/app/privileges.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/app/privileges.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/app/privileges.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.helpers.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.helpers.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.helpers.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.helpers.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/cluster_settings_deprecation_flyout.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/cluster_settings_deprecation_flyout.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/cluster_settings_deprecation_flyout.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/cluster_settings_deprecation_flyout.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/error_handling.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/error_handling.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/error_handling.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/error_handling.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/es_deprecations.helpers.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/es_deprecations.helpers.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/es_deprecations.helpers.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/es_deprecations.helpers.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/mocked_responses.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/mocked_responses.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/mocked_responses.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/mocked_responses.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/app_context.mock.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/app_context.mock.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/app_context.mock.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/app_context.mock.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/http_requests.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/index.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/setup_environment.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/setup_environment.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/setup_environment.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/time_manipulation.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/time_manipulation.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/time_manipulation.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/helpers/time_manipulation.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout/deprecation_details_flyout.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout/deprecation_details_flyout.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout/deprecation_details_flyout.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout/deprecation_details_flyout.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/deprecations_table.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/deprecations_table.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/deprecations_table.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/deprecations_table.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/error_handling.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/error_handling.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/error_handling.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/error_handling.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/kibana_deprecations.helpers.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/kibana_deprecations.helpers.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/kibana_deprecations.helpers.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/kibana_deprecations.helpers.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/service.mock.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/service.mock.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/service.mock.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/kibana_deprecations/service.mock.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/backup_step/backup_step.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/backup_step/backup_step.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/backup_step/backup_step.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/backup_step/backup_step.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/elasticsearch_deprecation_issues.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/elasticsearch_deprecation_issues.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/elasticsearch_deprecation_issues.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/elasticsearch_deprecation_issues.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/fix_issues_step.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/fix_issues_step.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/fix_issues_step.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/fix_issues_step.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/mock_es_issues.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/mock_es_issues.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/mock_es_issues.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/mock_es_issues.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/logs_step/logs_step.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/logs_step/logs_step.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/logs_step/logs_step.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/logs_step/logs_step.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/__snapshots__/flyout.test.ts.snap b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/__snapshots__/flyout.test.ts.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/__snapshots__/flyout.test.ts.snap rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/__snapshots__/flyout.test.ts.snap diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/mocks.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/mocks.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/mocks.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/mocks.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/overview.helpers.ts b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/overview.helpers.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/overview.helpers.ts rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/overview.helpers.ts diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/overview.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/overview.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/overview.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/overview.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/common/constants.ts b/x-pack/platform/plugins/private/upgrade_assistant/common/constants.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/common/constants.ts rename to x-pack/platform/plugins/private/upgrade_assistant/common/constants.ts diff --git a/x-pack/plugins/upgrade_assistant/common/get_index_state.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/common/get_index_state.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/common/get_index_state.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/common/get_index_state.test.ts diff --git a/x-pack/plugins/upgrade_assistant/common/get_index_state.ts b/x-pack/platform/plugins/private/upgrade_assistant/common/get_index_state.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/common/get_index_state.ts rename to x-pack/platform/plugins/private/upgrade_assistant/common/get_index_state.ts diff --git a/x-pack/plugins/upgrade_assistant/common/types.ts b/x-pack/platform/plugins/private/upgrade_assistant/common/types.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/common/types.ts rename to x-pack/platform/plugins/private/upgrade_assistant/common/types.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/jest.config.js b/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js similarity index 56% rename from x-pack/plugins/cloud_integrations/cloud_full_story/jest.config.js rename to x-pack/platform/plugins/private/upgrade_assistant/jest.config.js index 2aad10a598754..2abb8ea84ab93 100644 --- a/x-pack/plugins/cloud_integrations/cloud_full_story/jest.config.js +++ b/x-pack/platform/plugins/private/upgrade_assistant/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/upgrade_assistant'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_full_story', + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/upgrade_assistant', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_integrations/cloud_full_story/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/upgrade_assistant/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/upgrade_assistant/kibana.jsonc b/x-pack/platform/plugins/private/upgrade_assistant/kibana.jsonc similarity index 100% rename from x-pack/plugins/upgrade_assistant/kibana.jsonc rename to x-pack/platform/plugins/private/upgrade_assistant/kibana.jsonc diff --git a/x-pack/plugins/upgrade_assistant/public/application/app.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/app.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/app.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/app.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/app_context.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/app_context.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/app_context.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/app_context.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/constants.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/constants.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/constants.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/constants.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/es_deprecation_logs.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/es_deprecation_logs.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/es_deprecation_logs.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/es_deprecation_logs.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/_deprecation_logging_toggle.scss b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/_deprecation_logging_toggle.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/_deprecation_logging_toggle.scss rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/_deprecation_logging_toggle.scss diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/deprecation_logging_toggle.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/deprecation_logging_toggle.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/deprecation_logging_toggle.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/deprecation_logging_toggle.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecation_logging_toggle/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/deprecations_count_checkpoint.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/deprecations_count_checkpoint.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/deprecations_count_checkpoint.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/deprecations_count_checkpoint.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/deprecations_count_checkpoint/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.test.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/fix_deprecation_logs.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/fix_deprecation_logs.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/fix_deprecation_logs.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/fix_deprecation_logs.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/use_deprecation_logging.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/use_deprecation_logging.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/use_deprecation_logging.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/use_deprecation_logging.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecation_logs/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/flyout.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/flyout.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/flyout.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/flyout.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/resolution_table_cell.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/resolution_table_cell.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/resolution_table_cell.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/resolution_table_cell.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/table_row.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/table_row.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/table_row.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/table_row.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/flyout.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/flyout.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/flyout.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/flyout.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/table_row.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/table_row.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/table_row.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/default/table_row.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/flyout.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/flyout.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/flyout.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/flyout.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/table_row.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/table_row.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/table_row.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/health_indicator/table_row.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/flyout.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/flyout.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/flyout.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/flyout.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/resolution_table_cell.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/resolution_table_cell.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/resolution_table_cell.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/resolution_table_cell.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/table_row.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/table_row.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/table_row.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/table_row.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/context.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/context.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/context.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/context.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/flyout.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/flyout.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/flyout.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/flyout.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/resolution_table_cell.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/resolution_table_cell.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/resolution_table_cell.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/resolution_table_cell.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/table_row.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/table_row.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/table_row.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/table_row.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/use_snapshot_state.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/use_snapshot_state.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/use_snapshot_state.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/use_snapshot_state.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/context.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/context.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/context.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/context.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/warning_step.test.tsx.snap b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/warning_step.test.tsx.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/warning_step.test.tsx.snap rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/__snapshots__/warning_step.test.tsx.snap diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/_step_progress.scss b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/_step_progress.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/_step_progress.scss rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/_step_progress.scss diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/container.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/container.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/container.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/container.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/index.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/index.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/index.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/index.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/step_progress.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/step_progress.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/step_progress.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/step_progress.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step_checkbox.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step_checkbox.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step_checkbox.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step_checkbox.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warnings_step.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warnings_step.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warnings_step.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warnings_step.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/index.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/index.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/index.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/index.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/resolution_table_cell.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/table_row.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/table_row.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/table_row.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/table_row.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/use_reindex_state.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/es_deprecations.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/es_deprecations.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table_cells.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table_cells.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table_cells.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table_cells.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/es_deprecations/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/_deprecation_details_flyout.scss b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/_deprecation_details_flyout.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/_deprecation_details_flyout.scss rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/_deprecation_details_flyout.scss diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations_table.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations_table.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations_table.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations_table.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolution_table_cell.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/resolution_table_cell.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolution_table_cell.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/resolution_table_cell.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/backup_step.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/backup_step/backup_step.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/backup_step.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/backup_step/backup_step.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/cloud_backup.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/backup_step/cloud_backup.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/cloud_backup.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/backup_step/cloud_backup.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/backup_step/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/backup_step/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/on_prem_backup.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/backup_step/on_prem_backup.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/on_prem_backup.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/backup_step/on_prem_backup.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/_deprecation_issues_panel.scss b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/_deprecation_issues_panel.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/_deprecation_issues_panel.scss rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/_deprecation_issues_panel.scss diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/deprecation_issues_panel.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/deprecation_issues_panel.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/deprecation_issues_panel.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/deprecation_issues_panel.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/es_deprecation_issues_panel.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/es_deprecation_issues_panel.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/es_deprecation_issues_panel.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/es_deprecation_issues_panel.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/kibana_deprecation_issues_panel.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/kibana_deprecation_issues_panel.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/kibana_deprecation_issues_panel.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/kibana_deprecation_issues_panel.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/loading_issues_error.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/loading_issues_error.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/loading_issues_error.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/loading_issues_error.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/no_deprecation_issues.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/no_deprecation_issues.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/no_deprecation_issues.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/components/no_deprecation_issues.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/fix_issues_step.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/fix_issues_step.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/fix_issues_step.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/fix_issues_step.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/fix_issues_step/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/logs_step/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/logs_step/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/logs_step/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/logs_step/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/logs_step/logs_step.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/logs_step/logs_step.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/logs_step/logs_step.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/logs_step/logs_step.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/use_migrate_system_indices.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/use_migrate_system_indices.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/use_migrate_system_indices.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/use_migrate_system_indices.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/overview.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/overview.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/overview.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/overview.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/upgrade_step/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/upgrade_step/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecation_badge.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/deprecation_badge.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecation_badge.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/deprecation_badge.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecation_count.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/deprecation_count.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecation_count.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/deprecation_count.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecation_flyout_learn_more_link.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/deprecation_flyout_learn_more_link.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecation_flyout_learn_more_link.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/deprecation_flyout_learn_more_link.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecations_page_loading_error.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/deprecations_page_loading_error.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecations_page_loading_error.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/deprecations_page_loading_error.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/shared/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/level_info_tip.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/level_info_tip.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/shared/level_info_tip.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/level_info_tip.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/no_deprecations.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/no_deprecations.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/shared/no_deprecations.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/shared/no_deprecations.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/types.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/types.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/components/types.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/components/types.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/api.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/api.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/lib/api.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/api.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/breadcrumbs.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/lib/breadcrumbs.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/breadcrumbs.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/get_es_deprecation_error.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/get_es_deprecation_error.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/lib/get_es_deprecation_error.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/get_es_deprecation_error.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/logs_checkpoint.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/logs_checkpoint.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/lib/logs_checkpoint.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/logs_checkpoint.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/ui_metric.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/ui_metric.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/lib/ui_metric.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/ui_metric.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/utils.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/utils.test.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/utils.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/lib/utils.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/lib/utils.ts diff --git a/x-pack/plugins/upgrade_assistant/public/application/mount_management_section.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/mount_management_section.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/application/mount_management_section.tsx rename to x-pack/platform/plugins/private/upgrade_assistant/public/application/mount_management_section.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/index.ts diff --git a/x-pack/plugins/upgrade_assistant/public/plugin.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/plugin.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/plugin.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/plugin.ts diff --git a/x-pack/plugins/upgrade_assistant/public/shared_imports.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/shared_imports.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/shared_imports.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/shared_imports.ts diff --git a/x-pack/plugins/upgrade_assistant/public/types.ts b/x-pack/platform/plugins/private/upgrade_assistant/public/types.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/types.ts rename to x-pack/platform/plugins/private/upgrade_assistant/public/types.ts diff --git a/x-pack/plugins/upgrade_assistant/server/config.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/config.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/config.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/config.ts diff --git a/x-pack/plugins/upgrade_assistant/server/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/index.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/es_deprecations.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/__fixtures__/es_deprecations.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/es_deprecations.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/__fixtures__/es_deprecations.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/fake_deprecations.json b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/__fixtures__/fake_deprecations.json similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/fake_deprecations.json rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/__fixtures__/fake_deprecations.json diff --git a/x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/health_indicators.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/__fixtures__/health_indicators.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/health_indicators.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/__fixtures__/health_indicators.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/version.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/__fixtures__/version.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/version.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/__fixtures__/version.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/__mocks__/es_version_precheck.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/__mocks__/es_version_precheck.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/__mocks__/es_version_precheck.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/__mocks__/es_version_precheck.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/__snapshots__/kibana_status.test.ts.snap b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/__snapshots__/kibana_status.test.ts.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/__snapshots__/kibana_status.test.ts.snap rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/__snapshots__/kibana_status.test.ts.snap diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecation_logging_apis.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecation_logging_apis.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/__snapshots__/index.test.ts.snap b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/__snapshots__/index.test.ts.snap rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/get_corrective_actions.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/get_corrective_actions.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/get_corrective_actions.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/get_corrective_actions.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/health_indicators.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/index.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/index.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/index.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/index.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/index.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/migrations.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/migrations.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status/migrations.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_deprecations_status/migrations.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_indices_state_check.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_indices_state_check.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_indices_state_check.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_indices_state_check.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_system_indices_migration.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_system_indices_migration.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_system_indices_migration.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_system_indices_migration.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_version_precheck.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_version_precheck.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_version_precheck.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_version_precheck.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_version_precheck.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_version_precheck.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_version_precheck.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/es_version_precheck.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/kibana_status.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/kibana_status.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/kibana_status.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/kibana_status.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/kibana_status.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/kibana_status.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/kibana_status.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/kibana_status.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/credential_store.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/credential_store.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/credential_store.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/credential_store.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/error.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/error.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/error.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/error.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/error_symbols.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/error_symbols.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/error_symbols.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/error_symbols.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/index.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/index_settings.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/index_settings.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/index_settings.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/index_settings.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/op_utils.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/op_utils.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/op_utils.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/op_utils.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/reindex_actions.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/reindex_actions.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/reindex_service.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/reindex_service.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/types.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/types.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/types.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/types.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/worker.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/worker.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/worker.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/reindexing/worker.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/telemetry/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/telemetry/index.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/telemetry/usage_collector.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/telemetry/usage_collector.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/version.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/lib/version.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/version.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/lib/version.ts diff --git a/x-pack/plugins/upgrade_assistant/server/plugin.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/plugin.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/plugin.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/plugin.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/__mocks__/request.mock.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/__mocks__/request.mock.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/__mocks__/request.mock.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/__mocks__/request.mock.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/__mocks__/routes.mock.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/__mocks__/routes.mock.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/__mocks__/routes.mock.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/__mocks__/routes.mock.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/app.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/app.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/app.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/app.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/cloud_backup_status.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/cloud_backup_status.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/cloud_backup_status.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/cloud_backup_status.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/cluster_settings.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/cluster_settings.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/cluster_settings.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/cluster_settings.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/cluster_upgrade_status.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/cluster_upgrade_status.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/cluster_upgrade_status.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/cluster_upgrade_status.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/deprecation_logging.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/deprecation_logging.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/deprecation_logging.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/deprecation_logging.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/es_deprecations.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/es_deprecations.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/es_deprecations.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/es_deprecations.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/es_deprecations.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/es_deprecations.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/es_deprecations.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/es_deprecations.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/ml_snapshots.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/ml_snapshots.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/ml_snapshots.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/ml_snapshots.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/node_disk_space.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/node_disk_space.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/node_disk_space.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/node_disk_space.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/node_disk_space.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/node_disk_space.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/node_disk_space.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/node_disk_space.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/register_routes.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/register_routes.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/register_routes.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/register_routes.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/create_reindex_worker.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/create_reindex_worker.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/create_reindex_worker.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/create_reindex_worker.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/index.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/map_any_error_to_kibana_http_response.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/map_any_error_to_kibana_http_response.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/map_any_error_to_kibana_http_response.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/map_any_error_to_kibana_http_response.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_handler.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/reindex_handler.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_handler.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/reindex_handler.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/types.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/types.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/types.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/reindex_indices/types.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/remote_clusters.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/remote_clusters.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/remote_clusters.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/remote_clusters.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/status.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/status.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/status.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/status.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/status.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/status.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/status.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/status.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.test.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/system_indices_migration.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.test.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/system_indices_migration.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/system_indices_migration.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/system_indices_migration.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/update_index_settings.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/routes/update_index_settings.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/update_index_settings.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/routes/update_index_settings.ts diff --git a/x-pack/plugins/upgrade_assistant/server/saved_object_types/index.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/saved_object_types/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/saved_object_types/index.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/saved_object_types/index.ts diff --git a/x-pack/plugins/upgrade_assistant/server/saved_object_types/ml_upgrade_operation_saved_object_type.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/saved_object_types/ml_upgrade_operation_saved_object_type.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/saved_object_types/ml_upgrade_operation_saved_object_type.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/saved_object_types/ml_upgrade_operation_saved_object_type.ts diff --git a/x-pack/plugins/upgrade_assistant/server/saved_object_types/reindex_operation_saved_object_type.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/saved_object_types/reindex_operation_saved_object_type.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/saved_object_types/reindex_operation_saved_object_type.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/saved_object_types/reindex_operation_saved_object_type.ts diff --git a/x-pack/plugins/upgrade_assistant/server/shared_imports.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/shared_imports.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/shared_imports.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/shared_imports.ts diff --git a/x-pack/plugins/upgrade_assistant/server/types.ts b/x-pack/platform/plugins/private/upgrade_assistant/server/types.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/types.ts rename to x-pack/platform/plugins/private/upgrade_assistant/server/types.ts diff --git a/x-pack/plugins/upgrade_assistant/tsconfig.json b/x-pack/platform/plugins/private/upgrade_assistant/tsconfig.json similarity index 93% rename from x-pack/plugins/upgrade_assistant/tsconfig.json rename to x-pack/platform/plugins/private/upgrade_assistant/tsconfig.json index 78f8e447b0b3d..57742b9b2320d 100644 --- a/x-pack/plugins/upgrade_assistant/tsconfig.json +++ b/x-pack/platform/plugins/private/upgrade_assistant/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, "include": [ - "../../../typings/**/*", + "../../../../../typings/**/*", "__jest__/**/*", "common/**/*", "public/**/*", diff --git a/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts index bffb5d10c5b9f..1aba265af20b1 100644 --- a/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts +++ b/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts @@ -17,7 +17,7 @@ export class CaseConnectorRetryService { * 429 - Too Many Requests * 503 - ES Unavailable * - * Full list of errors: packages/core/saved-objects/core-saved-objects-server/src/saved_objects_error_helpers.ts + * Full list of errors: src/core/packages/saved-objects/server/src/saved_objects_error_helpers.ts */ private readonly RETRY_ERROR_STATUS_CODES: number[] = [409, 429, 503]; private readonly backOffStrategy: BackoffStrategy; 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/upgrade_assistant/jest.config.js b/x-pack/platform/plugins/shared/cloud/jest.config.js similarity index 66% rename from x-pack/plugins/upgrade_assistant/jest.config.js rename to x-pack/platform/plugins/shared/cloud/jest.config.js index 024cb4a49ab3d..fa19f5b20864e 100644 --- a/x-pack/plugins/upgrade_assistant/jest.config.js +++ b/x-pack/platform/plugins/shared/cloud/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/upgrade_assistant'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/upgrade_assistant', + 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/upgrade_assistant/{common,public,server}/**/*.{ts,tsx}', + '/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 83% rename from x-pack/plugins/cloud/tsconfig.json rename to x-pack/platform/plugins/shared/cloud/tsconfig.json index 37d0b6f4b4de0..26e3b7d47a332 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 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/README.mdx rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/README.mdx 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/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js new file mode 100644 index 0000000000000..1fc309cf45a17 --- /dev/null +++ b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../', + roots: ['/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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/features/README.md b/x-pack/platform/plugins/shared/features/README.md similarity index 100% rename from x-pack/plugins/features/README.md rename to x-pack/platform/plugins/shared/features/README.md diff --git a/x-pack/plugins/features/common/alerting_kibana_privilege.ts b/x-pack/platform/plugins/shared/features/common/alerting_kibana_privilege.ts similarity index 100% rename from x-pack/plugins/features/common/alerting_kibana_privilege.ts rename to x-pack/platform/plugins/shared/features/common/alerting_kibana_privilege.ts diff --git a/x-pack/plugins/features/common/elasticsearch_feature.ts b/x-pack/platform/plugins/shared/features/common/elasticsearch_feature.ts similarity index 100% rename from x-pack/plugins/features/common/elasticsearch_feature.ts rename to x-pack/platform/plugins/shared/features/common/elasticsearch_feature.ts diff --git a/x-pack/plugins/features/common/feature_elasticsearch_privileges.ts b/x-pack/platform/plugins/shared/features/common/feature_elasticsearch_privileges.ts similarity index 100% rename from x-pack/plugins/features/common/feature_elasticsearch_privileges.ts rename to x-pack/platform/plugins/shared/features/common/feature_elasticsearch_privileges.ts diff --git a/x-pack/plugins/features/common/feature_kibana_privileges.ts b/x-pack/platform/plugins/shared/features/common/feature_kibana_privileges.ts similarity index 99% rename from x-pack/plugins/features/common/feature_kibana_privileges.ts rename to x-pack/platform/plugins/shared/features/common/feature_kibana_privileges.ts index a7d39669ef00a..725ababcaaf90 100644 --- a/x-pack/plugins/features/common/feature_kibana_privileges.ts +++ b/x-pack/platform/plugins/shared/features/common/feature_kibana_privileges.ts @@ -71,7 +71,7 @@ export interface FeatureKibanaPrivileges { * } * ``` * - * NOTE: It is important to name your tags in a way that will not collide with other plugins/features. + * NOTE: It is important to name your tags in a way that will not collide with other platform/plugins/shared/features. * A generic tag name like "access:read" could be used elsewhere, and access to that API endpoint would also * extend to any routes you have also tagged with that name. */ diff --git a/x-pack/plugins/features/common/feature_kibana_privileges_reference.ts b/x-pack/platform/plugins/shared/features/common/feature_kibana_privileges_reference.ts similarity index 100% rename from x-pack/plugins/features/common/feature_kibana_privileges_reference.ts rename to x-pack/platform/plugins/shared/features/common/feature_kibana_privileges_reference.ts diff --git a/x-pack/plugins/features/common/index.ts b/x-pack/platform/plugins/shared/features/common/index.ts similarity index 100% rename from x-pack/plugins/features/common/index.ts rename to x-pack/platform/plugins/shared/features/common/index.ts diff --git a/x-pack/plugins/features/common/kibana_feature.ts b/x-pack/platform/plugins/shared/features/common/kibana_feature.ts similarity index 100% rename from x-pack/plugins/features/common/kibana_feature.ts rename to x-pack/platform/plugins/shared/features/common/kibana_feature.ts diff --git a/x-pack/plugins/features/common/reserved_kibana_privilege.ts b/x-pack/platform/plugins/shared/features/common/reserved_kibana_privilege.ts similarity index 100% rename from x-pack/plugins/features/common/reserved_kibana_privilege.ts rename to x-pack/platform/plugins/shared/features/common/reserved_kibana_privilege.ts diff --git a/x-pack/plugins/features/common/sub_feature.ts b/x-pack/platform/plugins/shared/features/common/sub_feature.ts similarity index 100% rename from x-pack/plugins/features/common/sub_feature.ts rename to x-pack/platform/plugins/shared/features/common/sub_feature.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/jest.config.js b/x-pack/platform/plugins/shared/features/jest.config.js similarity index 57% rename from x-pack/plugins/cloud_integrations/cloud_links/jest.config.js rename to x-pack/platform/plugins/shared/features/jest.config.js index 1cec558302f27..3675ee2986003 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/jest.config.js +++ b/x-pack/platform/plugins/shared/features/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/features'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_links', + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/features', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_integrations/cloud_links/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/features/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/features/kibana.jsonc b/x-pack/platform/plugins/shared/features/kibana.jsonc similarity index 100% rename from x-pack/plugins/features/kibana.jsonc rename to x-pack/platform/plugins/shared/features/kibana.jsonc diff --git a/x-pack/plugins/features/public/features_api_client.test.ts b/x-pack/platform/plugins/shared/features/public/features_api_client.test.ts similarity index 100% rename from x-pack/plugins/features/public/features_api_client.test.ts rename to x-pack/platform/plugins/shared/features/public/features_api_client.test.ts diff --git a/x-pack/plugins/features/public/features_api_client.ts b/x-pack/platform/plugins/shared/features/public/features_api_client.ts similarity index 100% rename from x-pack/plugins/features/public/features_api_client.ts rename to x-pack/platform/plugins/shared/features/public/features_api_client.ts diff --git a/x-pack/plugins/features/public/index.ts b/x-pack/platform/plugins/shared/features/public/index.ts similarity index 100% rename from x-pack/plugins/features/public/index.ts rename to x-pack/platform/plugins/shared/features/public/index.ts diff --git a/x-pack/plugins/features/public/mocks.ts b/x-pack/platform/plugins/shared/features/public/mocks.ts similarity index 100% rename from x-pack/plugins/features/public/mocks.ts rename to x-pack/platform/plugins/shared/features/public/mocks.ts diff --git a/x-pack/plugins/features/public/plugin.test.ts b/x-pack/platform/plugins/shared/features/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/features/public/plugin.test.ts rename to x-pack/platform/plugins/shared/features/public/plugin.test.ts diff --git a/x-pack/plugins/features/public/plugin.ts b/x-pack/platform/plugins/shared/features/public/plugin.ts similarity index 100% rename from x-pack/plugins/features/public/plugin.ts rename to x-pack/platform/plugins/shared/features/public/plugin.ts diff --git a/x-pack/plugins/features/server/__snapshots__/feature_registry.test.ts.snap b/x-pack/platform/plugins/shared/features/server/__snapshots__/feature_registry.test.ts.snap similarity index 100% rename from x-pack/plugins/features/server/__snapshots__/feature_registry.test.ts.snap rename to x-pack/platform/plugins/shared/features/server/__snapshots__/feature_registry.test.ts.snap diff --git a/x-pack/plugins/features/server/__snapshots__/oss_features.test.ts.snap b/x-pack/platform/plugins/shared/features/server/__snapshots__/oss_features.test.ts.snap similarity index 100% rename from x-pack/plugins/features/server/__snapshots__/oss_features.test.ts.snap rename to x-pack/platform/plugins/shared/features/server/__snapshots__/oss_features.test.ts.snap diff --git a/x-pack/plugins/features/server/config.test.ts b/x-pack/platform/plugins/shared/features/server/config.test.ts similarity index 100% rename from x-pack/plugins/features/server/config.test.ts rename to x-pack/platform/plugins/shared/features/server/config.test.ts diff --git a/x-pack/plugins/features/server/config.ts b/x-pack/platform/plugins/shared/features/server/config.ts similarity index 100% rename from x-pack/plugins/features/server/config.ts rename to x-pack/platform/plugins/shared/features/server/config.ts diff --git a/x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.test.ts b/x-pack/platform/plugins/shared/features/server/feature_privilege_iterator/feature_privilege_iterator.test.ts similarity index 100% rename from x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.test.ts rename to x-pack/platform/plugins/shared/features/server/feature_privilege_iterator/feature_privilege_iterator.test.ts diff --git a/x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.ts b/x-pack/platform/plugins/shared/features/server/feature_privilege_iterator/feature_privilege_iterator.ts similarity index 100% rename from x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.ts rename to x-pack/platform/plugins/shared/features/server/feature_privilege_iterator/feature_privilege_iterator.ts diff --git a/x-pack/plugins/features/server/feature_privilege_iterator/index.ts b/x-pack/platform/plugins/shared/features/server/feature_privilege_iterator/index.ts similarity index 100% rename from x-pack/plugins/features/server/feature_privilege_iterator/index.ts rename to x-pack/platform/plugins/shared/features/server/feature_privilege_iterator/index.ts diff --git a/x-pack/plugins/features/server/feature_privilege_iterator/sub_feature_privilege_iterator.ts b/x-pack/platform/plugins/shared/features/server/feature_privilege_iterator/sub_feature_privilege_iterator.ts similarity index 100% rename from x-pack/plugins/features/server/feature_privilege_iterator/sub_feature_privilege_iterator.ts rename to x-pack/platform/plugins/shared/features/server/feature_privilege_iterator/sub_feature_privilege_iterator.ts diff --git a/x-pack/plugins/features/server/feature_registry.test.ts b/x-pack/platform/plugins/shared/features/server/feature_registry.test.ts similarity index 100% rename from x-pack/plugins/features/server/feature_registry.test.ts rename to x-pack/platform/plugins/shared/features/server/feature_registry.test.ts diff --git a/x-pack/plugins/features/server/feature_registry.ts b/x-pack/platform/plugins/shared/features/server/feature_registry.ts similarity index 100% rename from x-pack/plugins/features/server/feature_registry.ts rename to x-pack/platform/plugins/shared/features/server/feature_registry.ts diff --git a/x-pack/plugins/features/server/feature_schema.ts b/x-pack/platform/plugins/shared/features/server/feature_schema.ts similarity index 100% rename from x-pack/plugins/features/server/feature_schema.ts rename to x-pack/platform/plugins/shared/features/server/feature_schema.ts diff --git a/x-pack/plugins/features/server/index.ts b/x-pack/platform/plugins/shared/features/server/index.ts similarity index 100% rename from x-pack/plugins/features/server/index.ts rename to x-pack/platform/plugins/shared/features/server/index.ts diff --git a/x-pack/plugins/features/server/mocks.ts b/x-pack/platform/plugins/shared/features/server/mocks.ts similarity index 100% rename from x-pack/plugins/features/server/mocks.ts rename to x-pack/platform/plugins/shared/features/server/mocks.ts diff --git a/x-pack/plugins/features/server/oss_features.test.ts b/x-pack/platform/plugins/shared/features/server/oss_features.test.ts similarity index 100% rename from x-pack/plugins/features/server/oss_features.test.ts rename to x-pack/platform/plugins/shared/features/server/oss_features.test.ts diff --git a/x-pack/plugins/features/server/oss_features.ts b/x-pack/platform/plugins/shared/features/server/oss_features.ts similarity index 100% rename from x-pack/plugins/features/server/oss_features.ts rename to x-pack/platform/plugins/shared/features/server/oss_features.ts diff --git a/x-pack/plugins/features/server/plugin.test.ts b/x-pack/platform/plugins/shared/features/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/features/server/plugin.test.ts rename to x-pack/platform/plugins/shared/features/server/plugin.test.ts diff --git a/x-pack/plugins/features/server/plugin.ts b/x-pack/platform/plugins/shared/features/server/plugin.ts similarity index 100% rename from x-pack/plugins/features/server/plugin.ts rename to x-pack/platform/plugins/shared/features/server/plugin.ts diff --git a/x-pack/plugins/features/server/routes/index.test.ts b/x-pack/platform/plugins/shared/features/server/routes/index.test.ts similarity index 100% rename from x-pack/plugins/features/server/routes/index.test.ts rename to x-pack/platform/plugins/shared/features/server/routes/index.test.ts diff --git a/x-pack/plugins/features/server/routes/index.ts b/x-pack/platform/plugins/shared/features/server/routes/index.ts similarity index 100% rename from x-pack/plugins/features/server/routes/index.ts rename to x-pack/platform/plugins/shared/features/server/routes/index.ts diff --git a/x-pack/plugins/features/server/types.ts b/x-pack/platform/plugins/shared/features/server/types.ts similarity index 100% rename from x-pack/plugins/features/server/types.ts rename to x-pack/platform/plugins/shared/features/server/types.ts diff --git a/x-pack/plugins/features/server/ui_capabilities_for_features.test.ts b/x-pack/platform/plugins/shared/features/server/ui_capabilities_for_features.test.ts similarity index 100% rename from x-pack/plugins/features/server/ui_capabilities_for_features.test.ts rename to x-pack/platform/plugins/shared/features/server/ui_capabilities_for_features.test.ts diff --git a/x-pack/plugins/features/server/ui_capabilities_for_features.ts b/x-pack/platform/plugins/shared/features/server/ui_capabilities_for_features.ts similarity index 100% rename from x-pack/plugins/features/server/ui_capabilities_for_features.ts rename to x-pack/platform/plugins/shared/features/server/ui_capabilities_for_features.ts diff --git a/x-pack/plugins/features/tsconfig.json b/x-pack/platform/plugins/shared/features/tsconfig.json similarity index 87% rename from x-pack/plugins/features/tsconfig.json rename to x-pack/platform/plugins/shared/features/tsconfig.json index e32008f52edd0..70f6965c308c1 100644 --- a/x-pack/plugins/features/tsconfig.json +++ b/x-pack/platform/plugins/shared/features/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/platform/plugins/shared/fleet/server/services/debug/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/debug/index.ts index b0e9d7167f1a4..d1239861b33f9 100644 --- a/x-pack/platform/plugins/shared/fleet/server/services/debug/index.ts +++ b/x-pack/platform/plugins/shared/fleet/server/services/debug/index.ts @@ -28,7 +28,7 @@ export async function fetchSavedObjectNames(soClient: SavedObjectsClientContract type, aggs: { names: { - terms: { field: `${type}.attributes.name` }, // cf. SavedObjectsFindOptions definition in packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts + terms: { field: `${type}.attributes.name` }, // cf. SavedObjectsFindOptions definition in src/core/packages/saved-objects/api-server/src/apis/find.ts }, }, }); diff --git a/x-pack/plugins/licensing/README.md b/x-pack/platform/plugins/shared/licensing/README.md similarity index 100% rename from x-pack/plugins/licensing/README.md rename to x-pack/platform/plugins/shared/licensing/README.md diff --git a/x-pack/plugins/licensing/common/has_license_info_changed.test.ts b/x-pack/platform/plugins/shared/licensing/common/has_license_info_changed.test.ts similarity index 100% rename from x-pack/plugins/licensing/common/has_license_info_changed.test.ts rename to x-pack/platform/plugins/shared/licensing/common/has_license_info_changed.test.ts diff --git a/x-pack/plugins/licensing/common/has_license_info_changed.ts b/x-pack/platform/plugins/shared/licensing/common/has_license_info_changed.ts similarity index 100% rename from x-pack/plugins/licensing/common/has_license_info_changed.ts rename to x-pack/platform/plugins/shared/licensing/common/has_license_info_changed.ts diff --git a/x-pack/plugins/licensing/common/license.test.ts b/x-pack/platform/plugins/shared/licensing/common/license.test.ts similarity index 100% rename from x-pack/plugins/licensing/common/license.test.ts rename to x-pack/platform/plugins/shared/licensing/common/license.test.ts diff --git a/x-pack/plugins/licensing/common/license.ts b/x-pack/platform/plugins/shared/licensing/common/license.ts similarity index 100% rename from x-pack/plugins/licensing/common/license.ts rename to x-pack/platform/plugins/shared/licensing/common/license.ts diff --git a/x-pack/plugins/licensing/common/license_update.test.ts b/x-pack/platform/plugins/shared/licensing/common/license_update.test.ts similarity index 100% rename from x-pack/plugins/licensing/common/license_update.test.ts rename to x-pack/platform/plugins/shared/licensing/common/license_update.test.ts diff --git a/x-pack/plugins/licensing/common/license_update.ts b/x-pack/platform/plugins/shared/licensing/common/license_update.ts similarity index 100% rename from x-pack/plugins/licensing/common/license_update.ts rename to x-pack/platform/plugins/shared/licensing/common/license_update.ts diff --git a/x-pack/plugins/licensing/common/licensing.mock.ts b/x-pack/platform/plugins/shared/licensing/common/licensing.mock.ts similarity index 100% rename from x-pack/plugins/licensing/common/licensing.mock.ts rename to x-pack/platform/plugins/shared/licensing/common/licensing.mock.ts diff --git a/x-pack/plugins/licensing/common/register_analytics_context_provider.test.ts b/x-pack/platform/plugins/shared/licensing/common/register_analytics_context_provider.test.ts similarity index 100% rename from x-pack/plugins/licensing/common/register_analytics_context_provider.test.ts rename to x-pack/platform/plugins/shared/licensing/common/register_analytics_context_provider.test.ts diff --git a/x-pack/plugins/licensing/common/register_analytics_context_provider.ts b/x-pack/platform/plugins/shared/licensing/common/register_analytics_context_provider.ts similarity index 100% rename from x-pack/plugins/licensing/common/register_analytics_context_provider.ts rename to x-pack/platform/plugins/shared/licensing/common/register_analytics_context_provider.ts diff --git a/x-pack/plugins/licensing/common/types.ts b/x-pack/platform/plugins/shared/licensing/common/types.ts similarity index 100% rename from x-pack/plugins/licensing/common/types.ts rename to x-pack/platform/plugins/shared/licensing/common/types.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/jest.config.js b/x-pack/platform/plugins/shared/licensing/jest.config.js similarity index 55% rename from x-pack/plugins/cloud_integrations/cloud_experiments/jest.config.js rename to x-pack/platform/plugins/shared/licensing/jest.config.js index a15dd88e1cb41..787cbc4c0dc31 100644 --- a/x-pack/plugins/cloud_integrations/cloud_experiments/jest.config.js +++ b/x-pack/platform/plugins/shared/licensing/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/shared/licensing'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_experiments', + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/licensing', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_integrations/cloud_experiments/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/licensing/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/licensing/kibana.jsonc b/x-pack/platform/plugins/shared/licensing/kibana.jsonc similarity index 100% rename from x-pack/plugins/licensing/kibana.jsonc rename to x-pack/platform/plugins/shared/licensing/kibana.jsonc diff --git a/x-pack/plugins/licensing/public/expired_banner.tsx b/x-pack/platform/plugins/shared/licensing/public/expired_banner.tsx similarity index 100% rename from x-pack/plugins/licensing/public/expired_banner.tsx rename to x-pack/platform/plugins/shared/licensing/public/expired_banner.tsx diff --git a/x-pack/plugins/licensing/public/index.ts b/x-pack/platform/plugins/shared/licensing/public/index.ts similarity index 100% rename from x-pack/plugins/licensing/public/index.ts rename to x-pack/platform/plugins/shared/licensing/public/index.ts diff --git a/x-pack/plugins/licensing/public/mocks.ts b/x-pack/platform/plugins/shared/licensing/public/mocks.ts similarity index 100% rename from x-pack/plugins/licensing/public/mocks.ts rename to x-pack/platform/plugins/shared/licensing/public/mocks.ts diff --git a/x-pack/plugins/licensing/public/plugin.test.mocks.ts b/x-pack/platform/plugins/shared/licensing/public/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/licensing/public/plugin.test.mocks.ts rename to x-pack/platform/plugins/shared/licensing/public/plugin.test.mocks.ts diff --git a/x-pack/plugins/licensing/public/plugin.test.ts b/x-pack/platform/plugins/shared/licensing/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/licensing/public/plugin.test.ts rename to x-pack/platform/plugins/shared/licensing/public/plugin.test.ts diff --git a/x-pack/plugins/licensing/public/plugin.ts b/x-pack/platform/plugins/shared/licensing/public/plugin.ts similarity index 100% rename from x-pack/plugins/licensing/public/plugin.ts rename to x-pack/platform/plugins/shared/licensing/public/plugin.ts diff --git a/x-pack/plugins/licensing/public/services/feature_usage_service.mock.ts b/x-pack/platform/plugins/shared/licensing/public/services/feature_usage_service.mock.ts similarity index 100% rename from x-pack/plugins/licensing/public/services/feature_usage_service.mock.ts rename to x-pack/platform/plugins/shared/licensing/public/services/feature_usage_service.mock.ts diff --git a/x-pack/plugins/licensing/public/services/feature_usage_service.test.ts b/x-pack/platform/plugins/shared/licensing/public/services/feature_usage_service.test.ts similarity index 100% rename from x-pack/plugins/licensing/public/services/feature_usage_service.test.ts rename to x-pack/platform/plugins/shared/licensing/public/services/feature_usage_service.test.ts diff --git a/x-pack/plugins/licensing/public/services/feature_usage_service.ts b/x-pack/platform/plugins/shared/licensing/public/services/feature_usage_service.ts similarity index 100% rename from x-pack/plugins/licensing/public/services/feature_usage_service.ts rename to x-pack/platform/plugins/shared/licensing/public/services/feature_usage_service.ts diff --git a/x-pack/plugins/licensing/public/services/index.ts b/x-pack/platform/plugins/shared/licensing/public/services/index.ts similarity index 100% rename from x-pack/plugins/licensing/public/services/index.ts rename to x-pack/platform/plugins/shared/licensing/public/services/index.ts diff --git a/x-pack/plugins/licensing/public/types.ts b/x-pack/platform/plugins/shared/licensing/public/types.ts similarity index 100% rename from x-pack/plugins/licensing/public/types.ts rename to x-pack/platform/plugins/shared/licensing/public/types.ts diff --git a/x-pack/plugins/licensing/server/index.ts b/x-pack/platform/plugins/shared/licensing/server/index.ts similarity index 100% rename from x-pack/plugins/licensing/server/index.ts rename to x-pack/platform/plugins/shared/licensing/server/index.ts diff --git a/x-pack/plugins/licensing/server/license_fetcher.test.ts b/x-pack/platform/plugins/shared/licensing/server/license_fetcher.test.ts similarity index 100% rename from x-pack/plugins/licensing/server/license_fetcher.test.ts rename to x-pack/platform/plugins/shared/licensing/server/license_fetcher.test.ts diff --git a/x-pack/plugins/licensing/server/license_fetcher.ts b/x-pack/platform/plugins/shared/licensing/server/license_fetcher.ts similarity index 100% rename from x-pack/plugins/licensing/server/license_fetcher.ts rename to x-pack/platform/plugins/shared/licensing/server/license_fetcher.ts diff --git a/x-pack/plugins/licensing/server/licensing_config.ts b/x-pack/platform/plugins/shared/licensing/server/licensing_config.ts similarity index 100% rename from x-pack/plugins/licensing/server/licensing_config.ts rename to x-pack/platform/plugins/shared/licensing/server/licensing_config.ts diff --git a/x-pack/plugins/licensing/server/licensing_route_handler_context.test.ts b/x-pack/platform/plugins/shared/licensing/server/licensing_route_handler_context.test.ts similarity index 100% rename from x-pack/plugins/licensing/server/licensing_route_handler_context.test.ts rename to x-pack/platform/plugins/shared/licensing/server/licensing_route_handler_context.test.ts diff --git a/x-pack/plugins/licensing/server/licensing_route_handler_context.ts b/x-pack/platform/plugins/shared/licensing/server/licensing_route_handler_context.ts similarity index 100% rename from x-pack/plugins/licensing/server/licensing_route_handler_context.ts rename to x-pack/platform/plugins/shared/licensing/server/licensing_route_handler_context.ts diff --git a/x-pack/plugins/licensing/server/mocks.ts b/x-pack/platform/plugins/shared/licensing/server/mocks.ts similarity index 100% rename from x-pack/plugins/licensing/server/mocks.ts rename to x-pack/platform/plugins/shared/licensing/server/mocks.ts diff --git a/x-pack/plugins/licensing/server/on_pre_response_handler.test.ts b/x-pack/platform/plugins/shared/licensing/server/on_pre_response_handler.test.ts similarity index 100% rename from x-pack/plugins/licensing/server/on_pre_response_handler.test.ts rename to x-pack/platform/plugins/shared/licensing/server/on_pre_response_handler.test.ts diff --git a/x-pack/plugins/licensing/server/on_pre_response_handler.ts b/x-pack/platform/plugins/shared/licensing/server/on_pre_response_handler.ts similarity index 100% rename from x-pack/plugins/licensing/server/on_pre_response_handler.ts rename to x-pack/platform/plugins/shared/licensing/server/on_pre_response_handler.ts diff --git a/x-pack/plugins/licensing/server/plugin.test.ts b/x-pack/platform/plugins/shared/licensing/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/licensing/server/plugin.test.ts rename to x-pack/platform/plugins/shared/licensing/server/plugin.test.ts diff --git a/x-pack/plugins/licensing/server/plugin.ts b/x-pack/platform/plugins/shared/licensing/server/plugin.ts similarity index 100% rename from x-pack/plugins/licensing/server/plugin.ts rename to x-pack/platform/plugins/shared/licensing/server/plugin.ts diff --git a/x-pack/plugins/licensing/server/plugin_status.test.ts b/x-pack/platform/plugins/shared/licensing/server/plugin_status.test.ts similarity index 100% rename from x-pack/plugins/licensing/server/plugin_status.test.ts rename to x-pack/platform/plugins/shared/licensing/server/plugin_status.test.ts diff --git a/x-pack/plugins/licensing/server/plugin_status.ts b/x-pack/platform/plugins/shared/licensing/server/plugin_status.ts similarity index 100% rename from x-pack/plugins/licensing/server/plugin_status.ts rename to x-pack/platform/plugins/shared/licensing/server/plugin_status.ts diff --git a/x-pack/plugins/licensing/server/routes/feature_usage.ts b/x-pack/platform/plugins/shared/licensing/server/routes/feature_usage.ts similarity index 100% rename from x-pack/plugins/licensing/server/routes/feature_usage.ts rename to x-pack/platform/plugins/shared/licensing/server/routes/feature_usage.ts diff --git a/x-pack/plugins/licensing/server/routes/index.ts b/x-pack/platform/plugins/shared/licensing/server/routes/index.ts similarity index 100% rename from x-pack/plugins/licensing/server/routes/index.ts rename to x-pack/platform/plugins/shared/licensing/server/routes/index.ts diff --git a/x-pack/plugins/licensing/server/routes/info.ts b/x-pack/platform/plugins/shared/licensing/server/routes/info.ts similarity index 100% rename from x-pack/plugins/licensing/server/routes/info.ts rename to x-pack/platform/plugins/shared/licensing/server/routes/info.ts diff --git a/x-pack/plugins/licensing/server/routes/internal/index.ts b/x-pack/platform/plugins/shared/licensing/server/routes/internal/index.ts similarity index 100% rename from x-pack/plugins/licensing/server/routes/internal/index.ts rename to x-pack/platform/plugins/shared/licensing/server/routes/internal/index.ts diff --git a/x-pack/plugins/licensing/server/routes/internal/notify_feature_usage.ts b/x-pack/platform/plugins/shared/licensing/server/routes/internal/notify_feature_usage.ts similarity index 100% rename from x-pack/plugins/licensing/server/routes/internal/notify_feature_usage.ts rename to x-pack/platform/plugins/shared/licensing/server/routes/internal/notify_feature_usage.ts diff --git a/x-pack/plugins/licensing/server/routes/internal/register_feature.ts b/x-pack/platform/plugins/shared/licensing/server/routes/internal/register_feature.ts similarity index 100% rename from x-pack/plugins/licensing/server/routes/internal/register_feature.ts rename to x-pack/platform/plugins/shared/licensing/server/routes/internal/register_feature.ts diff --git a/x-pack/plugins/licensing/server/services/feature_usage_service.mock.ts b/x-pack/platform/plugins/shared/licensing/server/services/feature_usage_service.mock.ts similarity index 100% rename from x-pack/plugins/licensing/server/services/feature_usage_service.mock.ts rename to x-pack/platform/plugins/shared/licensing/server/services/feature_usage_service.mock.ts diff --git a/x-pack/plugins/licensing/server/services/feature_usage_service.test.ts b/x-pack/platform/plugins/shared/licensing/server/services/feature_usage_service.test.ts similarity index 100% rename from x-pack/plugins/licensing/server/services/feature_usage_service.test.ts rename to x-pack/platform/plugins/shared/licensing/server/services/feature_usage_service.test.ts diff --git a/x-pack/plugins/licensing/server/services/feature_usage_service.ts b/x-pack/platform/plugins/shared/licensing/server/services/feature_usage_service.ts similarity index 100% rename from x-pack/plugins/licensing/server/services/feature_usage_service.ts rename to x-pack/platform/plugins/shared/licensing/server/services/feature_usage_service.ts diff --git a/x-pack/plugins/licensing/server/services/index.ts b/x-pack/platform/plugins/shared/licensing/server/services/index.ts similarity index 100% rename from x-pack/plugins/licensing/server/services/index.ts rename to x-pack/platform/plugins/shared/licensing/server/services/index.ts diff --git a/x-pack/plugins/licensing/server/types.ts b/x-pack/platform/plugins/shared/licensing/server/types.ts similarity index 100% rename from x-pack/plugins/licensing/server/types.ts rename to x-pack/platform/plugins/shared/licensing/server/types.ts diff --git a/x-pack/plugins/licensing/server/wrap_route_with_license_check.test.ts b/x-pack/platform/plugins/shared/licensing/server/wrap_route_with_license_check.test.ts similarity index 100% rename from x-pack/plugins/licensing/server/wrap_route_with_license_check.test.ts rename to x-pack/platform/plugins/shared/licensing/server/wrap_route_with_license_check.test.ts diff --git a/x-pack/plugins/licensing/server/wrap_route_with_license_check.ts b/x-pack/platform/plugins/shared/licensing/server/wrap_route_with_license_check.ts similarity index 100% rename from x-pack/plugins/licensing/server/wrap_route_with_license_check.ts rename to x-pack/platform/plugins/shared/licensing/server/wrap_route_with_license_check.ts diff --git a/x-pack/plugins/licensing/tsconfig.json b/x-pack/platform/plugins/shared/licensing/tsconfig.json similarity index 88% rename from x-pack/plugins/licensing/tsconfig.json rename to x-pack/platform/plugins/shared/licensing/tsconfig.json index 21e8517d466c9..49e611bd8f046 100644 --- a/x-pack/plugins/licensing/tsconfig.json +++ b/x-pack/platform/plugins/shared/licensing/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/plugin.ts b/x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/plugin.ts index b8de2f5688373..13c440a38387c 100644 --- a/x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/plugin.ts +++ b/x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/plugin.ts @@ -73,7 +73,7 @@ export class ObservabilityAIAssistantPlugin app: [OBSERVABILITY_AI_ASSISTANT_FEATURE_ID, 'kibana'], catalogue: [OBSERVABILITY_AI_ASSISTANT_FEATURE_ID], minimumLicense: 'enterprise', - // see x-pack/plugins/features/common/feature_kibana_privileges.ts + // see x-pack/platform/plugins/shared/features/common/feature_kibana_privileges.ts privileges: { all: { app: [OBSERVABILITY_AI_ASSISTANT_FEATURE_ID, 'kibana'], diff --git a/x-pack/plugins/cloud/jest.config.js b/x-pack/plugins/cloud/jest.config.js deleted file mode 100644 index 4235e79e79268..0000000000000 --- a/x-pack/plugins/cloud/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/cloud'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/cloud', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/cloud/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/encrypted_saved_objects/server/create_model_version.ts b/x-pack/plugins/encrypted_saved_objects/server/create_model_version.ts index 952818e2b25d7..c8e2a2eea7619 100644 --- a/x-pack/plugins/encrypted_saved_objects/server/create_model_version.ts +++ b/x-pack/plugins/encrypted_saved_objects/server/create_model_version.ts @@ -93,7 +93,7 @@ function createMergedTransformFn( const decryptionParams = { // Note about isTypeBeingConverted: false // "Converting to multi-namespace clashes with the ZDT requirement for serverless" - // See deprecation in packages/core/saved-objects/core-saved-objects-server/src/migration.ts SavedObjectMigrationContext + // See deprecation in src/core/packages/saved-objects/server/src/migration.ts SavedObjectMigrationContext isTypeBeingConverted: false, originId, }; diff --git a/x-pack/plugins/features/jest.config.js b/x-pack/plugins/features/jest.config.js deleted file mode 100644 index 7d333047c491f..0000000000000 --- a/x-pack/plugins/features/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/features'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/features', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/features/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/licensing/jest.config.js b/x-pack/plugins/licensing/jest.config.js deleted file mode 100644 index 5c5276534ebed..0000000000000 --- a/x-pack/plugins/licensing/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/licensing'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/licensing', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/licensing/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/telemetry_collection_xpack/jest.config.js b/x-pack/plugins/telemetry_collection_xpack/jest.config.js deleted file mode 100644 index 94f0906c2149e..0000000000000 --- a/x-pack/plugins/telemetry_collection_xpack/jest.config.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/telemetry_collection_xpack'], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/telemetry_collection_xpack', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/telemetry_collection_xpack/server/**/*.{ts,tsx}'], -}; diff --git a/x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md b/x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md index 5cb335c86ece3..8b47080fcd2ce 100644 --- a/x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md +++ b/x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md @@ -14,7 +14,7 @@ Telemetry data is uploaded to the "xpack-phone-home" indices. Information that can be derived from a cluster's APM indices is queried and sent to the telemetry cluster using the -[Usage Collection plugin](../../../../../src/plugins/usage_collection/README.mdx). +[Usage Collection plugin](../../../../../src/platform/plugins/shared/usage_collection/README.mdx). During the APM server-side plugin's setup phase a [Saved Object](https://www.elastic.co/guide/en/kibana/master/managing-saved-objects.html) diff --git a/x-pack/solutions/observability/plugins/apm/server/feature.ts b/x-pack/solutions/observability/plugins/apm/server/feature.ts index 39a7618bff95d..93ff6927246d5 100644 --- a/x-pack/solutions/observability/plugins/apm/server/feature.ts +++ b/x-pack/solutions/observability/plugins/apm/server/feature.ts @@ -39,7 +39,7 @@ export const APM_FEATURE: KibanaFeatureConfig = { insightsAndAlerting: ['triggersActions'], }, alerting: alertingFeatures, - // see x-pack/plugins/features/common/feature_kibana_privileges.ts + // see x-pack/platform/plugins/shared/features/common/feature_kibana_privileges.ts privileges: { all: { app: [APM_SERVER_FEATURE_ID, 'ux', 'kibana'], diff --git a/x-pack/solutions/observability/plugins/inventory/server/feature.ts b/x-pack/solutions/observability/plugins/inventory/server/feature.ts index 2b3f2e92a44de..8819341c411c8 100644 --- a/x-pack/solutions/observability/plugins/inventory/server/feature.ts +++ b/x-pack/solutions/observability/plugins/inventory/server/feature.ts @@ -22,7 +22,7 @@ export const INVENTORY_SERVER_FEATURE = { app: [INVENTORY_SERVER_FEATURE_ID], catalogue: [INVENTORY_SERVER_FEATURE_ID], alerting: [], - // see x-pack/plugins/features/common/feature_kibana_privileges.ts + // see x-pack/platform/plugins/shared/features/common/feature_kibana_privileges.ts privileges: { all: { app: [INVENTORY_SERVER_FEATURE_ID], diff --git a/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md b/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md index 3b06f83096dfe..6ae8bc537a9ff 100644 --- a/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md +++ b/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md @@ -11,6 +11,6 @@ if (core.uiSettings.get(myFeatureEnabled)) { } ``` -In order for telemetry to be collected, the keys and types need to be added in [src/plugins/kibana_usage_collection/server/collectors/management/schema.ts](../../../../../src/plugins/kibana_usage_collection/server/collectors/management/schema.ts) and [src/plugins/kibana_usage_collection/server/collectors/management/types.ts](../../../../src/plugins/kibana_usage_collection/server/collectors/management/types.ts). +In order for telemetry to be collected, the keys and types need to be added in [src/platform/plugins/private/kibana_usage_collection/server/collectors/management/schema.ts](../../../../../src/platform/plugins/private/kibana_usage_collection/server/collectors/management/schema.ts) and [src/platform/plugins/private/kibana_usage_collection/server/collectors/management/types.ts](../../../../src/platform/plugins/private/kibana_usage_collection/server/collectors/management/types.ts). Settings can be managed in Kibana under Stack Management > Advanced Settings > Observability. diff --git a/x-pack/solutions/observability/plugins/profiling/server/feature.ts b/x-pack/solutions/observability/plugins/profiling/server/feature.ts index 039c6b3af37a1..1bb93b6d2308a 100644 --- a/x-pack/solutions/observability/plugins/profiling/server/feature.ts +++ b/x-pack/solutions/observability/plugins/profiling/server/feature.ts @@ -20,7 +20,7 @@ export const PROFILING_FEATURE = { category: DEFAULT_APP_CATEGORIES.observability, scope: [KibanaFeatureScope.Spaces, KibanaFeatureScope.Security], app: [PROFILING_SERVER_FEATURE_ID, 'ux', 'kibana'], - // see x-pack/plugins/features/common/feature_kibana_privileges.ts + // see x-pack/platform/plugins/shared/features/common/feature_kibana_privileges.ts privileges: { all: { app: [PROFILING_SERVER_FEATURE_ID, 'ux', 'kibana'], diff --git a/x-pack/solutions/search/plugins/enterprise_search/SERVER.md b/x-pack/solutions/search/plugins/enterprise_search/SERVER.md index 593c18488a163..3bebf20bb685d 100644 --- a/x-pack/solutions/search/plugins/enterprise_search/SERVER.md +++ b/x-pack/solutions/search/plugins/enterprise_search/SERVER.md @@ -36,7 +36,7 @@ Be careful when sharing functions across multiple routes: if you're adding many ### Types and validation -Endpoints validate their inputs using [@kbn/config-schema](/packages/kbn-config-schema/), and we share TypeScript types between the frontend and backend in [common/types](common/types) to facilitate consistent API expectation. A few hints: +Endpoints validate their inputs using [@kbn/config-schema](/src/platform/packages/shared/kbn-config-schema/), and we share TypeScript types between the frontend and backend in [common/types](common/types) to facilitate consistent API expectation. A few hints: - schema.maybe(...) allows the `...` to be optional/`undefined`. - schema.nullable(...) allows the `...` to be `null`, which is distinct from making it optional or allowing `undefined`. diff --git a/x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.ts index d2c08fa0c4462..cf78420af7f10 100644 --- a/x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.ts +++ b/x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.ts @@ -33,7 +33,7 @@ interface ConfigWithoutBodyOptions * is enabled to to use `body: schema.buffer()`. * * @see https://github.com/elastic/kibana/blob/main/docs/development/core/server/kibana-plugin-core-server.routeconfigoptionsbody.md - * @see https://github.com/elastic/kibana/blob/main/packages/kbn-config-schema/README.md#schemabuffer + * @see https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-config-schema/README.md#schemabuffer * * Example: * router.put({ diff --git a/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md b/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md index fc7a72ff17f0f..388d80191bb23 100644 --- a/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md +++ b/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md @@ -393,7 +393,7 @@ No changes will be needed either for the `security-rule` [mapping](https://githu Historically, migrations to Elasticsearch saved objects were carried out by a procedure in which the changes in the SO were described in a migration operation that would be carried out **during an upgrade to a specific Kibana version**. See `x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.ts` for a list of migrations of SO that take place when a user updates Kibana to a specific version. -However, this mechanism is no longer supported by the Alerting Framework team - which maintained it -, and the new migration mechanism introduced to replace that, the [Model Version API](https://github.com/elastic/kibana/blob/main/packages/core/saved-objects/core-saved-objects-server/docs/model_versions.md), which is Serverless-compatible, doesn't support migrating encrypted saved objects. +However, this mechanism is no longer supported by the Alerting Framework team - which maintained it -, and the new migration mechanism introduced to replace that, the [Model Version API](https://github.com/elastic/kibana/blob/main/src/core/packages/saved-objects/server/docs/model_versions.md), which is Serverless-compatible, doesn't support migrating encrypted saved objects. Since our alerting rules are encrypted saved objects, we have to find an alternative strategy to migrate them. Therefore, we will perform the migration of the saved objects directly in the Detection API's endpoints that interact with them. This means that, instead of all of a user's saved object being migrated in a single operation during a Kibana update, the SO will be migrated when the pertinent endpoints are called. In the next section, we describe which those endpoints are. diff --git a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/common/utils.ts b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/common/utils.ts index f3097fe46b9bb..4833f14ba55cb 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/common/utils.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/entity_analytics/common/utils.ts @@ -34,7 +34,7 @@ type SnakeToCamelCaseArray = T extends Array ? Array> : T; -// TODO #173073 @tiansivive Add to utilities in `packages/kbn-utility-types` +// TODO #173073 @tiansivive Add to utilities in `src/platform/packages/shared/kbn-utility-types` export type SnakeToCamelCase = T extends Record ? { [K in keyof T as SnakeToCamelCaseString]: SnakeToCamelCase; diff --git a/x-pack/test/usage_collection/test_suites/application_usage/index.ts b/x-pack/test/usage_collection/test_suites/application_usage/index.ts index 4b820f6ff01c2..16cffc4b706cd 100644 --- a/x-pack/test/usage_collection/test_suites/application_usage/index.ts +++ b/x-pack/test/usage_collection/test_suites/application_usage/index.ts @@ -33,7 +33,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { ); expect(enabledAppIds.sort()).to.eql(appIds.sort()); } catch (err) { - err.message = `Application Usage's schema is not up-to-date with the actual registered apps. Please update it at src/plugins/kibana_usage_collection/server/collectors/application_usage/schema.ts.\n${err.message}`; + err.message = `Application Usage's schema is not up-to-date with the actual registered apps. Please update it at src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/schema.ts.\n${err.message}`; throw err; } }); diff --git a/x-pack/test/usage_collection/test_suites/stack_management_usage/index.ts b/x-pack/test/usage_collection/test_suites/stack_management_usage/index.ts index e1e83cb0a4584..311603801994f 100644 --- a/x-pack/test/usage_collection/test_suites/stack_management_usage/index.ts +++ b/x-pack/test/usage_collection/test_suites/stack_management_usage/index.ts @@ -35,7 +35,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { `Detected the following unregistered UI Settings in the stack management collector: ${JSON.stringify(unreportedUISettings, null)} Update the management collector schema and its UsageStats interface. - Refer to src/plugins/kibana_usage_collection/server/collectors/management/README.md for additional information. + Refer to src/platform/plugins/private/kibana_usage_collection/server/collectors/management/README.md for additional information. ` ); } @@ -55,7 +55,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { `Detected the following sensitive UI Settings in the stack management collector not having a 'keyword' type: ${JSON.stringify(nonBooleanSensitiveProps, null)} Update each setting in the management collector schema with ({ type: 'keyword' }). - Refer to src/plugins/kibana_usage_collection/server/collectors/management/README.md for additional information. + Refer to src/platform/plugins/private/kibana_usage_collection/server/collectors/management/README.md for additional information. ` ); } diff --git a/yarn.lock b/yarn.lock index 3387a8df6156f..6876b7f33bd40 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3953,7 +3953,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 "" @@ -3965,11 +3965,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 "" @@ -4129,7 +4129,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 "" @@ -4141,11 +4141,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 "" @@ -4153,11 +4153,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 "" @@ -4177,7 +4177,7 @@ version "0.0.0" uid "" -"@kbn/cloud@link:packages/cloud": +"@kbn/cloud@link:src/platform/packages/shared/cloud": version "0.0.0" uid "" @@ -4197,15 +4197,15 @@ version "0.0.0" uid "" -"@kbn/config-mocks@link:packages/kbn-config-mocks": +"@kbn/config-mocks@link:src/platform/packages/private/kbn-config-mocks": version "0.0.0" uid "" -"@kbn/config-schema@link:packages/kbn-config-schema": +"@kbn/config-schema@link:src/platform/packages/shared/kbn-config-schema": 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 "" @@ -4341,7 +4341,7 @@ version "0.0.0" uid "" -"@kbn/core-base-common-internal@link:packages/core/base/core-base-common-internal": +"@kbn/core-base-common-internal@link:src/core/packages/base/common-internal": version "0.0.0" uid "" @@ -4349,7 +4349,7 @@ version "0.0.0" uid "" -"@kbn/core-base-server-internal@link:packages/core/base/core-base-server-internal": +"@kbn/core-base-server-internal@link:src/core/packages/base/server-internal": version "0.0.0" uid "" @@ -4357,7 +4357,7 @@ version "0.0.0" uid "" -"@kbn/core-capabilities-browser-internal@link:packages/core/capabilities/core-capabilities-browser-internal": +"@kbn/core-capabilities-browser-internal@link:src/core/packages/capabilities/browser-internal": version "0.0.0" uid "" @@ -4365,11 +4365,11 @@ version "0.0.0" uid "" -"@kbn/core-capabilities-common@link:packages/core/capabilities/core-capabilities-common": +"@kbn/core-capabilities-common@link:src/core/packages/capabilities/common": version "0.0.0" uid "" -"@kbn/core-capabilities-server-internal@link:packages/core/capabilities/core-capabilities-server-internal": +"@kbn/core-capabilities-server-internal@link:src/core/packages/capabilities/server-internal": version "0.0.0" uid "" @@ -4377,7 +4377,7 @@ version "0.0.0" uid "" -"@kbn/core-capabilities-server@link:packages/core/capabilities/core-capabilities-server": +"@kbn/core-capabilities-server@link:src/core/packages/capabilities/server": version "0.0.0" uid "" @@ -4393,7 +4393,7 @@ version "0.0.0" uid "" -"@kbn/core-config-server-internal@link:packages/core/config/core-config-server-internal": +"@kbn/core-config-server-internal@link:src/core/packages/config/server-internal": version "0.0.0" uid "" @@ -4425,7 +4425,7 @@ version "0.0.0" uid "" -"@kbn/core-deprecations-browser-internal@link:packages/core/deprecations/core-deprecations-browser-internal": +"@kbn/core-deprecations-browser-internal@link:src/core/packages/deprecations/browser-internal": version "0.0.0" uid "" @@ -4433,15 +4433,15 @@ version "0.0.0" uid "" -"@kbn/core-deprecations-browser@link:packages/core/deprecations/core-deprecations-browser": +"@kbn/core-deprecations-browser@link:src/core/packages/deprecations/browser": version "0.0.0" uid "" -"@kbn/core-deprecations-common@link:packages/core/deprecations/core-deprecations-common": +"@kbn/core-deprecations-common@link:src/core/packages/deprecations/common": version "0.0.0" uid "" -"@kbn/core-deprecations-server-internal@link:packages/core/deprecations/core-deprecations-server-internal": +"@kbn/core-deprecations-server-internal@link:src/core/packages/deprecations/server-internal": version "0.0.0" uid "" @@ -4449,11 +4449,11 @@ version "0.0.0" uid "" -"@kbn/core-deprecations-server@link:packages/core/deprecations/core-deprecations-server": +"@kbn/core-deprecations-server@link:src/core/packages/deprecations/server": version "0.0.0" uid "" -"@kbn/core-doc-links-browser-internal@link:packages/core/doc-links/core-doc-links-browser-internal": +"@kbn/core-doc-links-browser-internal@link:src/core/packages/doc-links/browser-internal": version "0.0.0" uid "" @@ -4461,11 +4461,11 @@ version "0.0.0" uid "" -"@kbn/core-doc-links-browser@link:packages/core/doc-links/core-doc-links-browser": +"@kbn/core-doc-links-browser@link:src/core/packages/doc-links/browser": version "0.0.0" uid "" -"@kbn/core-doc-links-server-internal@link:packages/core/doc-links/core-doc-links-server-internal": +"@kbn/core-doc-links-server-internal@link:src/core/packages/doc-links/server-internal": version "0.0.0" uid "" @@ -4473,11 +4473,11 @@ version "0.0.0" uid "" -"@kbn/core-doc-links-server@link:packages/core/doc-links/core-doc-links-server": +"@kbn/core-doc-links-server@link:src/core/packages/doc-links/server": version "0.0.0" uid "" -"@kbn/core-elasticsearch-client-server-internal@link:packages/core/elasticsearch/core-elasticsearch-client-server-internal": +"@kbn/core-elasticsearch-client-server-internal@link:src/core/packages/elasticsearch/client-server-internal": version "0.0.0" uid "" @@ -4485,7 +4485,7 @@ version "0.0.0" uid "" -"@kbn/core-elasticsearch-server-internal@link:packages/core/elasticsearch/core-elasticsearch-server-internal": +"@kbn/core-elasticsearch-server-internal@link:src/core/packages/elasticsearch/server-internal": version "0.0.0" uid "" @@ -4493,11 +4493,11 @@ version "0.0.0" uid "" -"@kbn/core-elasticsearch-server@link:packages/core/elasticsearch/core-elasticsearch-server": +"@kbn/core-elasticsearch-server@link:src/core/packages/elasticsearch/server": version "0.0.0" uid "" -"@kbn/core-environment-server-internal@link:packages/core/environment/core-environment-server-internal": +"@kbn/core-environment-server-internal@link:src/core/packages/environment/server-internal": version "0.0.0" uid "" @@ -4505,7 +4505,7 @@ version "0.0.0" uid "" -"@kbn/core-execution-context-browser-internal@link:packages/core/execution-context/core-execution-context-browser-internal": +"@kbn/core-execution-context-browser-internal@link:src/core/packages/execution-context/browser-internal": version "0.0.0" uid "" @@ -4513,15 +4513,15 @@ version "0.0.0" uid "" -"@kbn/core-execution-context-browser@link:packages/core/execution-context/core-execution-context-browser": +"@kbn/core-execution-context-browser@link:src/core/packages/execution-context/browser": version "0.0.0" uid "" -"@kbn/core-execution-context-common@link:packages/core/execution-context/core-execution-context-common": +"@kbn/core-execution-context-common@link:src/core/packages/execution-context/common": version "0.0.0" uid "" -"@kbn/core-execution-context-server-internal@link:packages/core/execution-context/core-execution-context-server-internal": +"@kbn/core-execution-context-server-internal@link:src/core/packages/execution-context/server-internal": version "0.0.0" uid "" @@ -4529,11 +4529,11 @@ version "0.0.0" uid "" -"@kbn/core-execution-context-server@link:packages/core/execution-context/core-execution-context-server": +"@kbn/core-execution-context-server@link:src/core/packages/execution-context/server": version "0.0.0" uid "" -"@kbn/core-fatal-errors-browser-internal@link:packages/core/fatal-errors/core-fatal-errors-browser-internal": +"@kbn/core-fatal-errors-browser-internal@link:src/core/packages/fatal-errors/browser-internal": version "0.0.0" uid "" @@ -4541,31 +4541,31 @@ version "0.0.0" uid "" -"@kbn/core-fatal-errors-browser@link:packages/core/fatal-errors/core-fatal-errors-browser": +"@kbn/core-fatal-errors-browser@link:src/core/packages/fatal-errors/browser": version "0.0.0" uid "" -"@kbn/core-feature-flags-browser-internal@link:packages/core/feature-flags/core-feature-flags-browser-internal": +"@kbn/core-feature-flags-browser-internal@link:src/core/packages/feature-flags/browser-internal": version "0.0.0" uid "" -"@kbn/core-feature-flags-browser-mocks@link:packages/core/feature-flags/core-feature-flags-browser-mocks": +"@kbn/core-feature-flags-browser-mocks@link:src/core/packages/feature-flags/browser-mocks": version "0.0.0" uid "" -"@kbn/core-feature-flags-browser@link:packages/core/feature-flags/core-feature-flags-browser": +"@kbn/core-feature-flags-browser@link:src/core/packages/feature-flags/browser": version "0.0.0" uid "" -"@kbn/core-feature-flags-server-internal@link:packages/core/feature-flags/core-feature-flags-server-internal": +"@kbn/core-feature-flags-server-internal@link:src/core/packages/feature-flags/server-internal": version "0.0.0" uid "" -"@kbn/core-feature-flags-server-mocks@link:packages/core/feature-flags/core-feature-flags-server-mocks": +"@kbn/core-feature-flags-server-mocks@link:src/core/packages/feature-flags/server-mocks": version "0.0.0" uid "" -"@kbn/core-feature-flags-server@link:packages/core/feature-flags/core-feature-flags-server": +"@kbn/core-feature-flags-server@link:src/core/packages/feature-flags/server": version "0.0.0" uid "" @@ -4573,7 +4573,7 @@ version "0.0.0" uid "" -"@kbn/core-http-browser-internal@link:packages/core/http/core-http-browser-internal": +"@kbn/core-http-browser-internal@link:src/core/packages/http/browser-internal": version "0.0.0" uid "" @@ -4581,15 +4581,15 @@ version "0.0.0" uid "" -"@kbn/core-http-browser@link:packages/core/http/core-http-browser": +"@kbn/core-http-browser@link:src/core/packages/http/browser": version "0.0.0" uid "" -"@kbn/core-http-common@link:packages/core/http/core-http-common": +"@kbn/core-http-common@link:src/core/packages/http/common": version "0.0.0" uid "" -"@kbn/core-http-context-server-internal@link:packages/core/http/core-http-context-server-internal": +"@kbn/core-http-context-server-internal@link:src/core/packages/http/context-server-internal": version "0.0.0" uid "" @@ -4601,15 +4601,15 @@ version "0.0.0" uid "" -"@kbn/core-http-request-handler-context-server-internal@link:packages/core/http/core-http-request-handler-context-server-internal": +"@kbn/core-http-request-handler-context-server-internal@link:src/core/packages/http/request-handler-context-server-internal": version "0.0.0" uid "" -"@kbn/core-http-request-handler-context-server@link:packages/core/http/core-http-request-handler-context-server": +"@kbn/core-http-request-handler-context-server@link:src/core/packages/http/request-handler-context-server": version "0.0.0" uid "" -"@kbn/core-http-resources-server-internal@link:packages/core/http/core-http-resources-server-internal": +"@kbn/core-http-resources-server-internal@link:src/core/packages/http/resources-server-internal": version "0.0.0" uid "" @@ -4617,11 +4617,11 @@ version "0.0.0" uid "" -"@kbn/core-http-resources-server@link:packages/core/http/core-http-resources-server": +"@kbn/core-http-resources-server@link:src/core/packages/http/resources-server": version "0.0.0" uid "" -"@kbn/core-http-router-server-internal@link:packages/core/http/core-http-router-server-internal": +"@kbn/core-http-router-server-internal@link:src/core/packages/http/router-server-internal": version "0.0.0" uid "" @@ -4629,7 +4629,7 @@ version "0.0.0" uid "" -"@kbn/core-http-server-internal@link:packages/core/http/core-http-server-internal": +"@kbn/core-http-server-internal@link:src/core/packages/http/server-internal": version "0.0.0" uid "" @@ -4637,15 +4637,15 @@ version "0.0.0" uid "" -"@kbn/core-http-server-utils@link:packages/core/http/core-http-server-utils": +"@kbn/core-http-server-utils@link:src/core/packages/http/server-utils": version "0.0.0" uid "" -"@kbn/core-http-server@link:packages/core/http/core-http-server": +"@kbn/core-http-server@link:src/core/packages/http/server": version "0.0.0" uid "" -"@kbn/core-i18n-browser-internal@link:packages/core/i18n/core-i18n-browser-internal": +"@kbn/core-i18n-browser-internal@link:src/core/packages/i18n/browser-internal": version "0.0.0" uid "" @@ -4653,11 +4653,11 @@ version "0.0.0" uid "" -"@kbn/core-i18n-browser@link:packages/core/i18n/core-i18n-browser": +"@kbn/core-i18n-browser@link:src/core/packages/i18n/browser": version "0.0.0" uid "" -"@kbn/core-i18n-server-internal@link:packages/core/i18n/core-i18n-server-internal": +"@kbn/core-i18n-server-internal@link:src/core/packages/i18n/server-internal": version "0.0.0" uid "" @@ -4665,11 +4665,11 @@ version "0.0.0" uid "" -"@kbn/core-i18n-server@link:packages/core/i18n/core-i18n-server": +"@kbn/core-i18n-server@link:src/core/packages/i18n/server": version "0.0.0" uid "" -"@kbn/core-injected-metadata-browser-internal@link:packages/core/injected-metadata/core-injected-metadata-browser-internal": +"@kbn/core-injected-metadata-browser-internal@link:src/core/packages/injected-metadata/browser-internal": version "0.0.0" uid "" @@ -4677,11 +4677,11 @@ version "0.0.0" uid "" -"@kbn/core-injected-metadata-common-internal@link:packages/core/injected-metadata/core-injected-metadata-common-internal": +"@kbn/core-injected-metadata-common-internal@link:src/core/packages/injected-metadata/common-internal": version "0.0.0" uid "" -"@kbn/core-integrations-browser-internal@link:packages/core/integrations/core-integrations-browser-internal": +"@kbn/core-integrations-browser-internal@link:src/core/packages/integrations/browser-internal": version "0.0.0" uid "" @@ -4689,7 +4689,7 @@ version "0.0.0" uid "" -"@kbn/core-lifecycle-browser-internal@link:packages/core/lifecycle/core-lifecycle-browser-internal": +"@kbn/core-lifecycle-browser-internal@link:src/core/packages/lifecycle/browser-internal": version "0.0.0" uid "" @@ -4697,11 +4697,11 @@ version "0.0.0" uid "" -"@kbn/core-lifecycle-browser@link:packages/core/lifecycle/core-lifecycle-browser": +"@kbn/core-lifecycle-browser@link:src/core/packages/lifecycle/browser": version "0.0.0" uid "" -"@kbn/core-lifecycle-server-internal@link:packages/core/lifecycle/core-lifecycle-server-internal": +"@kbn/core-lifecycle-server-internal@link:src/core/packages/lifecycle/server-internal": version "0.0.0" uid "" @@ -4709,11 +4709,11 @@ version "0.0.0" uid "" -"@kbn/core-lifecycle-server@link:packages/core/lifecycle/core-lifecycle-server": +"@kbn/core-lifecycle-server@link:src/core/packages/lifecycle/server": version "0.0.0" uid "" -"@kbn/core-logging-browser-internal@link:packages/core/logging/core-logging-browser-internal": +"@kbn/core-logging-browser-internal@link:src/core/packages/logging/browser-internal": version "0.0.0" uid "" @@ -4721,11 +4721,11 @@ version "0.0.0" uid "" -"@kbn/core-logging-common-internal@link:packages/core/logging/core-logging-common-internal": +"@kbn/core-logging-common-internal@link:src/core/packages/logging/common-internal": version "0.0.0" uid "" -"@kbn/core-logging-server-internal@link:packages/core/logging/core-logging-server-internal": +"@kbn/core-logging-server-internal@link:src/core/packages/logging/server-internal": version "0.0.0" uid "" @@ -4733,11 +4733,11 @@ version "0.0.0" uid "" -"@kbn/core-logging-server@link:packages/core/logging/core-logging-server": +"@kbn/core-logging-server@link:src/core/packages/logging/server": version "0.0.0" uid "" -"@kbn/core-metrics-collectors-server-internal@link:packages/core/metrics/core-metrics-collectors-server-internal": +"@kbn/core-metrics-collectors-server-internal@link:src/core/packages/metrics/collectors-server-internal": version "0.0.0" uid "" @@ -4745,7 +4745,7 @@ version "0.0.0" uid "" -"@kbn/core-metrics-server-internal@link:packages/core/metrics/core-metrics-server-internal": +"@kbn/core-metrics-server-internal@link:src/core/packages/metrics/server-internal": version "0.0.0" uid "" @@ -4753,19 +4753,19 @@ version "0.0.0" uid "" -"@kbn/core-metrics-server@link:packages/core/metrics/core-metrics-server": +"@kbn/core-metrics-server@link:src/core/packages/metrics/server": version "0.0.0" uid "" -"@kbn/core-mount-utils-browser-internal@link:packages/core/mount-utils/core-mount-utils-browser-internal": +"@kbn/core-mount-utils-browser-internal@link:src/core/packages/mount-utils/browser-internal": version "0.0.0" uid "" -"@kbn/core-mount-utils-browser@link:packages/core/mount-utils/core-mount-utils-browser": +"@kbn/core-mount-utils-browser@link:src/core/packages/mount-utils/browser": version "0.0.0" uid "" -"@kbn/core-node-server-internal@link:packages/core/node/core-node-server-internal": +"@kbn/core-node-server-internal@link:src/core/packages/node/server-internal": version "0.0.0" uid "" @@ -4773,11 +4773,11 @@ version "0.0.0" uid "" -"@kbn/core-node-server@link:packages/core/node/core-node-server": +"@kbn/core-node-server@link:src/core/packages/node/server": version "0.0.0" uid "" -"@kbn/core-notifications-browser-internal@link:packages/core/notifications/core-notifications-browser-internal": +"@kbn/core-notifications-browser-internal@link:src/core/packages/notifications/browser-internal": version "0.0.0" uid "" @@ -4785,11 +4785,11 @@ version "0.0.0" uid "" -"@kbn/core-notifications-browser@link:packages/core/notifications/core-notifications-browser": +"@kbn/core-notifications-browser@link:src/core/packages/notifications/browser": version "0.0.0" uid "" -"@kbn/core-overlays-browser-internal@link:packages/core/overlays/core-overlays-browser-internal": +"@kbn/core-overlays-browser-internal@link:src/core/packages/overlays/browser-internal": version "0.0.0" uid "" @@ -4797,7 +4797,7 @@ version "0.0.0" uid "" -"@kbn/core-overlays-browser@link:packages/core/overlays/core-overlays-browser": +"@kbn/core-overlays-browser@link:src/core/packages/overlays/browser": version "0.0.0" uid "" @@ -4853,11 +4853,11 @@ version "0.0.0" uid "" -"@kbn/core-plugins-base-server-internal@link:packages/core/plugins/core-plugins-base-server-internal": +"@kbn/core-plugins-base-server-internal@link:src/core/packages/plugins/base-server-internal": version "0.0.0" uid "" -"@kbn/core-plugins-browser-internal@link:packages/core/plugins/core-plugins-browser-internal": +"@kbn/core-plugins-browser-internal@link:src/core/packages/plugins/browser-internal": version "0.0.0" uid "" @@ -4865,19 +4865,19 @@ version "0.0.0" uid "" -"@kbn/core-plugins-browser@link:packages/core/plugins/core-plugins-browser": +"@kbn/core-plugins-browser@link:src/core/packages/plugins/browser": version "0.0.0" uid "" -"@kbn/core-plugins-contracts-browser@link:packages/core/plugins/core-plugins-contracts-browser": +"@kbn/core-plugins-contracts-browser@link:src/core/packages/plugins/contracts-browser": version "0.0.0" uid "" -"@kbn/core-plugins-contracts-server@link:packages/core/plugins/core-plugins-contracts-server": +"@kbn/core-plugins-contracts-server@link:src/core/packages/plugins/contracts-server": version "0.0.0" uid "" -"@kbn/core-plugins-server-internal@link:packages/core/plugins/core-plugins-server-internal": +"@kbn/core-plugins-server-internal@link:src/core/packages/plugins/server-internal": version "0.0.0" uid "" @@ -4885,11 +4885,11 @@ version "0.0.0" uid "" -"@kbn/core-plugins-server@link:packages/core/plugins/core-plugins-server": +"@kbn/core-plugins-server@link:src/core/packages/plugins/server": version "0.0.0" uid "" -"@kbn/core-preboot-server-internal@link:packages/core/preboot/core-preboot-server-internal": +"@kbn/core-preboot-server-internal@link:src/core/packages/preboot/server-internal": version "0.0.0" uid "" @@ -4897,7 +4897,7 @@ version "0.0.0" uid "" -"@kbn/core-preboot-server@link:packages/core/preboot/core-preboot-server": +"@kbn/core-preboot-server@link:src/core/packages/preboot/server": version "0.0.0" uid "" @@ -4905,7 +4905,7 @@ version "0.0.0" uid "" -"@kbn/core-rendering-browser-internal@link:packages/core/rendering/core-rendering-browser-internal": +"@kbn/core-rendering-browser-internal@link:src/core/packages/rendering/browser-internal": version "0.0.0" uid "" @@ -4913,11 +4913,11 @@ version "0.0.0" uid "" -"@kbn/core-rendering-browser@link:packages/core/rendering/core-rendering-browser": +"@kbn/core-rendering-browser@link:src/core/packages/rendering/browser": version "0.0.0" uid "" -"@kbn/core-rendering-server-internal@link:packages/core/rendering/core-rendering-server-internal": +"@kbn/core-rendering-server-internal@link:src/core/packages/rendering/server-internal": version "0.0.0" uid "" @@ -4925,19 +4925,19 @@ version "0.0.0" uid "" -"@kbn/core-root-browser-internal@link:packages/core/root/core-root-browser-internal": +"@kbn/core-root-browser-internal@link:src/core/packages/root/browser-internal": version "0.0.0" uid "" -"@kbn/core-root-server-internal@link:packages/core/root/core-root-server-internal": +"@kbn/core-root-server-internal@link:src/core/packages/root/server-internal": version "0.0.0" uid "" -"@kbn/core-saved-objects-api-browser@link:packages/core/saved-objects/core-saved-objects-api-browser": +"@kbn/core-saved-objects-api-browser@link:src/core/packages/saved-objects/api-browser": version "0.0.0" uid "" -"@kbn/core-saved-objects-api-server-internal@link:packages/core/saved-objects/core-saved-objects-api-server-internal": +"@kbn/core-saved-objects-api-server-internal@link:src/core/packages/saved-objects/api-server-internal": version "0.0.0" uid "" @@ -4945,11 +4945,11 @@ version "0.0.0" uid "" -"@kbn/core-saved-objects-api-server@link:packages/core/saved-objects/core-saved-objects-api-server": +"@kbn/core-saved-objects-api-server@link:src/core/packages/saved-objects/api-server": version "0.0.0" uid "" -"@kbn/core-saved-objects-base-server-internal@link:packages/core/saved-objects/core-saved-objects-base-server-internal": +"@kbn/core-saved-objects-base-server-internal@link:src/core/packages/saved-objects/base-server-internal": version "0.0.0" uid "" @@ -4957,7 +4957,7 @@ version "0.0.0" uid "" -"@kbn/core-saved-objects-browser-internal@link:packages/core/saved-objects/core-saved-objects-browser-internal": +"@kbn/core-saved-objects-browser-internal@link:src/core/packages/saved-objects/browser-internal": version "0.0.0" uid "" @@ -4965,15 +4965,15 @@ version "0.0.0" uid "" -"@kbn/core-saved-objects-browser@link:packages/core/saved-objects/core-saved-objects-browser": +"@kbn/core-saved-objects-browser@link:src/core/packages/saved-objects/browser": version "0.0.0" uid "" -"@kbn/core-saved-objects-common@link:packages/core/saved-objects/core-saved-objects-common": +"@kbn/core-saved-objects-common@link:src/core/packages/saved-objects/common": version "0.0.0" uid "" -"@kbn/core-saved-objects-import-export-server-internal@link:packages/core/saved-objects/core-saved-objects-import-export-server-internal": +"@kbn/core-saved-objects-import-export-server-internal@link:src/core/packages/saved-objects/import-export-server-internal": version "0.0.0" uid "" @@ -4981,7 +4981,7 @@ version "0.0.0" uid "" -"@kbn/core-saved-objects-migration-server-internal@link:packages/core/saved-objects/core-saved-objects-migration-server-internal": +"@kbn/core-saved-objects-migration-server-internal@link:src/core/packages/saved-objects/migration-server-internal": version "0.0.0" uid "" @@ -4989,7 +4989,7 @@ version "0.0.0" uid "" -"@kbn/core-saved-objects-server-internal@link:packages/core/saved-objects/core-saved-objects-server-internal": +"@kbn/core-saved-objects-server-internal@link:src/core/packages/saved-objects/server-internal": version "0.0.0" uid "" @@ -4997,47 +4997,47 @@ version "0.0.0" uid "" -"@kbn/core-saved-objects-server@link:packages/core/saved-objects/core-saved-objects-server": +"@kbn/core-saved-objects-server@link:src/core/packages/saved-objects/server": version "0.0.0" uid "" -"@kbn/core-saved-objects-utils-server@link:packages/core/saved-objects/core-saved-objects-utils-server": +"@kbn/core-saved-objects-utils-server@link:src/core/packages/saved-objects/utils-server": version "0.0.0" uid "" -"@kbn/core-security-browser-internal@link:packages/core/security/core-security-browser-internal": +"@kbn/core-security-browser-internal@link:src/core/packages/security/browser-internal": version "0.0.0" uid "" -"@kbn/core-security-browser-mocks@link:packages/core/security/core-security-browser-mocks": +"@kbn/core-security-browser-mocks@link:src/core/packages/security/browser-mocks": version "0.0.0" uid "" -"@kbn/core-security-browser@link:packages/core/security/core-security-browser": +"@kbn/core-security-browser@link:src/core/packages/security/browser": version "0.0.0" uid "" -"@kbn/core-security-common@link:packages/core/security/core-security-common": +"@kbn/core-security-common@link:src/core/packages/security/common": version "0.0.0" uid "" -"@kbn/core-security-server-internal@link:packages/core/security/core-security-server-internal": +"@kbn/core-security-server-internal@link:src/core/packages/security/server-internal": version "0.0.0" uid "" -"@kbn/core-security-server-mocks@link:packages/core/security/core-security-server-mocks": +"@kbn/core-security-server-mocks@link:src/core/packages/security/server-mocks": version "0.0.0" uid "" -"@kbn/core-security-server@link:packages/core/security/core-security-server": +"@kbn/core-security-server@link:src/core/packages/security/server": version "0.0.0" uid "" -"@kbn/core-status-common@link:packages/core/status/core-status-common": +"@kbn/core-status-common@link:src/core/packages/status/common": version "0.0.0" uid "" -"@kbn/core-status-server-internal@link:packages/core/status/core-status-server-internal": +"@kbn/core-status-server-internal@link:src/core/packages/status/server-internal": version "0.0.0" uid "" @@ -5045,15 +5045,15 @@ version "0.0.0" uid "" -"@kbn/core-status-server@link:packages/core/status/core-status-server": +"@kbn/core-status-server@link:src/core/packages/status/server": version "0.0.0" uid "" -"@kbn/core-test-helpers-deprecations-getters@link:packages/core/test-helpers/core-test-helpers-deprecations-getters": +"@kbn/core-test-helpers-deprecations-getters@link:src/core/packages/test-helpers/deprecations-getters": version "0.0.0" uid "" -"@kbn/core-test-helpers-http-setup-browser@link:packages/core/test-helpers/core-test-helpers-http-setup-browser": +"@kbn/core-test-helpers-http-setup-browser@link:src/core/packages/test-helpers/http-setup-browser": version "0.0.0" uid "" @@ -5065,15 +5065,15 @@ version "0.0.0" uid "" -"@kbn/core-test-helpers-so-type-serializer@link:packages/core/test-helpers/core-test-helpers-so-type-serializer": +"@kbn/core-test-helpers-so-type-serializer@link:src/core/packages/test-helpers/so-type-serializer": version "0.0.0" uid "" -"@kbn/core-test-helpers-test-utils@link:packages/core/test-helpers/core-test-helpers-test-utils": +"@kbn/core-test-helpers-test-utils@link:src/core/packages/test-helpers/test-utils": version "0.0.0" uid "" -"@kbn/core-theme-browser-internal@link:packages/core/theme/core-theme-browser-internal": +"@kbn/core-theme-browser-internal@link:src/core/packages/theme/browser-internal": version "0.0.0" uid "" @@ -5081,7 +5081,7 @@ version "0.0.0" uid "" -"@kbn/core-theme-browser@link:packages/core/theme/core-theme-browser": +"@kbn/core-theme-browser@link:src/core/packages/theme/browser": version "0.0.0" uid "" @@ -5113,11 +5113,11 @@ version "0.0.0" uid "" -"@kbn/core-usage-data-base-server-internal@link:packages/core/usage-data/core-usage-data-base-server-internal": +"@kbn/core-usage-data-base-server-internal@link:src/core/packages/usage-data/base-server-internal": version "0.0.0" uid "" -"@kbn/core-usage-data-server-internal@link:packages/core/usage-data/core-usage-data-server-internal": +"@kbn/core-usage-data-server-internal@link:src/core/packages/usage-data/server-internal": version "0.0.0" uid "" @@ -5125,35 +5125,35 @@ version "0.0.0" uid "" -"@kbn/core-usage-data-server@link:packages/core/usage-data/core-usage-data-server": +"@kbn/core-usage-data-server@link:src/core/packages/usage-data/server": version "0.0.0" uid "" -"@kbn/core-user-profile-browser-internal@link:packages/core/user-profile/core-user-profile-browser-internal": +"@kbn/core-user-profile-browser-internal@link:src/core/packages/user-profile/browser-internal": version "0.0.0" uid "" -"@kbn/core-user-profile-browser-mocks@link:packages/core/user-profile/core-user-profile-browser-mocks": +"@kbn/core-user-profile-browser-mocks@link:src/core/packages/user-profile/browser-mocks": version "0.0.0" uid "" -"@kbn/core-user-profile-browser@link:packages/core/user-profile/core-user-profile-browser": +"@kbn/core-user-profile-browser@link:src/core/packages/user-profile/browser": version "0.0.0" uid "" -"@kbn/core-user-profile-common@link:packages/core/user-profile/core-user-profile-common": +"@kbn/core-user-profile-common@link:src/core/packages/user-profile/common": version "0.0.0" uid "" -"@kbn/core-user-profile-server-internal@link:packages/core/user-profile/core-user-profile-server-internal": +"@kbn/core-user-profile-server-internal@link:src/core/packages/user-profile/server-internal": version "0.0.0" uid "" -"@kbn/core-user-profile-server-mocks@link:packages/core/user-profile/core-user-profile-server-mocks": +"@kbn/core-user-profile-server-mocks@link:src/core/packages/user-profile/server-mocks": version "0.0.0" uid "" -"@kbn/core-user-profile-server@link:packages/core/user-profile/core-user-profile-server": +"@kbn/core-user-profile-server@link:src/core/packages/user-profile/server": version "0.0.0" uid "" @@ -5177,7 +5177,7 @@ version "0.0.0" uid "" -"@kbn/crypto-browser@link:packages/kbn-crypto-browser": +"@kbn/crypto-browser@link:src/platform/packages/shared/kbn-crypto-browser": version "0.0.0" uid "" @@ -5397,7 +5397,7 @@ version "0.0.0" uid "" -"@kbn/ebt-tools@link:packages/kbn-ebt-tools": +"@kbn/ebt-tools@link:src/platform/packages/shared/kbn-ebt-tools": version "0.0.0" uid "" @@ -5485,7 +5485,7 @@ version "0.0.0" uid "" -"@kbn/es-errors@link:packages/kbn-es-errors": +"@kbn/es-errors@link:src/platform/packages/shared/kbn-es-errors": version "0.0.0" uid "" @@ -5493,7 +5493,7 @@ version "0.0.0" uid "" -"@kbn/es-types@link:packages/kbn-es-types": +"@kbn/es-types@link:src/platform/packages/shared/kbn-es-types": version "0.0.0" uid "" @@ -5693,7 +5693,7 @@ version "0.0.0" uid "" -"@kbn/features-plugin@link:x-pack/plugins/features": +"@kbn/features-plugin@link:x-pack/platform/plugins/shared/features": version "0.0.0" uid "" @@ -5761,7 +5761,7 @@ version "0.0.0" uid "" -"@kbn/ftr-apis-plugin@link:src/plugins/ftr_apis": +"@kbn/ftr-apis-plugin@link:src/platform/plugins/private/ftr_apis": version "0.0.0" uid "" @@ -5857,7 +5857,7 @@ version "0.0.0" uid "" -"@kbn/hapi-mocks@link:packages/kbn-hapi-mocks": +"@kbn/hapi-mocks@link:src/platform/packages/private/kbn-hapi-mocks": version "0.0.0" uid "" @@ -5865,7 +5865,7 @@ version "0.0.0" uid "" -"@kbn/health-gateway-server@link:packages/kbn-health-gateway-server": +"@kbn/health-gateway-server@link:src/platform/packages/private/kbn-health-gateway-server": version "0.0.0" uid "" @@ -5889,11 +5889,11 @@ version "0.0.0" uid "" -"@kbn/i18n-react@link:packages/kbn-i18n-react": +"@kbn/i18n-react@link:src/platform/packages/shared/kbn-i18n-react": version "0.0.0" uid "" -"@kbn/i18n@link:packages/kbn-i18n": +"@kbn/i18n@link:src/platform/packages/shared/kbn-i18n": version "0.0.0" uid "" @@ -6073,7 +6073,7 @@ version "0.0.0" uid "" -"@kbn/kibana-usage-collection-plugin@link:src/plugins/kibana_usage_collection": +"@kbn/kibana-usage-collection-plugin@link:src/platform/plugins/private/kibana_usage_collection": version "0.0.0" uid "" @@ -6121,7 +6121,7 @@ version "0.0.0" uid "" -"@kbn/licensing-plugin@link:x-pack/plugins/licensing": +"@kbn/licensing-plugin@link:x-pack/platform/plugins/shared/licensing": version "0.0.0" uid "" @@ -6153,11 +6153,11 @@ version "0.0.0" uid "" -"@kbn/logging-mocks@link:packages/kbn-logging-mocks": +"@kbn/logging-mocks@link:src/platform/packages/shared/kbn-logging-mocks": version "0.0.0" uid "" -"@kbn/logging@link:packages/kbn-logging": +"@kbn/logging@link:src/platform/packages/shared/kbn-logging": version "0.0.0" uid "" @@ -6429,7 +6429,7 @@ version "0.0.0" uid "" -"@kbn/newsfeed-plugin@link:src/plugins/newsfeed": +"@kbn/newsfeed-plugin@link:src/platform/plugins/shared/newsfeed": version "0.0.0" uid "" @@ -6833,7 +6833,7 @@ version "0.0.0" uid "" -"@kbn/router-to-openapispec@link:packages/kbn-router-to-openapispec": +"@kbn/router-to-openapispec@link:src/platform/packages/shared/kbn-router-to-openapispec": version "0.0.0" uid "" @@ -6901,7 +6901,7 @@ version "0.0.0" uid "" -"@kbn/saved-objects-management-plugin@link:src/plugins/saved_objects_management": +"@kbn/saved-objects-management-plugin@link:src/platform/plugins/shared/saved_objects_management": version "0.0.0" uid "" @@ -7209,7 +7209,7 @@ version "0.0.0" uid "" -"@kbn/server-http-tools@link:packages/kbn-server-http-tools": +"@kbn/server-http-tools@link:src/platform/packages/shared/kbn-server-http-tools": version "0.0.0" uid "" @@ -7557,7 +7557,7 @@ version "0.0.0" uid "" -"@kbn/std@link:packages/kbn-std": +"@kbn/std@link:src/platform/packages/shared/kbn-std": version "0.0.0" uid "" @@ -7605,19 +7605,19 @@ version "0.0.0" uid "" -"@kbn/telemetry-collection-manager-plugin@link:src/plugins/telemetry_collection_manager": +"@kbn/telemetry-collection-manager-plugin@link:src/platform/plugins/shared/telemetry_collection_manager": version "0.0.0" uid "" -"@kbn/telemetry-collection-xpack-plugin@link:x-pack/plugins/telemetry_collection_xpack": +"@kbn/telemetry-collection-xpack-plugin@link:x-pack/platform/plugins/private/telemetry_collection_xpack": version "0.0.0" uid "" -"@kbn/telemetry-management-section-plugin@link:src/plugins/telemetry_management_section": +"@kbn/telemetry-management-section-plugin@link:src/platform/plugins/shared/telemetry_management_section": version "0.0.0" uid "" -"@kbn/telemetry-plugin@link:src/plugins/telemetry": +"@kbn/telemetry-plugin@link:src/platform/plugins/shared/telemetry": version "0.0.0" uid "" @@ -7821,7 +7821,7 @@ version "0.0.0" uid "" -"@kbn/upgrade-assistant-plugin@link:x-pack/plugins/upgrade_assistant": +"@kbn/upgrade-assistant-plugin@link:x-pack/platform/plugins/private/upgrade_assistant": version "0.0.0" uid "" @@ -7837,7 +7837,7 @@ version "0.0.0" uid "" -"@kbn/usage-collection-plugin@link:src/plugins/usage_collection": +"@kbn/usage-collection-plugin@link:src/platform/plugins/shared/usage_collection": version "0.0.0" uid "" @@ -7865,7 +7865,7 @@ version "0.0.0" uid "" -"@kbn/utility-types@link:packages/kbn-utility-types": +"@kbn/utility-types@link:src/platform/packages/shared/kbn-utility-types": version "0.0.0" uid "" @@ -7973,7 +7973,7 @@ version "0.0.0" uid "" -"@kbn/zod@link:packages/kbn-zod": +"@kbn/zod@link:src/platform/packages/shared/kbn-zod": version "0.0.0" uid ""