From 825f6a8e788d373cf3225f6a7489216466405319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 00:20:58 +0100 Subject: [PATCH 001/183] SRA: Relocate improvement for core packages --- packages/kbn-relocate/utils/relocate.ts | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/packages/kbn-relocate/utils/relocate.ts b/packages/kbn-relocate/utils/relocate.ts index 2f2b6a78379e6..71e4d8e378fc1 100644 --- a/packages/kbn-relocate/utils/relocate.ts +++ b/packages/kbn-relocate/utils/relocate.ts @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { join } from 'path'; +import { join, basename } from 'path'; import type { ToolingLog } from '@kbn/tooling-log'; import { orderBy } from 'lodash'; import type { Package } from '../types'; @@ -154,9 +154,22 @@ const replaceReferencesInternal = async ( continue; } + let d = dst; + + // For .bazel references, we need to keep the original name reference if we are renaming the path + // For example, in the move "src/core/packages/base/common" to "src/core/packages/base/common", + // we need to keep the reference name to core-base-common by replacing it with "src/core/packages/base/common:core-base-common" + if ( + file.endsWith('.bazel') && + relativeDestination.startsWith('src/core/packages/') && // Only on core packages for now, since are the ones being renamed + basename(relativeSource) !== basename(relativeDestination) + ) { + d = `${dst}:${basename(relativeSource)}`; + } + const md5Before = (await quietExec(`md5 ${file} --quiet`)).stdout.trim(); // if we are updating packages/cloud references, we must pay attention to not update packages/cloud_defend too - await safeExec(`sed -i '' -E "/${src}[\-_a-zA-Z0-9]/! s/${src}/${dst}/g" ${file}`, false); + await safeExec(`sed -i '' -E "/${src}[\-_a-zA-Z0-9]/! s/${src}/${d}/g" ${file}`, false); const md5After = (await quietExec(`md5 ${file} --quiet`)).stdout.trim(); if (md5Before !== md5After) { From fe688c4eea6d51d0d6a0cf08de11a3eda2d408ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:03:34 +0100 Subject: [PATCH 002/183] Relocating module `@kbn/analytics` --- .eslintrc.js | 4 ++-- .github/CODEOWNERS | 2 +- package.json | 2 +- packages/kbn-ui-shared-deps-src/BUILD.bazel | 2 +- .../platform/packages/shared}/kbn-analytics/BUILD.bazel | 0 .../platform/packages/shared}/kbn-analytics/README.md | 0 .../platform/packages/shared}/kbn-analytics/index.ts | 0 .../platform/packages/shared}/kbn-analytics/kibana.jsonc | 0 .../platform/packages/shared}/kbn-analytics/package.json | 0 .../shared}/kbn-analytics/src/application_usage_tracker.ts | 0 .../shared}/kbn-analytics/src/metrics/application_usage.ts | 0 .../packages/shared}/kbn-analytics/src/metrics/index.ts | 0 .../packages/shared}/kbn-analytics/src/metrics/ui_counter.ts | 0 .../packages/shared}/kbn-analytics/src/metrics/user_agent.ts | 0 .../platform/packages/shared}/kbn-analytics/src/report.ts | 0 .../platform/packages/shared}/kbn-analytics/src/reporter.ts | 0 .../platform/packages/shared}/kbn-analytics/src/storage.ts | 0 .../platform/packages/shared}/kbn-analytics/src/util.ts | 0 .../platform/packages/shared}/kbn-analytics/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 21 files changed, 9 insertions(+), 9 deletions(-) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 93e3dabf3b861..2c5341abe52cf 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1899,7 +1899,7 @@ module.exports = { */ { files: [ - 'packages/kbn-analytics/**', + 'src/platform/packages/shared/kbn-analytics/**', // 'packages/kbn-telemetry-tools/**', 'src/plugins/kibana_usage_collection/**', 'src/plugins/usage_collection/**', @@ -1923,7 +1923,7 @@ module.exports = { 'packages/kbn-config-schema', 'src/plugins/status_page/**', 'src/plugins/saved_objects_management/**', - 'packages/kbn-analytics/**', + 'src/platform/packages/shared/kbn-analytics/**', 'packages/kbn-telemetry-tools/**', 'src/plugins/kibana_usage_collection/**', 'src/plugins/usage_collection/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a6d5f85891f62..f037b5d2a94e4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -277,7 +277,6 @@ packages/kbn-ambient-common-types @elastic/kibana-operations packages/kbn-ambient-ftr-types @elastic/kibana-operations @elastic/appex-qa packages/kbn-ambient-storybook-types @elastic/kibana-operations packages/kbn-ambient-ui-types @elastic/kibana-operations -packages/kbn-analytics @elastic/kibana-core packages/kbn-apm-config-loader @elastic/kibana-core @vigneshshanmugam packages/kbn-apm-data-view @elastic/obs-ux-infra_services-team packages/kbn-apm-synthtrace @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team @@ -579,6 +578,7 @@ src/platform/packages/shared/deeplinks/management @elastic/kibana-management src/platform/packages/shared/deeplinks/ml @elastic/ml-ui src/platform/packages/shared/deeplinks/observability @elastic/obs-ux-management-team src/platform/packages/shared/deeplinks/security @elastic/security-solution +src/platform/packages/shared/kbn-analytics @elastic/kibana-core src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore src/platform/packages/shared/kbn-doc-links @elastic/docs diff --git a/package.json b/package.json index 0b62d48e35a04..64262747f5b3e 100644 --- a/package.json +++ b/package.json @@ -180,7 +180,7 @@ "@kbn/alerts-grouping": "link:packages/kbn-alerts-grouping", "@kbn/alerts-restricted-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts_restricted", "@kbn/alerts-ui-shared": "link:packages/kbn-alerts-ui-shared", - "@kbn/analytics": "link:packages/kbn-analytics", + "@kbn/analytics": "link:src/platform/packages/shared/kbn-analytics", "@kbn/analytics-collection-utils": "link:packages/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", diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index e8ff7302faa67..4206dd039041d 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -28,7 +28,7 @@ webpack_cli( "//src/platform/packages/shared/kbn-esql-ast", "//packages/kbn-monaco", "//packages/kbn-datemath", - "//packages/kbn-analytics", + "//src/platform/packages/shared/kbn-analytics", "//packages/kbn-crypto-browser", "//packages/kbn-es-query", "//packages/kbn-search-errors", diff --git a/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/tsconfig.base.json b/tsconfig.base.json index 10c2066c09866..b9c5ce973c778 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -68,8 +68,8 @@ "@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": ["src/platform/packages/shared/kbn-analytics"], + "@kbn/analytics/*": ["src/platform/packages/shared/kbn-analytics/*"], "@kbn/analytics-collection-utils": ["packages/analytics/utils/analytics_collection_utils"], "@kbn/analytics-collection-utils/*": ["packages/analytics/utils/analytics_collection_utils/*"], "@kbn/analytics-ftr-helpers-plugin": ["test/analytics/plugins/analytics_ftr_helpers"], diff --git a/yarn.lock b/yarn.lock index 64471fa3dd692..1ea8d7c931c4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3965,7 +3965,7 @@ 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 "" From 7e6b29839eba37c0dfbb883e578dbe569a1de7d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:05:05 +0100 Subject: [PATCH 003/183] Relocating module `@kbn/analytics-collection-utils` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../analytics/utils/analytics_collection_utils/README.md | 0 .../analytics/utils/analytics_collection_utils/index.ts | 0 .../analytics/utils/analytics_collection_utils/jest.config.js | 4 ++-- .../analytics/utils/analytics_collection_utils/kibana.jsonc | 0 .../analytics/utils/analytics_collection_utils/package.json | 0 .../analytics/utils/analytics_collection_utils/src/index.ts | 0 .../src/is_synthetics_monitor.test.ts | 0 .../analytics_collection_utils/src/is_synthetics_monitor.ts | 0 .../analytics/utils/analytics_collection_utils/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/README.md (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/index.ts (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/jest.config.js (79%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/package.json (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/src/index.ts (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts (100%) rename {packages => src/platform/packages/private}/analytics/utils/analytics_collection_utils/tsconfig.json (80%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f037b5d2a94e4..544a294399f51 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -41,7 +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 @@ -565,6 +564,7 @@ packages/shared-ux/storybook/config @elastic/appex-sharedux packages/shared-ux/storybook/mock @elastic/appex-sharedux packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core +src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/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 diff --git a/package.json b/package.json index 64262747f5b3e..1abd60fc9b659 100644 --- a/package.json +++ b/package.json @@ -181,7 +181,7 @@ "@kbn/alerts-restricted-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts_restricted", "@kbn/alerts-ui-shared": "link:packages/kbn-alerts-ui-shared", "@kbn/analytics": "link:src/platform/packages/shared/kbn-analytics", - "@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", "@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", 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/analytics/utils/analytics_collection_utils/jest.config.js b/src/platform/packages/private/analytics/utils/analytics_collection_utils/jest.config.js similarity index 79% rename from packages/analytics/utils/analytics_collection_utils/jest.config.js rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/jest.config.js index eb4383bfe99b1..777a34f7ec5a7 100644 --- a/packages/analytics/utils/analytics_collection_utils/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/analytics/utils/analytics_collection_utils'], + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/private/analytics/utils/analytics_collection_utils'], }; diff --git a/packages/analytics/utils/analytics_collection_utils/kibana.jsonc b/src/platform/packages/private/analytics/utils/analytics_collection_utils/kibana.jsonc similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/kibana.jsonc rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/kibana.jsonc diff --git a/packages/analytics/utils/analytics_collection_utils/package.json b/src/platform/packages/private/analytics/utils/analytics_collection_utils/package.json similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/package.json rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/package.json diff --git a/packages/analytics/utils/analytics_collection_utils/src/index.ts b/src/platform/packages/private/analytics/utils/analytics_collection_utils/src/index.ts similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/src/index.ts rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/src/index.ts diff --git a/packages/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts b/src/platform/packages/private/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.test.ts diff --git a/packages/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts b/src/platform/packages/private/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts similarity index 100% rename from packages/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/src/is_synthetics_monitor.ts diff --git a/packages/analytics/utils/analytics_collection_utils/tsconfig.json b/src/platform/packages/private/analytics/utils/analytics_collection_utils/tsconfig.json similarity index 80% rename from packages/analytics/utils/analytics_collection_utils/tsconfig.json rename to src/platform/packages/private/analytics/utils/analytics_collection_utils/tsconfig.json index b05325b824a67..3d8067cec004b 100644 --- a/packages/analytics/utils/analytics_collection_utils/tsconfig.json +++ b/src/platform/packages/private/analytics/utils/analytics_collection_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index b9c5ce973c778..e393afaba5d6f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -70,8 +70,8 @@ "@kbn/ambient-ui-types/*": ["packages/kbn-ambient-ui-types/*"], "@kbn/analytics": ["src/platform/packages/shared/kbn-analytics"], "@kbn/analytics/*": ["src/platform/packages/shared/kbn-analytics/*"], - "@kbn/analytics-collection-utils": ["packages/analytics/utils/analytics_collection_utils"], - "@kbn/analytics-collection-utils/*": ["packages/analytics/utils/analytics_collection_utils/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index 1ea8d7c931c4e..cbc536f3ca5a1 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 "" From b760239171d467935d275c253fb6e00f66a910c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:06:30 +0100 Subject: [PATCH 004/183] Relocating module `@kbn/apm-config-loader` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/private}/kbn-apm-config-loader/README.md | 0 .../platform/packages/private}/kbn-apm-config-loader/index.ts | 0 .../packages/private}/kbn-apm-config-loader/jest.config.js | 4 ++-- .../packages/private}/kbn-apm-config-loader/kibana.jsonc | 0 .../packages/private}/kbn-apm-config-loader/package.json | 0 .../kbn-apm-config-loader/src/__fixtures__/config.yml | 0 .../kbn-apm-config-loader/src/__fixtures__/config_flat.yml | 0 .../src/__fixtures__/en_var_ref_config.yml | 0 .../private}/kbn-apm-config-loader/src/__fixtures__/one.yml | 0 .../private}/kbn-apm-config-loader/src/__fixtures__/two.yml | 0 .../packages/private}/kbn-apm-config-loader/src/apm_config.ts | 0 .../private}/kbn-apm-config-loader/src/config.test.mocks.ts | 0 .../private}/kbn-apm-config-loader/src/config.test.ts | 0 .../packages/private}/kbn-apm-config-loader/src/config.ts | 0 .../kbn-apm-config-loader/src/config_loader.test.mocks.ts | 0 .../private}/kbn-apm-config-loader/src/config_loader.test.ts | 0 .../private}/kbn-apm-config-loader/src/config_loader.ts | 0 .../private}/kbn-apm-config-loader/src/init_apm.test.mocks.ts | 0 .../private}/kbn-apm-config-loader/src/init_apm.test.ts | 0 .../packages/private}/kbn-apm-config-loader/src/init_apm.ts | 0 .../kbn-apm-config-loader/src/rum_agent_configuration.test.ts | 0 .../kbn-apm-config-loader/src/rum_agent_configuration.ts | 0 .../src/utils/__snapshots__/read_config.test.ts.snap | 0 .../src/utils/apply_config_overrides.test.ts | 0 .../kbn-apm-config-loader/src/utils/apply_config_overrides.ts | 0 .../src/utils/get_config_file_paths.test.ts | 0 .../kbn-apm-config-loader/src/utils/get_config_file_paths.ts | 0 .../private}/kbn-apm-config-loader/src/utils/index.ts | 0 .../kbn-apm-config-loader/src/utils/read_argv.test.ts | 0 .../private}/kbn-apm-config-loader/src/utils/read_argv.ts | 0 .../kbn-apm-config-loader/src/utils/read_config.test.ts | 0 .../private}/kbn-apm-config-loader/src/utils/read_config.ts | 0 .../packages/private}/kbn-apm-config-loader/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 37 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/README.md (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/jest.config.js (83%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/package.json (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/config.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/config_flat.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/en_var_ref_config.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/one.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/__fixtures__/two.yml (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/apm_config.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config.test.mocks.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config_loader.test.mocks.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config_loader.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/config_loader.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/init_apm.test.mocks.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/init_apm.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/init_apm.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/rum_agent_configuration.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/rum_agent_configuration.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/__snapshots__/read_config.test.ts.snap (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/apply_config_overrides.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/apply_config_overrides.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/get_config_file_paths.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/get_config_file_paths.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/read_argv.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/read_argv.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/read_config.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/src/utils/read_config.ts (100%) rename {packages => src/platform/packages/private}/kbn-apm-config-loader/tsconfig.json (85%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 544a294399f51..fc66e22046d82 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -276,7 +276,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-apm-config-loader @elastic/kibana-core @vigneshshanmugam packages/kbn-apm-data-view @elastic/obs-ux-infra_services-team packages/kbn-apm-synthtrace @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team packages/kbn-apm-synthtrace-client @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team @@ -568,6 +567,7 @@ src/platform/packages/private/analytics/utils/analytics_collection_utils @elasti 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-esql-editor @elastic/kibana-esql src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql src/platform/packages/private/kbn-management/settings/application @elastic/kibana-management diff --git a/package.json b/package.json index 1abd60fc9b659..c0b08ae0f00d7 100644 --- a/package.json +++ b/package.json @@ -184,7 +184,7 @@ "@kbn/analytics-collection-utils": "link:src/platform/packages/private/analytics/utils/analytics_collection_utils", "@kbn/analytics-ftr-helpers-plugin": "link:test/analytics/plugins/analytics_ftr_helpers", "@kbn/analytics-plugin-a-plugin": "link:test/analytics/plugins/analytics_plugin_a", - "@kbn/apm-config-loader": "link:packages/kbn-apm-config-loader", + "@kbn/apm-config-loader": "link:src/platform/packages/private/kbn-apm-config-loader", "@kbn/apm-data-access-plugin": "link:x-pack/plugins/observability_solution/apm_data_access", "@kbn/apm-data-view": "link:packages/kbn-apm-data-view", "@kbn/apm-plugin": "link:x-pack/plugins/observability_solution/apm", diff --git a/packages/kbn-apm-config-loader/README.md b/src/platform/packages/private/kbn-apm-config-loader/README.md similarity index 100% rename from packages/kbn-apm-config-loader/README.md rename to src/platform/packages/private/kbn-apm-config-loader/README.md diff --git a/packages/kbn-apm-config-loader/index.ts b/src/platform/packages/private/kbn-apm-config-loader/index.ts similarity index 100% rename from packages/kbn-apm-config-loader/index.ts rename to src/platform/packages/private/kbn-apm-config-loader/index.ts diff --git a/packages/kbn-apm-config-loader/jest.config.js b/src/platform/packages/private/kbn-apm-config-loader/jest.config.js similarity index 83% rename from packages/kbn-apm-config-loader/jest.config.js rename to src/platform/packages/private/kbn-apm-config-loader/jest.config.js index 5b4bf2b997ad6..f8ff9a4c535bb 100644 --- a/packages/kbn-apm-config-loader/jest.config.js +++ b/src/platform/packages/private/kbn-apm-config-loader/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-apm-config-loader'], + 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/tsconfig.base.json b/tsconfig.base.json index e393afaba5d6f..6e884bfe1fdbe 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -76,8 +76,8 @@ "@kbn/analytics-ftr-helpers-plugin/*": ["test/analytics/plugins/analytics_ftr_helpers/*"], "@kbn/analytics-plugin-a-plugin": ["test/analytics/plugins/analytics_plugin_a"], "@kbn/analytics-plugin-a-plugin/*": ["test/analytics/plugins/analytics_plugin_a/*"], - "@kbn/apm-config-loader": ["packages/kbn-apm-config-loader"], - "@kbn/apm-config-loader/*": ["packages/kbn-apm-config-loader/*"], + "@kbn/apm-config-loader": ["src/platform/packages/private/kbn-apm-config-loader"], + "@kbn/apm-config-loader/*": ["src/platform/packages/private/kbn-apm-config-loader/*"], "@kbn/apm-data-access-plugin": ["x-pack/plugins/observability_solution/apm_data_access"], "@kbn/apm-data-access-plugin/*": ["x-pack/plugins/observability_solution/apm_data_access/*"], "@kbn/apm-data-view": ["packages/kbn-apm-data-view"], diff --git a/yarn.lock b/yarn.lock index cbc536f3ca5a1..6e2799bb6f39b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3969,7 +3969,7 @@ 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 "" From f7992f97eb604a8ba129ca75dacc339547f156bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:08:08 +0100 Subject: [PATCH 005/183] Relocating module `@kbn/cloud` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../platform/packages/shared}/cloud/.storybook/main.js | 0 {packages => src/platform/packages/shared}/cloud/README.md | 0 .../components/copy_input/copy_input.stories.tsx | 0 .../connection_details/components/copy_input/copy_input.tsx | 0 .../cloud/connection_details/components/copy_input/index.ts | 0 .../components/fancy_select/fancy_select.stories.tsx | 0 .../components/fancy_select/fancy_select.tsx | 0 .../cloud/connection_details/components/fancy_select/index.ts | 0 .../cloud/connection_details/components/fancy_select/types.ts | 0 .../connection_details/components/spa_no_router_link/index.ts | 0 .../components/spa_no_router_link/spa_no_router_link.tsx | 0 .../cloud/connection_details/connection_details.stories.tsx | 0 .../shared}/cloud/connection_details/connection_details.tsx | 0 .../connection_details_flyout_content.stories.tsx | 0 .../connection_details/connection_details_flyout_content.tsx | 0 .../shared}/cloud/connection_details/context/index.ts | 0 .../shared}/cloud/connection_details/context/options.tsx | 0 .../shared}/cloud/connection_details/context/service.tsx | 0 .../shared}/cloud/connection_details/hooks/use_async_memo.ts | 0 .../cloud/connection_details/hooks/use_behavior_subject.ts | 0 .../packages/shared}/cloud/connection_details/index.ts | 0 .../shared}/cloud/connection_details/kibana/global.ts | 0 .../packages/shared}/cloud/connection_details/kibana/index.ts | 0 .../kibana/kibana_connection_details_provider.tsx | 0 .../kibana/kibana_wired_connection_details_provider.tsx | 0 .../connection_details/kibana/open_connection_details.tsx | 0 .../kibana/open_wired_connection_details.tsx | 0 .../packages/shared}/cloud/connection_details/service.ts | 0 .../packages/shared}/cloud/connection_details/stories.tsx | 0 .../packages/shared}/cloud/connection_details/tabs.tsx | 0 .../tabs/api_keys_tab/api_keys_tab.stories.tsx | 0 .../connection_details/tabs/api_keys_tab/api_keys_tab.tsx | 0 .../tabs/api_keys_tab/components/manage_keys_link.tsx | 0 .../cloud/connection_details/tabs/api_keys_tab/index.ts | 0 .../views/configuration_form/configuration_form.tsx | 0 .../configuration_form/configuration_form_controlled.tsx | 0 .../tabs/api_keys_tab/views/configuration_form/index.tsx | 0 .../tabs/api_keys_tab/views/missing_permissions_panel.tsx | 0 .../tabs/api_keys_tab/views/success_form/format_select.tsx | 0 .../tabs/api_keys_tab/views/success_form/index.tsx | 0 .../tabs/api_keys_tab/views/success_form/success_form.tsx | 0 .../views/success_form/success_form_controlled.stories.tsx | 0 .../views/success_form/success_form_controlled.tsx | 0 .../tabs/api_keys_tab/views/success_form/types.tsx | 0 .../tabs/endpoints_tab/endpoint_tab.stories.tsx | 0 .../connection_details/tabs/endpoints_tab/endpoints_tab.tsx | 0 .../cloud/connection_details/tabs/endpoints_tab/index.ts | 0 .../tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx | 0 .../tabs/endpoints_tab/rows/cloud_id_row/index.ts | 0 .../tabs/endpoints_tab/rows/cloud_id_row/label.tsx | 0 .../tabs/endpoints_tab/rows/endpoints_url_row.tsx | 0 .../packages/shared}/cloud/connection_details/types.ts | 0 .../shared}/cloud/deployment_details/deployment_details.tsx | 0 .../deployment_details/deployment_details_cloudid_input.tsx | 0 .../cloud/deployment_details/deployment_details_es_input.tsx | 0 .../cloud/deployment_details/deployment_details_modal.tsx | 0 .../packages/shared}/cloud/deployment_details/index.ts | 0 .../packages/shared}/cloud/deployment_details/services.tsx | 0 .../platform/packages/shared}/cloud/jest.config.js | 4 ++-- {packages => src/platform/packages/shared}/cloud/kibana.jsonc | 0 {packages => src/platform/packages/shared}/cloud/package.json | 0 .../platform/packages/shared}/cloud/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 68 files changed, 10 insertions(+), 10 deletions(-) rename {packages => src/platform/packages/shared}/cloud/.storybook/main.js (100%) rename {packages => src/platform/packages/shared}/cloud/README.md (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/copy_input/copy_input.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/copy_input/copy_input.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/copy_input/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/fancy_select/fancy_select.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/fancy_select/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/fancy_select/types.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/spa_no_router_link/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/connection_details.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/connection_details.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/connection_details_flyout_content.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/connection_details_flyout_content.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/context/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/context/options.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/context/service.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/hooks/use_async_memo.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/hooks/use_behavior_subject.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/global.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/kibana_connection_details_provider.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/open_connection_details.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/kibana/open_wired_connection_details.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/service.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/connection_details/types.ts (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/deployment_details.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/deployment_details_cloudid_input.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/deployment_details_es_input.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/deployment_details_modal.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/index.ts (100%) rename {packages => src/platform/packages/shared}/cloud/deployment_details/services.tsx (100%) rename {packages => src/platform/packages/shared}/cloud/jest.config.js (85%) rename {packages => src/platform/packages/shared}/cloud/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/cloud/package.json (100%) rename {packages => src/platform/packages/shared}/cloud/tsconfig.json (89%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fc66e22046d82..ff7aa2a5bfa4b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -41,7 +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/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 @@ -573,6 +572,7 @@ 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 src/platform/packages/private/kbn-management/settings/components/form @elastic/kibana-management +src/platform/packages/shared/cloud @elastic/kibana-core src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management src/platform/packages/shared/deeplinks/management @elastic/kibana-management src/platform/packages/shared/deeplinks/ml @elastic/ml-ui diff --git a/.i18nrc.json b/.i18nrc.json index 0e167c2b08b54..503c840eae09a 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -19,7 +19,7 @@ "customIntegrations": "src/plugins/custom_integrations", "customIntegrationsPackage": "packages/kbn-custom-integrations", "dashboard": "src/plugins/dashboard", - "cloud": "packages/cloud", + "cloud": "src/platform/packages/shared/cloud", "domDragDrop": "packages/kbn-dom-drag-drop", "controls": "src/plugins/controls", "data": "src/plugins/data", diff --git a/package.json b/package.json index c0b08ae0f00d7..9f29e002c4b83 100644 --- a/package.json +++ b/package.json @@ -209,7 +209,7 @@ "@kbn/chart-expressions-common": "link:src/plugins/chart_expressions/common", "@kbn/chart-icons": "link:packages/kbn-chart-icons", "@kbn/charts-plugin": "link:src/plugins/charts", - "@kbn/cloud": "link:packages/cloud", + "@kbn/cloud": "link:src/platform/packages/shared/cloud", "@kbn/cloud-chat-plugin": "link:x-pack/plugins/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", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 2bf3888ce6cb2..b17fa1c9327e0 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/cloud/.storybook/main.js b/src/platform/packages/shared/cloud/.storybook/main.js similarity index 100% rename from packages/cloud/.storybook/main.js rename to src/platform/packages/shared/cloud/.storybook/main.js diff --git a/packages/cloud/README.md b/src/platform/packages/shared/cloud/README.md similarity index 100% rename from packages/cloud/README.md rename to src/platform/packages/shared/cloud/README.md diff --git a/packages/cloud/connection_details/components/copy_input/copy_input.stories.tsx b/src/platform/packages/shared/cloud/connection_details/components/copy_input/copy_input.stories.tsx similarity index 100% rename from packages/cloud/connection_details/components/copy_input/copy_input.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/components/copy_input/copy_input.stories.tsx diff --git a/packages/cloud/connection_details/components/copy_input/copy_input.tsx b/src/platform/packages/shared/cloud/connection_details/components/copy_input/copy_input.tsx similarity index 100% rename from packages/cloud/connection_details/components/copy_input/copy_input.tsx rename to src/platform/packages/shared/cloud/connection_details/components/copy_input/copy_input.tsx diff --git a/packages/cloud/connection_details/components/copy_input/index.ts b/src/platform/packages/shared/cloud/connection_details/components/copy_input/index.ts similarity index 100% rename from packages/cloud/connection_details/components/copy_input/index.ts rename to src/platform/packages/shared/cloud/connection_details/components/copy_input/index.ts diff --git a/packages/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx b/src/platform/packages/shared/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx similarity index 100% rename from packages/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/components/fancy_select/fancy_select.stories.tsx diff --git a/packages/cloud/connection_details/components/fancy_select/fancy_select.tsx b/src/platform/packages/shared/cloud/connection_details/components/fancy_select/fancy_select.tsx similarity index 100% rename from packages/cloud/connection_details/components/fancy_select/fancy_select.tsx rename to src/platform/packages/shared/cloud/connection_details/components/fancy_select/fancy_select.tsx diff --git a/packages/cloud/connection_details/components/fancy_select/index.ts b/src/platform/packages/shared/cloud/connection_details/components/fancy_select/index.ts similarity index 100% rename from packages/cloud/connection_details/components/fancy_select/index.ts rename to src/platform/packages/shared/cloud/connection_details/components/fancy_select/index.ts diff --git a/packages/cloud/connection_details/components/fancy_select/types.ts b/src/platform/packages/shared/cloud/connection_details/components/fancy_select/types.ts similarity index 100% rename from packages/cloud/connection_details/components/fancy_select/types.ts rename to src/platform/packages/shared/cloud/connection_details/components/fancy_select/types.ts diff --git a/packages/cloud/connection_details/components/spa_no_router_link/index.ts b/src/platform/packages/shared/cloud/connection_details/components/spa_no_router_link/index.ts similarity index 100% rename from packages/cloud/connection_details/components/spa_no_router_link/index.ts rename to src/platform/packages/shared/cloud/connection_details/components/spa_no_router_link/index.ts diff --git a/packages/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx b/src/platform/packages/shared/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx similarity index 100% rename from packages/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx rename to src/platform/packages/shared/cloud/connection_details/components/spa_no_router_link/spa_no_router_link.tsx diff --git a/packages/cloud/connection_details/connection_details.stories.tsx b/src/platform/packages/shared/cloud/connection_details/connection_details.stories.tsx similarity index 100% rename from packages/cloud/connection_details/connection_details.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/connection_details.stories.tsx diff --git a/packages/cloud/connection_details/connection_details.tsx b/src/platform/packages/shared/cloud/connection_details/connection_details.tsx similarity index 100% rename from packages/cloud/connection_details/connection_details.tsx rename to src/platform/packages/shared/cloud/connection_details/connection_details.tsx diff --git a/packages/cloud/connection_details/connection_details_flyout_content.stories.tsx b/src/platform/packages/shared/cloud/connection_details/connection_details_flyout_content.stories.tsx similarity index 100% rename from packages/cloud/connection_details/connection_details_flyout_content.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/connection_details_flyout_content.stories.tsx diff --git a/packages/cloud/connection_details/connection_details_flyout_content.tsx b/src/platform/packages/shared/cloud/connection_details/connection_details_flyout_content.tsx similarity index 100% rename from packages/cloud/connection_details/connection_details_flyout_content.tsx rename to src/platform/packages/shared/cloud/connection_details/connection_details_flyout_content.tsx diff --git a/packages/cloud/connection_details/context/index.ts b/src/platform/packages/shared/cloud/connection_details/context/index.ts similarity index 100% rename from packages/cloud/connection_details/context/index.ts rename to src/platform/packages/shared/cloud/connection_details/context/index.ts diff --git a/packages/cloud/connection_details/context/options.tsx b/src/platform/packages/shared/cloud/connection_details/context/options.tsx similarity index 100% rename from packages/cloud/connection_details/context/options.tsx rename to src/platform/packages/shared/cloud/connection_details/context/options.tsx diff --git a/packages/cloud/connection_details/context/service.tsx b/src/platform/packages/shared/cloud/connection_details/context/service.tsx similarity index 100% rename from packages/cloud/connection_details/context/service.tsx rename to src/platform/packages/shared/cloud/connection_details/context/service.tsx diff --git a/packages/cloud/connection_details/hooks/use_async_memo.ts b/src/platform/packages/shared/cloud/connection_details/hooks/use_async_memo.ts similarity index 100% rename from packages/cloud/connection_details/hooks/use_async_memo.ts rename to src/platform/packages/shared/cloud/connection_details/hooks/use_async_memo.ts diff --git a/packages/cloud/connection_details/hooks/use_behavior_subject.ts b/src/platform/packages/shared/cloud/connection_details/hooks/use_behavior_subject.ts similarity index 100% rename from packages/cloud/connection_details/hooks/use_behavior_subject.ts rename to src/platform/packages/shared/cloud/connection_details/hooks/use_behavior_subject.ts diff --git a/packages/cloud/connection_details/index.ts b/src/platform/packages/shared/cloud/connection_details/index.ts similarity index 100% rename from packages/cloud/connection_details/index.ts rename to src/platform/packages/shared/cloud/connection_details/index.ts diff --git a/packages/cloud/connection_details/kibana/global.ts b/src/platform/packages/shared/cloud/connection_details/kibana/global.ts similarity index 100% rename from packages/cloud/connection_details/kibana/global.ts rename to src/platform/packages/shared/cloud/connection_details/kibana/global.ts diff --git a/packages/cloud/connection_details/kibana/index.ts b/src/platform/packages/shared/cloud/connection_details/kibana/index.ts similarity index 100% rename from packages/cloud/connection_details/kibana/index.ts rename to src/platform/packages/shared/cloud/connection_details/kibana/index.ts diff --git a/packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx b/src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx similarity index 100% rename from packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx rename to src/platform/packages/shared/cloud/connection_details/kibana/kibana_connection_details_provider.tsx diff --git a/packages/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx b/src/platform/packages/shared/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx similarity index 100% rename from packages/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx rename to src/platform/packages/shared/cloud/connection_details/kibana/kibana_wired_connection_details_provider.tsx diff --git a/packages/cloud/connection_details/kibana/open_connection_details.tsx b/src/platform/packages/shared/cloud/connection_details/kibana/open_connection_details.tsx similarity index 100% rename from packages/cloud/connection_details/kibana/open_connection_details.tsx rename to src/platform/packages/shared/cloud/connection_details/kibana/open_connection_details.tsx diff --git a/packages/cloud/connection_details/kibana/open_wired_connection_details.tsx b/src/platform/packages/shared/cloud/connection_details/kibana/open_wired_connection_details.tsx similarity index 100% rename from packages/cloud/connection_details/kibana/open_wired_connection_details.tsx rename to src/platform/packages/shared/cloud/connection_details/kibana/open_wired_connection_details.tsx diff --git a/packages/cloud/connection_details/service.ts b/src/platform/packages/shared/cloud/connection_details/service.ts similarity index 100% rename from packages/cloud/connection_details/service.ts rename to src/platform/packages/shared/cloud/connection_details/service.ts diff --git a/packages/cloud/connection_details/stories.tsx b/src/platform/packages/shared/cloud/connection_details/stories.tsx similarity index 100% rename from packages/cloud/connection_details/stories.tsx rename to src/platform/packages/shared/cloud/connection_details/stories.tsx diff --git a/packages/cloud/connection_details/tabs.tsx b/src/platform/packages/shared/cloud/connection_details/tabs.tsx similarity index 100% rename from packages/cloud/connection_details/tabs.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.stories.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/api_keys_tab.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/components/manage_keys_link.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/index.ts b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/index.ts similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/index.ts rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/index.ts diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/configuration_form_controlled.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/configuration_form/index.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/missing_permissions_panel.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/format_select.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/index.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.stories.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/success_form_controlled.tsx diff --git a/packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/api_keys_tab/views/success_form/types.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/endpoint_tab.stories.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/endpoints_tab.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/index.ts b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/index.ts similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/index.ts rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/index.ts diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/cloud_id_row.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/index.ts diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/cloud_id_row/label.tsx diff --git a/packages/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx b/src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx similarity index 100% rename from packages/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx rename to src/platform/packages/shared/cloud/connection_details/tabs/endpoints_tab/rows/endpoints_url_row.tsx diff --git a/packages/cloud/connection_details/types.ts b/src/platform/packages/shared/cloud/connection_details/types.ts similarity index 100% rename from packages/cloud/connection_details/types.ts rename to src/platform/packages/shared/cloud/connection_details/types.ts diff --git a/packages/cloud/deployment_details/deployment_details.tsx b/src/platform/packages/shared/cloud/deployment_details/deployment_details.tsx similarity index 100% rename from packages/cloud/deployment_details/deployment_details.tsx rename to src/platform/packages/shared/cloud/deployment_details/deployment_details.tsx diff --git a/packages/cloud/deployment_details/deployment_details_cloudid_input.tsx b/src/platform/packages/shared/cloud/deployment_details/deployment_details_cloudid_input.tsx similarity index 100% rename from packages/cloud/deployment_details/deployment_details_cloudid_input.tsx rename to src/platform/packages/shared/cloud/deployment_details/deployment_details_cloudid_input.tsx diff --git a/packages/cloud/deployment_details/deployment_details_es_input.tsx b/src/platform/packages/shared/cloud/deployment_details/deployment_details_es_input.tsx similarity index 100% rename from packages/cloud/deployment_details/deployment_details_es_input.tsx rename to src/platform/packages/shared/cloud/deployment_details/deployment_details_es_input.tsx diff --git a/packages/cloud/deployment_details/deployment_details_modal.tsx b/src/platform/packages/shared/cloud/deployment_details/deployment_details_modal.tsx similarity index 100% rename from packages/cloud/deployment_details/deployment_details_modal.tsx rename to src/platform/packages/shared/cloud/deployment_details/deployment_details_modal.tsx diff --git a/packages/cloud/deployment_details/index.ts b/src/platform/packages/shared/cloud/deployment_details/index.ts similarity index 100% rename from packages/cloud/deployment_details/index.ts rename to src/platform/packages/shared/cloud/deployment_details/index.ts diff --git a/packages/cloud/deployment_details/services.tsx b/src/platform/packages/shared/cloud/deployment_details/services.tsx similarity index 100% rename from packages/cloud/deployment_details/services.tsx rename to src/platform/packages/shared/cloud/deployment_details/services.tsx diff --git a/packages/cloud/jest.config.js b/src/platform/packages/shared/cloud/jest.config.js similarity index 85% rename from packages/cloud/jest.config.js rename to src/platform/packages/shared/cloud/jest.config.js index f1d60eda4027a..8b33a82725496 100644 --- a/packages/cloud/jest.config.js +++ b/src/platform/packages/shared/cloud/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/cloud'], + 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/tsconfig.base.json b/tsconfig.base.json index 6e884bfe1fdbe..c7ccb8249ebbb 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -158,8 +158,8 @@ "@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": ["src/platform/packages/shared/cloud"], + "@kbn/cloud/*": ["src/platform/packages/shared/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-data-migration-plugin": ["x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration"], diff --git a/yarn.lock b/yarn.lock index 6e2799bb6f39b..554e282a11461 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4181,7 +4181,7 @@ version "0.0.0" uid "" -"@kbn/cloud@link:packages/cloud": +"@kbn/cloud@link:src/platform/packages/shared/cloud": version "0.0.0" uid "" From 634e75a8dfe74e8bb32aa1a31d7c608c9d0475cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:09:09 +0100 Subject: [PATCH 006/183] Relocating module `@kbn/cloud-chat-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- .../plugins/private}/cloud_integrations/cloud_chat/README.md | 0 .../private}/cloud_integrations/cloud_chat/kibana.jsonc | 0 .../private}/cloud_integrations/cloud_chat/server/config.ts | 0 .../private}/cloud_integrations/cloud_chat/server/index.ts | 0 .../private}/cloud_integrations/cloud_chat/tsconfig.json | 4 ++-- yarn.lock | 2 +- 10 files changed, 8 insertions(+), 8 deletions(-) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ff7aa2a5bfa4b..f0fd0c64f41b4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -838,6 +838,7 @@ x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team +x-pack/platform/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/cross_cluster_replication @elastic/kibana-management x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution @@ -872,7 +873,6 @@ x-pack/plugins/banners @elastic/appex-sharedux x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops x-pack/plugins/cloud @elastic/kibana-core -x-pack/plugins/cloud_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 diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 80511095a000f..aa6ba4808020a 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -491,7 +491,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index 9f29e002c4b83..407ea91c3416b 100644 --- a/package.json +++ b/package.json @@ -210,7 +210,7 @@ "@kbn/chart-icons": "link:packages/kbn-chart-icons", "@kbn/charts-plugin": "link:src/plugins/charts", "@kbn/cloud": "link:src/platform/packages/shared/cloud", - "@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", "@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", diff --git a/tsconfig.base.json b/tsconfig.base.json index c7ccb8249ebbb..f86b5a448d589 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -160,8 +160,8 @@ "@kbn/cli-dev-mode/*": ["packages/kbn-cli-dev-mode/*"], "@kbn/cloud": ["src/platform/packages/shared/cloud"], "@kbn/cloud/*": ["src/platform/packages/shared/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-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"], 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/yarn.lock b/yarn.lock index 554e282a11461..518a93ba6e251 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4133,7 +4133,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 "" From 4558b9cc828ea407a74ccab61e03e121f9e5bde8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:10:30 +0100 Subject: [PATCH 007/183] Relocating module `@kbn/cloud-experiments-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- .../cloud_integrations/cloud_experiments/README.mdx | 0 .../cloud_experiments/common/metadata_service/index.ts | 0 .../common/metadata_service/initialize_metadata.ts | 0 .../common/metadata_service/metadata_service.test.ts | 0 .../common/metadata_service/metadata_service.ts | 0 .../common/metadata_service/remove_undefined.ts | 0 .../cloud_integrations/cloud_experiments/jest.config.js | 8 ++++---- .../cloud_integrations/cloud_experiments/kibana.jsonc | 0 .../cloud_integrations/cloud_experiments/public/index.ts | 0 .../cloud_experiments/public/plugin.test.ts | 0 .../cloud_integrations/cloud_experiments/public/plugin.ts | 0 .../cloud_experiments/server/config.test.ts | 0 .../cloud_integrations/cloud_experiments/server/config.ts | 0 .../cloud_integrations/cloud_experiments/server/index.ts | 0 .../cloud_experiments/server/plugin.test.ts | 0 .../cloud_integrations/cloud_experiments/server/plugin.ts | 0 .../cloud_experiments/server/usage/index.ts | 0 .../server/usage/register_usage_collector.test.ts | 0 .../server/usage/register_usage_collector.ts | 0 .../cloud_integrations/cloud_experiments/tsconfig.json | 4 ++-- yarn.lock | 2 +- 25 files changed, 12 insertions(+), 12 deletions(-) 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%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/jest.config.js (51%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud_integrations/cloud_experiments/tsconfig.json (86%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f0fd0c64f41b4..0bad9e76b0b32 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -857,6 +857,7 @@ x-pack/platform/plugins/private/watcher @elastic/kibana-management x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments @elastic/kibana-core x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management @@ -873,7 +874,6 @@ x-pack/plugins/banners @elastic/appex-sharedux x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops x-pack/plugins/cloud @elastic/kibana-core -x-pack/plugins/cloud_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/custom_branding @elastic/appex-sharedux diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index aa6ba4808020a..831f37271c228 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -504,7 +504,7 @@ 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. diff --git a/package.json b/package.json index 407ea91c3416b..d20e03c7d24b8 100644 --- a/package.json +++ b/package.json @@ -213,7 +213,7 @@ "@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-experiments-plugin": "link:x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments", "@kbn/cloud-full-story-plugin": "link:x-pack/plugins/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", diff --git a/tsconfig.base.json b/tsconfig.base.json index f86b5a448d589..a209cbcd8bb78 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -166,8 +166,8 @@ "@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-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/plugins/cloud_integrations/cloud_full_story"], "@kbn/cloud-full-story-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_full_story/*"], "@kbn/cloud-integration-saml-provider-plugin": ["x-pack/test/cloud_integration/plugins/saml_provider"], 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/plugins/cloud_integrations/cloud_experiments/jest.config.js b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js similarity index 51% rename from x-pack/plugins/cloud_integrations/cloud_experiments/jest.config.js rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js index a15dd88e1cb41..1fc309cf45a17 100644 --- a/x-pack/plugins/cloud_integrations/cloud_experiments/jest.config.js +++ b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/x-pack/plugins/cloud_integrations/cloud_experiments'], + rootDir: '../../../../../../', + roots: ['/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_experiments', + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_integrations/cloud_experiments/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/kibana.jsonc b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/kibana.jsonc rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/kibana.jsonc diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/public/index.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/public/index.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/public/plugin.test.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/public/plugin.test.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/public/plugin.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/public/plugin.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/public/plugin.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/config.test.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/config.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/config.test.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/config.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/config.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/config.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/config.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/config.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/index.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/index.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/plugin.test.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/plugin.test.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/plugin.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/plugin.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/plugin.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/index.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/index.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/server/usage/register_usage_collector.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/tsconfig.json similarity index 86% rename from x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json rename to x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/tsconfig.json index d47131016228d..c777250f11d5a 100644 --- a/x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json +++ b/x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/yarn.lock b/yarn.lock index 518a93ba6e251..a312230d0ed5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4145,7 +4145,7 @@ 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 "" From 6510247db2d3c5d1f7fd76c7176f4252ee26a1b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:11:33 +0100 Subject: [PATCH 008/183] Relocating module `@kbn/cloud-full-story-plugin` --- .eslintignore | 2 +- .github/CODEOWNERS | 4 ++-- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- .../cloud_integrations/cloud_full_story/.i18nrc.json | 0 .../cloud_integrations/cloud_full_story/README.md | 0 .../cloud_integrations/cloud_full_story/jest.config.js | 8 ++++---- .../cloud_integrations/cloud_full_story/kibana.jsonc | 0 .../cloud_integrations/cloud_full_story/public/index.ts | 0 .../cloud_full_story/public/plugin.test.ts | 0 .../cloud_integrations/cloud_full_story/public/plugin.ts | 0 .../cloud_full_story/server/assets/fullstory_library.js | 0 .../cloud_full_story/server/config.test.ts | 0 .../cloud_integrations/cloud_full_story/server/config.ts | 0 .../cloud_integrations/cloud_full_story/server/index.ts | 0 .../cloud_full_story/server/plugin.test.mock.ts | 0 .../cloud_full_story/server/plugin.test.ts | 0 .../cloud_integrations/cloud_full_story/server/plugin.ts | 0 .../cloud_full_story/server/routes/fullstory.test.ts | 0 .../cloud_full_story/server/routes/fullstory.ts | 0 .../cloud_full_story/server/routes/index.ts | 0 .../cloud_integrations/cloud_full_story/tsconfig.json | 4 ++-- yarn.lock | 2 +- 24 files changed, 14 insertions(+), 14 deletions(-) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/.i18nrc.json (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/jest.config.js (51%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/routes/fullstory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_full_story/tsconfig.json (77%) diff --git a/.eslintignore b/.eslintignore index e2b06124e936a..0777f493f8b9c 100644 --- a/.eslintignore +++ b/.eslintignore @@ -27,7 +27,7 @@ snapshots.js /x-pack/plugins/canvas/storybook/build /x-pack/plugins/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/** /x-pack/plugins/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/** -/x-pack/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/.github/CODEOWNERS b/.github/CODEOWNERS index 0bad9e76b0b32..6c8b070a1a5eb 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -840,6 +840,7 @@ x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team x-pack/platform/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/cross_cluster_replication @elastic/kibana-management x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui @@ -874,7 +875,6 @@ x-pack/plugins/banners @elastic/appex-sharedux x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops x-pack/plugins/cloud @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core x-pack/plugins/custom_branding @elastic/appex-sharedux x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation @@ -1845,7 +1845,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /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 +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 diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 831f37271c228..877cf46464d74 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -509,7 +509,7 @@ It was removed, but the plugin was left behind to register no longer used config 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. diff --git a/package.json b/package.json index d20e03c7d24b8..098f10eb39994 100644 --- a/package.json +++ b/package.json @@ -214,7 +214,7 @@ "@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/platform/plugins/shared/cloud_integrations/cloud_experiments", - "@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", "@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", diff --git a/tsconfig.base.json b/tsconfig.base.json index a209cbcd8bb78..ada2e303b5c17 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -168,8 +168,8 @@ "@kbn/cloud-defend-plugin/*": ["x-pack/solutions/security/plugins/cloud_defend/*"], "@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/plugins/cloud_integrations/cloud_full_story"], - "@kbn/cloud-full-story-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_full_story/*"], + "@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"], diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/.i18nrc.json b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/.i18nrc.json similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/.i18nrc.json rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/.i18nrc.json diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/README.md b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/README.md similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/README.md rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/README.md diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/jest.config.js b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js similarity index 51% rename from x-pack/plugins/cloud_integrations/cloud_full_story/jest.config.js rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js index 2aad10a598754..313623a54f22f 100644 --- a/x-pack/plugins/cloud_integrations/cloud_full_story/jest.config.js +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/x-pack/plugins/cloud_integrations/cloud_full_story'], + rootDir: '../../../../../../', + roots: ['/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_full_story', + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_integrations/cloud_full_story/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/kibana.jsonc b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/kibana.jsonc rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/kibana.jsonc diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/public/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/public/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/public/plugin.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/public/plugin.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/public/plugin.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/public/plugin.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/public/plugin.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/assets/fullstory_library.js diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/config.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/config.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/config.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/config.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/config.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/config.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.test.mock.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/plugin.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/plugin.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/fullstory.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/fullstory.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/fullstory.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/fullstory.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/fullstory.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_full_story/server/routes/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/routes/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/tsconfig.json similarity index 77% rename from x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json rename to x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/tsconfig.json index faaf88812ac42..eff06907a591f 100644 --- a/x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/yarn.lock b/yarn.lock index a312230d0ed5f..98510b3877b83 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4149,7 +4149,7 @@ 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 "" From cf7a316176b8b662af97c8da8befe9239599df7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:12:45 +0100 Subject: [PATCH 009/183] Relocating module `@kbn/cloud-links-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../private}/cloud_integrations/cloud_links/README.md | 0 .../cloud_integrations/cloud_links/jest.config.js | 8 ++++---- .../private}/cloud_integrations/cloud_links/kibana.jsonc | 0 .../cloud_integrations/cloud_links/public/index.ts | 0 .../__snapshots__/maybe_add_cloud_links.test.ts.snap | 0 .../maybe_add_cloud_links/connection_details_modal.tsx | 0 .../public/maybe_add_cloud_links/help_menu_links.tsx | 0 .../cloud_links/public/maybe_add_cloud_links/index.ts | 0 .../maybe_add_cloud_links/maybe_add_cloud_links.test.ts | 0 .../public/maybe_add_cloud_links/maybe_add_cloud_links.ts | 0 .../public/maybe_add_cloud_links/theme_darkmode_hook.ts | 0 .../maybe_add_cloud_links/theme_darkmode_toggle.test.tsx | 0 .../maybe_add_cloud_links/theme_darkmode_toggle.tsx | 0 .../public/maybe_add_cloud_links/user_menu_links.tsx | 0 .../cloud_links/public/plugin.test.mocks.ts | 0 .../cloud_integrations/cloud_links/public/plugin.test.ts | 0 .../cloud_integrations/cloud_links/public/plugin.tsx | 0 .../private}/cloud_integrations/cloud_links/tsconfig.json | 4 ++-- yarn.lock | 2 +- 24 files changed, 13 insertions(+), 13 deletions(-) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/jest.config.js (52%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/cloud_integrations/cloud_links/tsconfig.json (87%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6c8b070a1a5eb..35623cf109993 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -841,6 +841,7 @@ x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-u 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/data_usage @elastic/obs-ai-assistant @elastic/security-solution x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui @@ -875,7 +876,6 @@ x-pack/plugins/banners @elastic/appex-sharedux x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops x-pack/plugins/cloud @elastic/kibana-core -x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core x-pack/plugins/custom_branding @elastic/appex-sharedux x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation x-pack/plugins/data_quality @elastic/obs-ux-logs-team diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 877cf46464d74..159605ca266a7 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -513,7 +513,7 @@ This plugin no-longer exposes any evaluation APIs. Refer to /x-pack/plugins/cloud_integrations/cloud_links'], + rootDir: '../../../../../../', + roots: ['/x-pack/platform/plugins/private/cloud_integrations/cloud_links'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_links', + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/cloud_integrations/cloud_links', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_integrations/cloud_links/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/private/cloud_integrations/cloud_links/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/cloud_integrations/cloud_links/kibana.jsonc b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/kibana.jsonc rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/kibana.jsonc diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/__snapshots__/maybe_add_cloud_links.test.ts.snap diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/connection_details_modal.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/help_menu_links.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/index.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.mocks.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.mocks.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.test.mocks.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.ts rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.test.ts diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.tsx similarity index 100% rename from x-pack/plugins/cloud_integrations/cloud_links/public/plugin.tsx rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/public/plugin.tsx diff --git a/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/tsconfig.json similarity index 87% rename from x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json rename to x-pack/platform/plugins/private/cloud_integrations/cloud_links/tsconfig.json index b7759fb7f1c5e..d385b16f7d70d 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json +++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_links/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/yarn.lock b/yarn.lock index 98510b3877b83..6845903a16b8b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4157,7 +4157,7 @@ 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 "" From fe6af478a666ce9f2d8509e97a5a1402f3614a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:14:03 +0100 Subject: [PATCH 010/183] Relocating module `@kbn/cloud-plugin` --- .buildkite/scripts/pipelines/pull_request/pipeline.ts | 2 +- .eslintrc.js | 2 +- .github/CODEOWNERS | 4 ++-- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../{plugins => platform/plugins/shared}/cloud/README.md | 0 .../plugins/shared}/cloud/common/constants.ts | 0 .../plugins/shared}/cloud/common/decode_cloud_id.test.ts | 0 .../plugins/shared}/cloud/common/decode_cloud_id.ts | 0 .../plugins/shared}/cloud/common/is_cloud_enabled.test.ts | 0 .../plugins/shared}/cloud/common/is_cloud_enabled.ts | 0 .../parse_deployment_id_from_deployment_url.test.ts | 0 .../common/parse_deployment_id_from_deployment_url.ts | 0 .../common/parse_onboarding_default_solution.test.ts | 0 .../cloud/common/parse_onboarding_default_solution.ts | 0 ...register_cloud_deployment_id_analytics_context.test.ts | 0 .../register_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 .../plugins/shared}/cloud/public/plugin.test.mocks.ts | 0 .../plugins/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 .../cloud/server/__snapshots__/plugin.test.ts.snap | 0 .../cloud/server/collectors/cloud_usage_collector.test.ts | 0 .../cloud/server/collectors/cloud_usage_collector.ts | 0 .../plugins/shared}/cloud/server/collectors/index.ts | 0 .../plugins/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 .../plugins/shared}/cloud/server/plugin.test.mocks.ts | 0 .../plugins/shared}/cloud/server/plugin.test.ts | 0 .../plugins/shared}/cloud/server/plugin.ts | 0 .../plugins/shared}/cloud/server/routes/constants.ts | 0 .../shared}/cloud/server/routes/elasticsearch_route.ts | 0 .../shared}/cloud/server/routes/get_cloud_data_route.ts | 0 .../plugins/shared}/cloud/server/routes/index.ts | 0 .../cloud/server/routes/set_cloud_data_route.test.ts | 0 .../shared}/cloud/server/routes/set_cloud_data_route.ts | 0 .../plugins/shared}/cloud/server/routes/types.ts | 0 .../plugins/shared}/cloud/server/saved_objects/index.ts | 0 .../model_versions/cloud_data_model_versions.ts | 0 .../cloud/server/saved_objects/model_versions/index.ts | 0 .../plugins/shared}/cloud/tsconfig.json | 4 ++-- yarn.lock | 2 +- 54 files changed, 16 insertions(+), 16 deletions(-) rename x-pack/{plugins => platform/plugins/shared}/cloud/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/decode_cloud_id.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/decode_cloud_id.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/is_cloud_enabled.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/is_cloud_enabled.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/parse_deployment_id_from_deployment_url.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/parse_deployment_id_from_deployment_url.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/parse_onboarding_default_solution.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/parse_onboarding_default_solution.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/register_cloud_deployment_id_analytics_context.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/register_cloud_deployment_id_analytics_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/common/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/jest.config.js (62%) rename x-pack/{plugins => platform/plugins/shared}/cloud/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/mocks.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/public/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/__snapshots__/plugin.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/collectors/cloud_usage_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/collectors/cloud_usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/collectors/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/env.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/plugin.test.mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/plugin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/elasticsearch_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/get_cloud_data_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/set_cloud_data_route.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/set_cloud_data_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/routes/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/server/saved_objects/model_versions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/cloud/tsconfig.json (83%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 4e6b5d30cbc64..c09bf3c212bb8 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -373,7 +373,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/.eslintrc.js b/.eslintrc.js index 2c5341abe52cf..8bfebca6f9c3e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1919,7 +1919,7 @@ module.exports = { 'x-pack/plugins/features/**', 'x-pack/plugins/licensing/**', 'x-pack/plugins/global_search/**', - 'x-pack/plugins/cloud/**', + 'x-pack/platform/plugins/shared/cloud/**', 'packages/kbn-config-schema', 'src/plugins/status_page/**', 'src/plugins/saved_objects_management/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 35623cf109993..16609e9209f1d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -859,6 +859,7 @@ x-pack/platform/plugins/private/watcher @elastic/kibana-management x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/cloud @elastic/kibana-core x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments @elastic/kibana-core x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra @@ -875,7 +876,6 @@ x-pack/plugins/alerting @elastic/response-ops x-pack/plugins/banners @elastic/appex-sharedux x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops -x-pack/plugins/cloud @elastic/kibana-core x-pack/plugins/custom_branding @elastic/appex-sharedux x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation x-pack/plugins/data_quality @elastic/obs-ux-logs-team @@ -1825,7 +1825,7 @@ 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/platform/plugins/shared/cloud/ @elastic/kibana-core #CC# /x-pack/plugins/features/ @elastic/kibana-core #CC# /x-pack/plugins/global_search/ @elastic/kibana-core #CC# /src/plugins/newsfeed @elastic/kibana-core diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 159605ca266a7..6c680055ef293 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -487,7 +487,7 @@ 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. diff --git a/package.json b/package.json index 54bce6034a94c..c17bc9ea260cf 100644 --- a/package.json +++ b/package.json @@ -217,7 +217,7 @@ "@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/platform/plugins/private/cloud_integrations/cloud_links", - "@kbn/cloud-plugin": "link:x-pack/plugins/cloud", + "@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", diff --git a/tsconfig.base.json b/tsconfig.base.json index efacf65ef4157..5e40e98312eab 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -174,8 +174,8 @@ "@kbn/cloud-integration-saml-provider-plugin/*": ["x-pack/test/cloud_integration/plugins/saml_provider/*"], "@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/plugins/cloud"], - "@kbn/cloud-plugin/*": ["x-pack/plugins/cloud/*"], + "@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"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 6716338c12e1c..3c193cd457891 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -19,7 +19,7 @@ "xpack.banners": "plugins/banners", "xpack.canvas": "plugins/canvas", "xpack.cases": "plugins/cases", - "xpack.cloud": "plugins/cloud", + "xpack.cloud": "platform/plugins/shared/cloud", "xpack.cloudDefend": "solutions/security/plugins/cloud_defend", "xpack.cloudLinks": "platform/plugins/private/cloud_integrations/cloud_links", "xpack.cloudDataMigration": "platform/plugins/private/cloud_integrations/cloud_data_migration", diff --git a/x-pack/plugins/cloud/README.md b/x-pack/platform/plugins/shared/cloud/README.md similarity index 100% rename from x-pack/plugins/cloud/README.md rename to x-pack/platform/plugins/shared/cloud/README.md diff --git a/x-pack/plugins/cloud/common/constants.ts b/x-pack/platform/plugins/shared/cloud/common/constants.ts similarity index 100% rename from x-pack/plugins/cloud/common/constants.ts rename to x-pack/platform/plugins/shared/cloud/common/constants.ts diff --git a/x-pack/plugins/cloud/common/decode_cloud_id.test.ts b/x-pack/platform/plugins/shared/cloud/common/decode_cloud_id.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/decode_cloud_id.test.ts rename to x-pack/platform/plugins/shared/cloud/common/decode_cloud_id.test.ts diff --git a/x-pack/plugins/cloud/common/decode_cloud_id.ts b/x-pack/platform/plugins/shared/cloud/common/decode_cloud_id.ts similarity index 100% rename from x-pack/plugins/cloud/common/decode_cloud_id.ts rename to x-pack/platform/plugins/shared/cloud/common/decode_cloud_id.ts diff --git a/x-pack/plugins/cloud/common/is_cloud_enabled.test.ts b/x-pack/platform/plugins/shared/cloud/common/is_cloud_enabled.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/is_cloud_enabled.test.ts rename to x-pack/platform/plugins/shared/cloud/common/is_cloud_enabled.test.ts diff --git a/x-pack/plugins/cloud/common/is_cloud_enabled.ts b/x-pack/platform/plugins/shared/cloud/common/is_cloud_enabled.ts similarity index 100% rename from x-pack/plugins/cloud/common/is_cloud_enabled.ts rename to x-pack/platform/plugins/shared/cloud/common/is_cloud_enabled.ts diff --git a/x-pack/plugins/cloud/common/parse_deployment_id_from_deployment_url.test.ts b/x-pack/platform/plugins/shared/cloud/common/parse_deployment_id_from_deployment_url.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/parse_deployment_id_from_deployment_url.test.ts rename to x-pack/platform/plugins/shared/cloud/common/parse_deployment_id_from_deployment_url.test.ts diff --git a/x-pack/plugins/cloud/common/parse_deployment_id_from_deployment_url.ts b/x-pack/platform/plugins/shared/cloud/common/parse_deployment_id_from_deployment_url.ts similarity index 100% rename from x-pack/plugins/cloud/common/parse_deployment_id_from_deployment_url.ts rename to x-pack/platform/plugins/shared/cloud/common/parse_deployment_id_from_deployment_url.ts diff --git a/x-pack/plugins/cloud/common/parse_onboarding_default_solution.test.ts b/x-pack/platform/plugins/shared/cloud/common/parse_onboarding_default_solution.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/parse_onboarding_default_solution.test.ts rename to x-pack/platform/plugins/shared/cloud/common/parse_onboarding_default_solution.test.ts diff --git a/x-pack/plugins/cloud/common/parse_onboarding_default_solution.ts b/x-pack/platform/plugins/shared/cloud/common/parse_onboarding_default_solution.ts similarity index 100% rename from x-pack/plugins/cloud/common/parse_onboarding_default_solution.ts rename to x-pack/platform/plugins/shared/cloud/common/parse_onboarding_default_solution.ts diff --git a/x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.test.ts b/x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.test.ts similarity index 100% rename from x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.test.ts rename to x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.test.ts diff --git a/x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts b/x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.ts similarity index 100% rename from x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts rename to x-pack/platform/plugins/shared/cloud/common/register_cloud_deployment_id_analytics_context.ts diff --git a/x-pack/plugins/cloud/common/types.ts b/x-pack/platform/plugins/shared/cloud/common/types.ts similarity index 100% rename from x-pack/plugins/cloud/common/types.ts rename to x-pack/platform/plugins/shared/cloud/common/types.ts diff --git a/x-pack/plugins/cloud/common/utils.ts b/x-pack/platform/plugins/shared/cloud/common/utils.ts similarity index 100% rename from x-pack/plugins/cloud/common/utils.ts rename to x-pack/platform/plugins/shared/cloud/common/utils.ts diff --git a/x-pack/plugins/cloud/jest.config.js b/x-pack/platform/plugins/shared/cloud/jest.config.js similarity index 62% rename from x-pack/plugins/cloud/jest.config.js rename to x-pack/platform/plugins/shared/cloud/jest.config.js index 4235e79e79268..fd20d915bd553 100644 --- a/x-pack/plugins/cloud/jest.config.js +++ b/x-pack/platform/plugins/shared/cloud/jest.config.js @@ -7,9 +7,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/cloud'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/cloud', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/cloud'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cloud', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/cloud/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/x-pack/platform/plugins/shared/cloud/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/cloud/kibana.jsonc b/x-pack/platform/plugins/shared/cloud/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud/kibana.jsonc rename to x-pack/platform/plugins/shared/cloud/kibana.jsonc diff --git a/x-pack/plugins/cloud/public/index.ts b/x-pack/platform/plugins/shared/cloud/public/index.ts similarity index 100% rename from x-pack/plugins/cloud/public/index.ts rename to x-pack/platform/plugins/shared/cloud/public/index.ts diff --git a/x-pack/plugins/cloud/public/mocks.tsx b/x-pack/platform/plugins/shared/cloud/public/mocks.tsx similarity index 100% rename from x-pack/plugins/cloud/public/mocks.tsx rename to x-pack/platform/plugins/shared/cloud/public/mocks.tsx diff --git a/x-pack/plugins/cloud/public/plugin.test.mocks.ts b/x-pack/platform/plugins/shared/cloud/public/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/cloud/public/plugin.test.mocks.ts rename to x-pack/platform/plugins/shared/cloud/public/plugin.test.mocks.ts diff --git a/x-pack/plugins/cloud/public/plugin.test.ts b/x-pack/platform/plugins/shared/cloud/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud/public/plugin.test.ts rename to x-pack/platform/plugins/shared/cloud/public/plugin.test.ts diff --git a/x-pack/plugins/cloud/public/plugin.tsx b/x-pack/platform/plugins/shared/cloud/public/plugin.tsx similarity index 100% rename from x-pack/plugins/cloud/public/plugin.tsx rename to x-pack/platform/plugins/shared/cloud/public/plugin.tsx diff --git a/x-pack/plugins/cloud/public/types.ts b/x-pack/platform/plugins/shared/cloud/public/types.ts similarity index 100% rename from x-pack/plugins/cloud/public/types.ts rename to x-pack/platform/plugins/shared/cloud/public/types.ts diff --git a/x-pack/plugins/cloud/public/utils.ts b/x-pack/platform/plugins/shared/cloud/public/utils.ts similarity index 100% rename from x-pack/plugins/cloud/public/utils.ts rename to x-pack/platform/plugins/shared/cloud/public/utils.ts diff --git a/x-pack/plugins/cloud/server/__snapshots__/plugin.test.ts.snap b/x-pack/platform/plugins/shared/cloud/server/__snapshots__/plugin.test.ts.snap similarity index 100% rename from x-pack/plugins/cloud/server/__snapshots__/plugin.test.ts.snap rename to x-pack/platform/plugins/shared/cloud/server/__snapshots__/plugin.test.ts.snap diff --git a/x-pack/plugins/cloud/server/collectors/cloud_usage_collector.test.ts b/x-pack/platform/plugins/shared/cloud/server/collectors/cloud_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/cloud/server/collectors/cloud_usage_collector.test.ts rename to x-pack/platform/plugins/shared/cloud/server/collectors/cloud_usage_collector.test.ts diff --git a/x-pack/plugins/cloud/server/collectors/cloud_usage_collector.ts b/x-pack/platform/plugins/shared/cloud/server/collectors/cloud_usage_collector.ts similarity index 100% rename from x-pack/plugins/cloud/server/collectors/cloud_usage_collector.ts rename to x-pack/platform/plugins/shared/cloud/server/collectors/cloud_usage_collector.ts diff --git a/x-pack/plugins/cloud/server/collectors/index.ts b/x-pack/platform/plugins/shared/cloud/server/collectors/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/collectors/index.ts rename to x-pack/platform/plugins/shared/cloud/server/collectors/index.ts diff --git a/x-pack/plugins/cloud/server/config.test.ts b/x-pack/platform/plugins/shared/cloud/server/config.test.ts similarity index 100% rename from x-pack/plugins/cloud/server/config.test.ts rename to x-pack/platform/plugins/shared/cloud/server/config.test.ts diff --git a/x-pack/plugins/cloud/server/config.ts b/x-pack/platform/plugins/shared/cloud/server/config.ts similarity index 100% rename from x-pack/plugins/cloud/server/config.ts rename to x-pack/platform/plugins/shared/cloud/server/config.ts diff --git a/x-pack/plugins/cloud/server/env.ts b/x-pack/platform/plugins/shared/cloud/server/env.ts similarity index 100% rename from x-pack/plugins/cloud/server/env.ts rename to x-pack/platform/plugins/shared/cloud/server/env.ts diff --git a/x-pack/plugins/cloud/server/index.ts b/x-pack/platform/plugins/shared/cloud/server/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/index.ts rename to x-pack/platform/plugins/shared/cloud/server/index.ts diff --git a/x-pack/plugins/cloud/server/mocks.ts b/x-pack/platform/plugins/shared/cloud/server/mocks.ts similarity index 100% rename from x-pack/plugins/cloud/server/mocks.ts rename to x-pack/platform/plugins/shared/cloud/server/mocks.ts diff --git a/x-pack/plugins/cloud/server/plugin.test.mocks.ts b/x-pack/platform/plugins/shared/cloud/server/plugin.test.mocks.ts similarity index 100% rename from x-pack/plugins/cloud/server/plugin.test.mocks.ts rename to x-pack/platform/plugins/shared/cloud/server/plugin.test.mocks.ts diff --git a/x-pack/plugins/cloud/server/plugin.test.ts b/x-pack/platform/plugins/shared/cloud/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud/server/plugin.test.ts rename to x-pack/platform/plugins/shared/cloud/server/plugin.test.ts diff --git a/x-pack/plugins/cloud/server/plugin.ts b/x-pack/platform/plugins/shared/cloud/server/plugin.ts similarity index 100% rename from x-pack/plugins/cloud/server/plugin.ts rename to x-pack/platform/plugins/shared/cloud/server/plugin.ts diff --git a/x-pack/plugins/cloud/server/routes/constants.ts b/x-pack/platform/plugins/shared/cloud/server/routes/constants.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/constants.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/constants.ts diff --git a/x-pack/plugins/cloud/server/routes/elasticsearch_route.ts b/x-pack/platform/plugins/shared/cloud/server/routes/elasticsearch_route.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/elasticsearch_route.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/elasticsearch_route.ts diff --git a/x-pack/plugins/cloud/server/routes/get_cloud_data_route.ts b/x-pack/platform/plugins/shared/cloud/server/routes/get_cloud_data_route.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/get_cloud_data_route.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/get_cloud_data_route.ts diff --git a/x-pack/plugins/cloud/server/routes/index.ts b/x-pack/platform/plugins/shared/cloud/server/routes/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/index.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/index.ts diff --git a/x-pack/plugins/cloud/server/routes/set_cloud_data_route.test.ts b/x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.test.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/set_cloud_data_route.test.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.test.ts diff --git a/x-pack/plugins/cloud/server/routes/set_cloud_data_route.ts b/x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/set_cloud_data_route.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/set_cloud_data_route.ts diff --git a/x-pack/plugins/cloud/server/routes/types.ts b/x-pack/platform/plugins/shared/cloud/server/routes/types.ts similarity index 100% rename from x-pack/plugins/cloud/server/routes/types.ts rename to x-pack/platform/plugins/shared/cloud/server/routes/types.ts diff --git a/x-pack/plugins/cloud/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/cloud/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/cloud/server/saved_objects/index.ts diff --git a/x-pack/plugins/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts b/x-pack/platform/plugins/shared/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts similarity index 100% rename from x-pack/plugins/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts rename to x-pack/platform/plugins/shared/cloud/server/saved_objects/model_versions/cloud_data_model_versions.ts diff --git a/x-pack/plugins/cloud/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/cloud/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/cloud/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/cloud/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/cloud/tsconfig.json b/x-pack/platform/plugins/shared/cloud/tsconfig.json similarity index 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/yarn.lock b/yarn.lock index 6845903a16b8b..a24977cef1bc7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4161,7 +4161,7 @@ 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 "" From 381952eaee1885508c95352edf846c1ec0c7c98d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:15:12 +0100 Subject: [PATCH 011/183] Relocating module `@kbn/config` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-config/README.md | 0 .../platform/packages/shared}/kbn-config/index.ts | 0 .../platform/packages/shared}/kbn-config/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-config/kibana.jsonc | 0 .../platform/packages/shared}/kbn-config/package.json | 0 .../packages/shared}/kbn-config/src/__fixtures__/config.yml | 0 .../shared}/kbn-config/src/__fixtures__/config_flat.yml | 0 .../shared}/kbn-config/src/__fixtures__/en_var_ref_config.yml | 0 .../kbn-config/src/__fixtures__/en_var_ref_config_nested.yml | 0 .../kbn-config/src/__fixtures__/en_var_with_defaults.yml | 0 .../shared}/kbn-config/src/__fixtures__/forbidden_1.yml | 0 .../shared}/kbn-config/src/__fixtures__/forbidden_2.yml | 0 .../packages/shared}/kbn-config/src/__fixtures__/merge_1.yml | 0 .../packages/shared}/kbn-config/src/__fixtures__/merge_2.yml | 0 .../packages/shared}/kbn-config/src/__fixtures__/one.yml | 0 .../packages/shared}/kbn-config/src/__fixtures__/two.yml | 0 .../shared}/kbn-config/src/__fixtures__/unsplittable_1.yml | 0 .../shared}/kbn-config/src/__fixtures__/unsplittable_2.yml | 0 .../shared}/kbn-config/src/__fixtures__/unsplittable_3.yml | 0 .../kbn-config/src/__snapshots__/config_service.test.ts.snap | 0 .../shared}/kbn-config/src/__snapshots__/env.test.ts.snap | 0 .../packages/shared}/kbn-config/src/apply_argv.test.ts | 0 .../platform/packages/shared}/kbn-config/src/config.test.ts | 0 .../platform/packages/shared}/kbn-config/src/config.ts | 0 .../shared}/kbn-config/src/config_service.test.mocks.ts | 2 +- .../packages/shared}/kbn-config/src/config_service.test.ts | 0 .../packages/shared}/kbn-config/src/config_service.ts | 0 .../kbn-config/src/deprecation/apply_deprecations.test.ts | 0 .../shared}/kbn-config/src/deprecation/apply_deprecations.ts | 0 .../kbn-config/src/deprecation/deprecation_factory.test.ts | 0 .../shared}/kbn-config/src/deprecation/deprecation_factory.ts | 0 .../packages/shared}/kbn-config/src/deprecation/index.ts | 0 .../packages/shared}/kbn-config/src/deprecation/types.ts | 0 .../src/deprecation/unset_and_clean_empty_parent.test.ts | 0 .../src/deprecation/unset_and_clean_empty_parent.ts | 0 .../packages/shared}/kbn-config/src/env.test.mocks.ts | 0 .../platform/packages/shared}/kbn-config/src/env.test.ts | 0 .../platform/packages/shared}/kbn-config/src/env.ts | 0 .../packages/shared}/kbn-config/src/internal_mocks.ts | 0 .../shared}/kbn-config/src/object_to_config_adapter.test.ts | 0 .../shared}/kbn-config/src/object_to_config_adapter.ts | 0 .../kbn-config/src/raw/__snapshots__/read_config.test.ts.snap | 0 .../platform/packages/shared}/kbn-config/src/raw/index.ts | 0 .../kbn-config/src/raw/raw_config_service.test.mocks.ts | 0 .../shared}/kbn-config/src/raw/raw_config_service.test.ts | 0 .../packages/shared}/kbn-config/src/raw/raw_config_service.ts | 0 .../packages/shared}/kbn-config/src/raw/read_config.test.ts | 0 .../packages/shared}/kbn-config/src/raw/read_config.ts | 0 .../packages/shared}/kbn-config/src/raw/utils.test.ts | 0 .../platform/packages/shared}/kbn-config/src/raw/utils.ts | 0 .../platform/packages/shared}/kbn-config/src/types.ts | 0 .../platform/packages/shared}/kbn-config/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 57 files changed, 10 insertions(+), 10 deletions(-) rename {packages => src/platform/packages/shared}/kbn-config/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-config/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config/jest.config.js (84%) rename {packages => src/platform/packages/shared}/kbn-config/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-config/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/config.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/config_flat.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/en_var_ref_config.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/en_var_ref_config_nested.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/en_var_with_defaults.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/forbidden_1.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/forbidden_2.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/merge_1.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/merge_2.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/one.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/two.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/unsplittable_1.yml (100%) rename {packages => src/platform/packages/shared}/kbn-config/src/__fixtures__/unsplittable_2.yml (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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 16609e9209f1d..26a7a035317ba 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -301,7 +301,6 @@ packages/kbn-ci-stats-shipper-cli @elastic/kibana-operations packages/kbn-cli-dev-mode @elastic/kibana-operations packages/kbn-code-owners @elastic/appex-qa packages/kbn-coloring @elastic/kibana-visualizations -packages/kbn-config @elastic/kibana-core packages/kbn-config-mocks @elastic/kibana-core packages/kbn-config-schema @elastic/kibana-core packages/kbn-content-management-utils @elastic/kibana-data-discovery @@ -581,6 +580,7 @@ src/platform/packages/shared/deeplinks/security @elastic/security-solution src/platform/packages/shared/kbn-analytics @elastic/kibana-core src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows 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-doc-links @elastic/docs src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql diff --git a/.i18nrc.json b/.i18nrc.json index 503c840eae09a..aca90ae181412 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -81,7 +81,7 @@ "imageEmbeddable": "src/plugins/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_react": "src/legacy/core_plugins/kibana_react", "kibana_utils": "src/plugins/kibana_utils", diff --git a/package.json b/package.json index c17bc9ea260cf..cff1f609920bc 100644 --- a/package.json +++ b/package.json @@ -225,7 +225,7 @@ "@kbn/code-editor": "link:packages/shared-ux/code_editor/impl", "@kbn/code-editor-mock": "link:packages/shared-ux/code_editor/mocks", "@kbn/coloring": "link:packages/kbn-coloring", - "@kbn/config": "link:packages/kbn-config", + "@kbn/config": "link:src/platform/packages/shared/kbn-config", "@kbn/config-mocks": "link:packages/kbn-config-mocks", "@kbn/config-schema": "link:packages/kbn-config-schema", "@kbn/console-plugin": "link:src/platform/plugins/shared/console", diff --git a/packages/kbn-config/README.md b/src/platform/packages/shared/kbn-config/README.md similarity index 100% rename from packages/kbn-config/README.md rename to src/platform/packages/shared/kbn-config/README.md diff --git a/packages/kbn-config/index.ts b/src/platform/packages/shared/kbn-config/index.ts similarity index 100% rename from packages/kbn-config/index.ts rename to src/platform/packages/shared/kbn-config/index.ts diff --git a/packages/kbn-config/jest.config.js b/src/platform/packages/shared/kbn-config/jest.config.js similarity index 84% rename from packages/kbn-config/jest.config.js rename to src/platform/packages/shared/kbn-config/jest.config.js index 09a4d4e774ca8..12d831e0b3d24 100644 --- a/packages/kbn-config/jest.config.js +++ b/src/platform/packages/shared/kbn-config/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-config'], + 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/tsconfig.base.json b/tsconfig.base.json index 5e40e98312eab..66573c8944fac 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -192,8 +192,8 @@ "@kbn/code-owners/*": ["packages/kbn-code-owners/*"], "@kbn/coloring": ["packages/kbn-coloring"], "@kbn/coloring/*": ["packages/kbn-coloring/*"], - "@kbn/config": ["packages/kbn-config"], - "@kbn/config/*": ["packages/kbn-config/*"], + "@kbn/config": ["src/platform/packages/shared/kbn-config"], + "@kbn/config/*": ["src/platform/packages/shared/kbn-config/*"], "@kbn/config-mocks": ["packages/kbn-config-mocks"], "@kbn/config-mocks/*": ["packages/kbn-config-mocks/*"], "@kbn/config-schema": ["packages/kbn-config-schema"], diff --git a/yarn.lock b/yarn.lock index a24977cef1bc7..90195c76a8fdd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4209,7 +4209,7 @@ version "0.0.0" uid "" -"@kbn/config@link:packages/kbn-config": +"@kbn/config@link:src/platform/packages/shared/kbn-config": version "0.0.0" uid "" From 184257e2b108d347e0f6e9cc707dba27a61b027f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:16:12 +0100 Subject: [PATCH 012/183] Relocating module `@kbn/config-mocks` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/private}/kbn-config-mocks/README.md | 0 .../platform/packages/private}/kbn-config-mocks/index.ts | 0 .../packages/private}/kbn-config-mocks/jest.config.js | 4 ++-- .../platform/packages/private}/kbn-config-mocks/kibana.jsonc | 0 .../platform/packages/private}/kbn-config-mocks/package.json | 0 .../packages/private}/kbn-config-mocks/src/config.mock.ts | 0 .../private}/kbn-config-mocks/src/config_service.mock.ts | 0 .../private}/kbn-config-mocks/src/deprecations.mock.ts | 0 .../packages/private}/kbn-config-mocks/src/env.mock.ts | 0 .../private}/kbn-config-mocks/src/raw_config_service.mock.ts | 0 .../platform/packages/private}/kbn-config-mocks/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/private}/kbn-config-mocks/README.md (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-config-mocks/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 26a7a035317ba..8fee2b4eb1440 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -301,7 +301,6 @@ packages/kbn-ci-stats-shipper-cli @elastic/kibana-operations packages/kbn-cli-dev-mode @elastic/kibana-operations packages/kbn-code-owners @elastic/appex-qa packages/kbn-coloring @elastic/kibana-visualizations -packages/kbn-config-mocks @elastic/kibana-core packages/kbn-config-schema @elastic/kibana-core packages/kbn-content-management-utils @elastic/kibana-data-discovery packages/kbn-crypto @elastic/kibana-security @@ -566,6 +565,7 @@ 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-language-documentation @elastic/kibana-esql src/platform/packages/private/kbn-management/settings/application @elastic/kibana-management diff --git a/package.json b/package.json index cff1f609920bc..94f2732511834 100644 --- a/package.json +++ b/package.json @@ -226,7 +226,7 @@ "@kbn/code-editor-mock": "link:packages/shared-ux/code_editor/mocks", "@kbn/coloring": "link:packages/kbn-coloring", "@kbn/config": "link:src/platform/packages/shared/kbn-config", - "@kbn/config-mocks": "link:packages/kbn-config-mocks", + "@kbn/config-mocks": "link:src/platform/packages/private/kbn-config-mocks", "@kbn/config-schema": "link:packages/kbn-config-schema", "@kbn/console-plugin": "link:src/platform/plugins/shared/console", "@kbn/content-management-content-editor": "link:packages/content-management/content_editor", 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/packages/kbn-config-mocks/jest.config.js b/src/platform/packages/private/kbn-config-mocks/jest.config.js similarity index 83% rename from packages/kbn-config-mocks/jest.config.js rename to src/platform/packages/private/kbn-config-mocks/jest.config.js index fc11e6ca8c8be..d1948829eb704 100644 --- a/packages/kbn-config-mocks/jest.config.js +++ b/src/platform/packages/private/kbn-config-mocks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-config-mocks'], + 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/tsconfig.base.json b/tsconfig.base.json index 66573c8944fac..6265600637e19 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -194,8 +194,8 @@ "@kbn/coloring/*": ["packages/kbn-coloring/*"], "@kbn/config": ["src/platform/packages/shared/kbn-config"], "@kbn/config/*": ["src/platform/packages/shared/kbn-config/*"], - "@kbn/config-mocks": ["packages/kbn-config-mocks"], - "@kbn/config-mocks/*": ["packages/kbn-config-mocks/*"], + "@kbn/config-mocks": ["src/platform/packages/private/kbn-config-mocks"], + "@kbn/config-mocks/*": ["src/platform/packages/private/kbn-config-mocks/*"], "@kbn/config-schema": ["packages/kbn-config-schema"], "@kbn/config-schema/*": ["packages/kbn-config-schema/*"], "@kbn/console-plugin": ["src/platform/plugins/shared/console"], diff --git a/yarn.lock b/yarn.lock index 90195c76a8fdd..34c42023882f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4201,7 +4201,7 @@ 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 "" From e8ebdda0e89c1d34d6510851817cefa943ce5577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:17:11 +0100 Subject: [PATCH 013/183] Relocating module `@kbn/config-schema` --- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- package.json | 2 +- .../ui-settings/core-ui-settings-common/src/ui_settings.ts | 2 +- .../platform/packages/shared}/kbn-config-schema/README.md | 0 .../platform/packages/shared}/kbn-config-schema/index.ts | 0 .../packages/shared}/kbn-config-schema/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-config-schema/kibana.jsonc | 0 .../platform/packages/shared}/kbn-config-schema/package.json | 0 .../kbn-config-schema/src/byte_size_value/index.test.ts | 0 .../shared}/kbn-config-schema/src/byte_size_value/index.ts | 0 .../packages/shared}/kbn-config-schema/src/duration/index.ts | 0 .../packages/shared}/kbn-config-schema/src/errors/index.ts | 0 .../shared}/kbn-config-schema/src/errors/schema_error.test.ts | 0 .../shared}/kbn-config-schema/src/errors/schema_error.ts | 0 .../shared}/kbn-config-schema/src/errors/schema_type_error.ts | 0 .../kbn-config-schema/src/errors/schema_types_error.ts | 0 .../shared}/kbn-config-schema/src/errors/validation_error.ts | 0 .../packages/shared}/kbn-config-schema/src/helpers/index.ts | 0 .../src/helpers/offering_based_schema.test.ts | 0 .../kbn-config-schema/src/helpers/offering_based_schema.ts | 0 .../packages/shared}/kbn-config-schema/src/internals/index.ts | 0 .../packages/shared}/kbn-config-schema/src/oas_meta_fields.ts | 0 .../kbn-config-schema/src/references/context_reference.ts | 0 .../shared}/kbn-config-schema/src/references/index.ts | 0 .../kbn-config-schema/src/references/reference.test.ts | 0 .../shared}/kbn-config-schema/src/references/reference.ts | 0 .../kbn-config-schema/src/references/sibling_reference.ts | 0 .../shared}/kbn-config-schema/src/typeguards/index.ts | 0 .../kbn-config-schema/src/typeguards/is_config_schema.test.ts | 0 .../kbn-config-schema/src/typeguards/is_config_schema.ts | 0 .../shared}/kbn-config-schema/src/types/any_type.test.ts | 0 .../packages/shared}/kbn-config-schema/src/types/any_type.ts | 0 .../shared}/kbn-config-schema/src/types/array_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/array_type.ts | 0 .../shared}/kbn-config-schema/src/types/boolean_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/boolean_type.ts | 0 .../shared}/kbn-config-schema/src/types/buffer_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/buffer_type.ts | 0 .../kbn-config-schema/src/types/byte_size_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/byte_size_type.ts | 0 .../kbn-config-schema/src/types/conditional_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/conditional_type.ts | 0 .../shared}/kbn-config-schema/src/types/duration_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/duration_type.ts | 0 .../packages/shared}/kbn-config-schema/src/types/index.ts | 0 .../kbn-config-schema/src/types/intersection_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/intersection_type.ts | 0 .../shared}/kbn-config-schema/src/types/ip_type.test.ts | 0 .../packages/shared}/kbn-config-schema/src/types/ip_type.ts | 0 .../packages/shared}/kbn-config-schema/src/types/lazy.test.ts | 0 .../packages/shared}/kbn-config-schema/src/types/lazy.ts | 0 .../shared}/kbn-config-schema/src/types/literal_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/literal_type.ts | 0 .../shared}/kbn-config-schema/src/types/map_type.test.ts | 0 .../packages/shared}/kbn-config-schema/src/types/map_type.ts | 0 .../shared}/kbn-config-schema/src/types/maybe_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/maybe_type.ts | 0 .../shared}/kbn-config-schema/src/types/never_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/never_type.ts | 0 .../shared}/kbn-config-schema/src/types/nullable_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/number_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/number_type.ts | 0 .../shared}/kbn-config-schema/src/types/object_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/object_type.ts | 0 .../shared}/kbn-config-schema/src/types/record_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/record_type.ts | 0 .../shared}/kbn-config-schema/src/types/stream_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/stream_type.ts | 0 .../shared}/kbn-config-schema/src/types/string_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/string_type.ts | 0 .../packages/shared}/kbn-config-schema/src/types/type.test.ts | 0 .../packages/shared}/kbn-config-schema/src/types/type.ts | 0 .../shared}/kbn-config-schema/src/types/union_type.test.ts | 0 .../shared}/kbn-config-schema/src/types/union_type.ts | 0 .../shared}/kbn-config-schema/src/types/uri_type.test.ts | 0 .../packages/shared}/kbn-config-schema/src/types/uri_type.ts | 0 .../platform/packages/shared}/kbn-config-schema/tsconfig.json | 2 +- .../packages/shared}/kbn-config-schema/types/joi.d.ts | 0 tsconfig.base.json | 4 ++-- x-pack/plugins/enterprise_search/SERVER.md | 2 +- .../enterprise_search/server/lib/route_config_helpers.ts | 2 +- yarn.lock | 2 +- 83 files changed, 12 insertions(+), 12 deletions(-) rename {packages => src/platform/packages/shared}/kbn-config-schema/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-config-schema/jest.config.js (83%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 8bfebca6f9c3e..292fdbc18926a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1920,7 +1920,7 @@ module.exports = { 'x-pack/plugins/licensing/**', 'x-pack/plugins/global_search/**', 'x-pack/platform/plugins/shared/cloud/**', - 'packages/kbn-config-schema', + 'src/platform/packages/shared/kbn-config-schema', 'src/plugins/status_page/**', 'src/plugins/saved_objects_management/**', 'src/platform/packages/shared/kbn-analytics/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8fee2b4eb1440..71bc3d60c75c0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -301,7 +301,6 @@ packages/kbn-ci-stats-shipper-cli @elastic/kibana-operations packages/kbn-cli-dev-mode @elastic/kibana-operations packages/kbn-code-owners @elastic/appex-qa packages/kbn-coloring @elastic/kibana-visualizations -packages/kbn-config-schema @elastic/kibana-core packages/kbn-content-management-utils @elastic/kibana-data-discovery packages/kbn-crypto @elastic/kibana-security packages/kbn-crypto-browser @elastic/kibana-core @@ -581,6 +580,7 @@ src/platform/packages/shared/kbn-analytics @elastic/kibana-core src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows 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-doc-links @elastic/docs src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql diff --git a/package.json b/package.json index 94f2732511834..d8c0ac4709f6b 100644 --- a/package.json +++ b/package.json @@ -227,7 +227,7 @@ "@kbn/coloring": "link:packages/kbn-coloring", "@kbn/config": "link:src/platform/packages/shared/kbn-config", "@kbn/config-mocks": "link:src/platform/packages/private/kbn-config-mocks", - "@kbn/config-schema": "link:packages/kbn-config-schema", + "@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", 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/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/packages/kbn-config-schema/jest.config.js b/src/platform/packages/shared/kbn-config-schema/jest.config.js similarity index 83% rename from packages/kbn-config-schema/jest.config.js rename to src/platform/packages/shared/kbn-config-schema/jest.config.js index cf3b95d2d7b38..a96df8d746ddf 100644 --- a/packages/kbn-config-schema/jest.config.js +++ b/src/platform/packages/shared/kbn-config-schema/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-config-schema'], + 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/tsconfig.base.json b/tsconfig.base.json index 6265600637e19..2221568c77664 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -196,8 +196,8 @@ "@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": ["packages/kbn-config-schema"], - "@kbn/config-schema/*": ["packages/kbn-config-schema/*"], + "@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"], diff --git a/x-pack/plugins/enterprise_search/SERVER.md b/x-pack/plugins/enterprise_search/SERVER.md index 7b6865443e319..e44d20b8d0d60 100644 --- a/x-pack/plugins/enterprise_search/SERVER.md +++ b/x-pack/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/plugins/enterprise_search/server/lib/route_config_helpers.ts b/x-pack/plugins/enterprise_search/server/lib/route_config_helpers.ts index d2c08fa0c4462..cf78420af7f10 100644 --- a/x-pack/plugins/enterprise_search/server/lib/route_config_helpers.ts +++ b/x-pack/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/yarn.lock b/yarn.lock index 34c42023882f5..07a565c257ca6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4205,7 +4205,7 @@ 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 "" From e20f3cbc99f5e20cc73fb7f2d8691cc8a4762c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:18:11 +0100 Subject: [PATCH 014/183] Relocating module `@kbn/core-analytics-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/analytics/browser}/README.md | 0 .../core/packages/analytics/browser}/index.ts | 0 .../core/packages/analytics/browser}/jest.config.js | 4 ++-- .../core/packages/analytics/browser}/kibana.jsonc | 0 .../core/packages/analytics/browser}/package.json | 0 .../core/packages/analytics/browser}/src/types.ts | 0 .../core/packages/analytics/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) rename {packages/core/analytics/core-analytics-browser => src/core/packages/analytics/browser}/README.md (100%) rename {packages/core/analytics/core-analytics-browser => src/core/packages/analytics/browser}/index.ts (100%) rename {packages/core/analytics/core-analytics-browser => src/core/packages/analytics/browser}/jest.config.js (84%) rename {packages/core/analytics/core-analytics-browser => src/core/packages/analytics/browser}/kibana.jsonc (100%) rename {packages/core/analytics/core-analytics-browser => src/core/packages/analytics/browser}/package.json (100%) rename {packages/core/analytics/core-analytics-browser => src/core/packages/analytics/browser}/src/types.ts (100%) rename {packages/core/analytics/core-analytics-browser => src/core/packages/analytics/browser}/tsconfig.json (80%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 71bc3d60c75c0..0139f9ea6d2b3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -52,7 +52,6 @@ packages/content-management/table_list_view @elastic/appex-sharedux packages/content-management/table_list_view_common @elastic/appex-sharedux packages/content-management/table_list_view_table @elastic/appex-sharedux packages/content-management/user_profiles @elastic/appex-sharedux -packages/core/analytics/core-analytics-browser @elastic/kibana-core packages/core/analytics/core-analytics-browser-internal @elastic/kibana-core packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core packages/core/analytics/core-analytics-server @elastic/kibana-core @@ -559,6 +558,7 @@ packages/shared-ux/storybook/config @elastic/appex-sharedux packages/shared-ux/storybook/mock @elastic/appex-sharedux packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core +src/core/packages/analytics/browser @elastic/kibana-core src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index d8c0ac4709f6b..564b34d886e21 100644 --- a/package.json +++ b/package.json @@ -246,7 +246,7 @@ "@kbn/controls-example-plugin": "link:examples/controls_example", "@kbn/controls-plugin": "link:src/plugins/controls", "@kbn/core": "link:src/core", - "@kbn/core-analytics-browser": "link:packages/core/analytics/core-analytics-browser", + "@kbn/core-analytics-browser": "link:src/core/packages/analytics/browser", "@kbn/core-analytics-browser-internal": "link:packages/core/analytics/core-analytics-browser-internal", "@kbn/core-analytics-server": "link:packages/core/analytics/core-analytics-server", "@kbn/core-analytics-server-internal": "link:packages/core/analytics/core-analytics-server-internal", diff --git a/packages/core/analytics/core-analytics-browser/README.md b/src/core/packages/analytics/browser/README.md similarity index 100% rename from packages/core/analytics/core-analytics-browser/README.md rename to src/core/packages/analytics/browser/README.md diff --git a/packages/core/analytics/core-analytics-browser/index.ts b/src/core/packages/analytics/browser/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser/index.ts rename to src/core/packages/analytics/browser/index.ts diff --git a/packages/core/analytics/core-analytics-browser/jest.config.js b/src/core/packages/analytics/browser/jest.config.js similarity index 84% rename from packages/core/analytics/core-analytics-browser/jest.config.js rename to src/core/packages/analytics/browser/jest.config.js index 3d19085e50e12..67d507722acad 100644 --- a/packages/core/analytics/core-analytics-browser/jest.config.js +++ b/src/core/packages/analytics/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-browser'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/browser'], }; diff --git a/packages/core/analytics/core-analytics-browser/kibana.jsonc b/src/core/packages/analytics/browser/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-browser/kibana.jsonc rename to src/core/packages/analytics/browser/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-browser/package.json b/src/core/packages/analytics/browser/package.json similarity index 100% rename from packages/core/analytics/core-analytics-browser/package.json rename to src/core/packages/analytics/browser/package.json diff --git a/packages/core/analytics/core-analytics-browser/src/types.ts b/src/core/packages/analytics/browser/src/types.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser/src/types.ts rename to src/core/packages/analytics/browser/src/types.ts diff --git a/packages/core/analytics/core-analytics-browser/tsconfig.json b/src/core/packages/analytics/browser/tsconfig.json similarity index 80% rename from packages/core/analytics/core-analytics-browser/tsconfig.json rename to src/core/packages/analytics/browser/tsconfig.json index 99505f519996c..c6bb0972b56ae 100644 --- a/packages/core/analytics/core-analytics-browser/tsconfig.json +++ b/src/core/packages/analytics/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 2221568c77664..3ce13688894e7 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -234,8 +234,8 @@ "@kbn/controls-plugin/*": ["src/plugins/controls/*"], "@kbn/core": ["src/core"], "@kbn/core/*": ["src/core/*"], - "@kbn/core-analytics-browser": ["packages/core/analytics/core-analytics-browser"], - "@kbn/core-analytics-browser/*": ["packages/core/analytics/core-analytics-browser/*"], + "@kbn/core-analytics-browser": ["src/core/packages/analytics/browser"], + "@kbn/core-analytics-browser/*": ["src/core/packages/analytics/browser/*"], "@kbn/core-analytics-browser-internal": ["packages/core/analytics/core-analytics-browser-internal"], "@kbn/core-analytics-browser-internal/*": ["packages/core/analytics/core-analytics-browser-internal/*"], "@kbn/core-analytics-browser-mocks": ["packages/core/analytics/core-analytics-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 07a565c257ca6..971b3cdd908b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4289,7 +4289,7 @@ version "0.0.0" uid "" -"@kbn/core-analytics-browser@link:packages/core/analytics/core-analytics-browser": +"@kbn/core-analytics-browser@link:src/core/packages/analytics/browser": version "0.0.0" uid "" From 67532e2a5e31d40e50fefb7a7cdcf4848bf9ff09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:19:19 +0100 Subject: [PATCH 015/183] Relocating module `@kbn/core-analytics-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/analytics/browser-internal}/README.md | 0 .../core/packages/analytics/browser-internal}/index.ts | 0 .../core/packages/analytics/browser-internal}/jest.config.js | 4 ++-- .../core/packages/analytics/browser-internal}/kibana.jsonc | 0 .../core/packages/analytics/browser-internal}/package.json | 0 .../browser-internal}/src/analytics_service.test.mocks.ts | 0 .../analytics/browser-internal}/src/analytics_service.test.ts | 0 .../analytics/browser-internal}/src/analytics_service.ts | 0 .../analytics/browser-internal}/src/get_session_id.test.ts | 0 .../analytics/browser-internal}/src/get_session_id.ts | 0 .../analytics/browser-internal}/src/track_clicks.test.ts | 0 .../packages/analytics/browser-internal}/src/track_clicks.ts | 0 .../src/track_performance_measure_entries.test.ts | 0 .../src/track_performance_measure_entries.ts | 0 .../browser-internal}/src/track_viewport_size.test.ts | 0 .../analytics/browser-internal}/src/track_viewport_size.ts | 0 .../core/packages/analytics/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 21 files changed, 8 insertions(+), 8 deletions(-) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/README.md (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/index.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/jest.config.js (82%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/kibana.jsonc (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/package.json (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/analytics_service.test.mocks.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/analytics_service.test.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/analytics_service.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/get_session_id.test.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/get_session_id.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/track_clicks.test.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/track_clicks.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/track_performance_measure_entries.test.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/track_performance_measure_entries.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/track_viewport_size.test.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/src/track_viewport_size.ts (100%) rename {packages/core/analytics/core-analytics-browser-internal => src/core/packages/analytics/browser-internal}/tsconfig.json (89%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0139f9ea6d2b3..a9e1522edc41d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -52,7 +52,6 @@ packages/content-management/table_list_view @elastic/appex-sharedux packages/content-management/table_list_view_common @elastic/appex-sharedux packages/content-management/table_list_view_table @elastic/appex-sharedux packages/content-management/user_profiles @elastic/appex-sharedux -packages/core/analytics/core-analytics-browser-internal @elastic/kibana-core packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core packages/core/analytics/core-analytics-server @elastic/kibana-core packages/core/analytics/core-analytics-server-internal @elastic/kibana-core @@ -559,6 +558,7 @@ packages/shared-ux/storybook/mock @elastic/appex-sharedux packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core src/core/packages/analytics/browser @elastic/kibana-core +src/core/packages/analytics/browser-internal @elastic/kibana-core src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 564b34d886e21..4e2fd299fc224 100644 --- a/package.json +++ b/package.json @@ -247,7 +247,7 @@ "@kbn/controls-plugin": "link:src/plugins/controls", "@kbn/core": "link:src/core", "@kbn/core-analytics-browser": "link:src/core/packages/analytics/browser", - "@kbn/core-analytics-browser-internal": "link:packages/core/analytics/core-analytics-browser-internal", + "@kbn/core-analytics-browser-internal": "link:src/core/packages/analytics/browser-internal", "@kbn/core-analytics-server": "link:packages/core/analytics/core-analytics-server", "@kbn/core-analytics-server-internal": "link:packages/core/analytics/core-analytics-server-internal", "@kbn/core-app-status-plugin": "link:test/plugin_functional/plugins/core_app_status", diff --git a/packages/core/analytics/core-analytics-browser-internal/README.md b/src/core/packages/analytics/browser-internal/README.md similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/README.md rename to src/core/packages/analytics/browser-internal/README.md diff --git a/packages/core/analytics/core-analytics-browser-internal/index.ts b/src/core/packages/analytics/browser-internal/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/index.ts rename to src/core/packages/analytics/browser-internal/index.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/jest.config.js b/src/core/packages/analytics/browser-internal/jest.config.js similarity index 82% rename from packages/core/analytics/core-analytics-browser-internal/jest.config.js rename to src/core/packages/analytics/browser-internal/jest.config.js index 4432335062f1e..53a81b4d9c6ef 100644 --- a/packages/core/analytics/core-analytics-browser-internal/jest.config.js +++ b/src/core/packages/analytics/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/browser-internal'], }; diff --git a/packages/core/analytics/core-analytics-browser-internal/kibana.jsonc b/src/core/packages/analytics/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/kibana.jsonc rename to src/core/packages/analytics/browser-internal/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-browser-internal/package.json b/src/core/packages/analytics/browser-internal/package.json similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/package.json rename to src/core/packages/analytics/browser-internal/package.json diff --git a/packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts b/src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts rename to src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts b/src/core/packages/analytics/browser-internal/src/analytics_service.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts rename to src/core/packages/analytics/browser-internal/src/analytics_service.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts b/src/core/packages/analytics/browser-internal/src/analytics_service.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts rename to src/core/packages/analytics/browser-internal/src/analytics_service.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/get_session_id.test.ts b/src/core/packages/analytics/browser-internal/src/get_session_id.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/get_session_id.test.ts rename to src/core/packages/analytics/browser-internal/src/get_session_id.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/get_session_id.ts b/src/core/packages/analytics/browser-internal/src/get_session_id.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/get_session_id.ts rename to src/core/packages/analytics/browser-internal/src/get_session_id.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts b/src/core/packages/analytics/browser-internal/src/track_clicks.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts rename to src/core/packages/analytics/browser-internal/src/track_clicks.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts b/src/core/packages/analytics/browser-internal/src/track_clicks.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts rename to src/core/packages/analytics/browser-internal/src/track_clicks.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts b/src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts rename to src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.ts b/src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.ts rename to src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts b/src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts rename to src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts b/src/core/packages/analytics/browser-internal/src/track_viewport_size.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts rename to src/core/packages/analytics/browser-internal/src/track_viewport_size.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json b/src/core/packages/analytics/browser-internal/tsconfig.json similarity index 89% rename from packages/core/analytics/core-analytics-browser-internal/tsconfig.json rename to src/core/packages/analytics/browser-internal/tsconfig.json index 152fbeeaa9edd..9dc1d2c37c791 100644 --- a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json +++ b/src/core/packages/analytics/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node"] diff --git a/tsconfig.base.json b/tsconfig.base.json index 3ce13688894e7..393ad6440d7ff 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -236,8 +236,8 @@ "@kbn/core/*": ["src/core/*"], "@kbn/core-analytics-browser": ["src/core/packages/analytics/browser"], "@kbn/core-analytics-browser/*": ["src/core/packages/analytics/browser/*"], - "@kbn/core-analytics-browser-internal": ["packages/core/analytics/core-analytics-browser-internal"], - "@kbn/core-analytics-browser-internal/*": ["packages/core/analytics/core-analytics-browser-internal/*"], + "@kbn/core-analytics-browser-internal": ["src/core/packages/analytics/browser-internal"], + "@kbn/core-analytics-browser-internal/*": ["src/core/packages/analytics/browser-internal/*"], "@kbn/core-analytics-browser-mocks": ["packages/core/analytics/core-analytics-browser-mocks"], "@kbn/core-analytics-browser-mocks/*": ["packages/core/analytics/core-analytics-browser-mocks/*"], "@kbn/core-analytics-server": ["packages/core/analytics/core-analytics-server"], diff --git a/yarn.lock b/yarn.lock index 971b3cdd908b4..81a5f6b9f10df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4281,7 +4281,7 @@ version "0.0.0" uid "" -"@kbn/core-analytics-browser-internal@link:packages/core/analytics/core-analytics-browser-internal": +"@kbn/core-analytics-browser-internal@link:src/core/packages/analytics/browser-internal": version "0.0.0" uid "" From 08a59692451c5f2f85dd3a138771dec4368709b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:20:35 +0100 Subject: [PATCH 016/183] Relocating module `@kbn/core-analytics-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/analytics/server}/README.md | 0 .../core/packages/analytics/server}/index.ts | 0 .../core/packages/analytics/server}/jest.config.js | 4 ++-- .../core/packages/analytics/server}/kibana.jsonc | 0 .../core/packages/analytics/server}/package.json | 0 .../core/packages/analytics/server}/src/contracts.ts | 0 .../core/packages/analytics/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) rename {packages/core/analytics/core-analytics-server => src/core/packages/analytics/server}/README.md (100%) rename {packages/core/analytics/core-analytics-server => src/core/packages/analytics/server}/index.ts (100%) rename {packages/core/analytics/core-analytics-server => src/core/packages/analytics/server}/jest.config.js (84%) rename {packages/core/analytics/core-analytics-server => src/core/packages/analytics/server}/kibana.jsonc (100%) rename {packages/core/analytics/core-analytics-server => src/core/packages/analytics/server}/package.json (100%) rename {packages/core/analytics/core-analytics-server => src/core/packages/analytics/server}/src/contracts.ts (100%) rename {packages/core/analytics/core-analytics-server => src/core/packages/analytics/server}/tsconfig.json (80%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a9e1522edc41d..8fa4819afff71 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -53,7 +53,6 @@ packages/content-management/table_list_view_common @elastic/appex-sharedux packages/content-management/table_list_view_table @elastic/appex-sharedux packages/content-management/user_profiles @elastic/appex-sharedux packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core -packages/core/analytics/core-analytics-server @elastic/kibana-core packages/core/analytics/core-analytics-server-internal @elastic/kibana-core packages/core/analytics/core-analytics-server-mocks @elastic/kibana-core packages/core/application/core-application-browser @elastic/kibana-core @@ -559,6 +558,7 @@ packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core src/core/packages/analytics/browser @elastic/kibana-core src/core/packages/analytics/browser-internal @elastic/kibana-core +src/core/packages/analytics/server @elastic/kibana-core src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 4e2fd299fc224..92f033d8dfa76 100644 --- a/package.json +++ b/package.json @@ -248,7 +248,7 @@ "@kbn/core": "link:src/core", "@kbn/core-analytics-browser": "link:src/core/packages/analytics/browser", "@kbn/core-analytics-browser-internal": "link:src/core/packages/analytics/browser-internal", - "@kbn/core-analytics-server": "link:packages/core/analytics/core-analytics-server", + "@kbn/core-analytics-server": "link:src/core/packages/analytics/server", "@kbn/core-analytics-server-internal": "link:packages/core/analytics/core-analytics-server-internal", "@kbn/core-app-status-plugin": "link:test/plugin_functional/plugins/core_app_status", "@kbn/core-application-browser": "link:packages/core/application/core-application-browser", diff --git a/packages/core/analytics/core-analytics-server/README.md b/src/core/packages/analytics/server/README.md similarity index 100% rename from packages/core/analytics/core-analytics-server/README.md rename to src/core/packages/analytics/server/README.md diff --git a/packages/core/analytics/core-analytics-server/index.ts b/src/core/packages/analytics/server/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-server/index.ts rename to src/core/packages/analytics/server/index.ts diff --git a/packages/core/analytics/core-analytics-server/jest.config.js b/src/core/packages/analytics/server/jest.config.js similarity index 84% rename from packages/core/analytics/core-analytics-server/jest.config.js rename to src/core/packages/analytics/server/jest.config.js index 92cead0f9e0a7..d9d5d56cdb9d0 100644 --- a/packages/core/analytics/core-analytics-server/jest.config.js +++ b/src/core/packages/analytics/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-server'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/server'], }; diff --git a/packages/core/analytics/core-analytics-server/kibana.jsonc b/src/core/packages/analytics/server/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-server/kibana.jsonc rename to src/core/packages/analytics/server/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-server/package.json b/src/core/packages/analytics/server/package.json similarity index 100% rename from packages/core/analytics/core-analytics-server/package.json rename to src/core/packages/analytics/server/package.json diff --git a/packages/core/analytics/core-analytics-server/src/contracts.ts b/src/core/packages/analytics/server/src/contracts.ts similarity index 100% rename from packages/core/analytics/core-analytics-server/src/contracts.ts rename to src/core/packages/analytics/server/src/contracts.ts diff --git a/packages/core/analytics/core-analytics-server/tsconfig.json b/src/core/packages/analytics/server/tsconfig.json similarity index 80% rename from packages/core/analytics/core-analytics-server/tsconfig.json rename to src/core/packages/analytics/server/tsconfig.json index 99505f519996c..c6bb0972b56ae 100644 --- a/packages/core/analytics/core-analytics-server/tsconfig.json +++ b/src/core/packages/analytics/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 393ad6440d7ff..bfe36c9de6f2a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -240,8 +240,8 @@ "@kbn/core-analytics-browser-internal/*": ["src/core/packages/analytics/browser-internal/*"], "@kbn/core-analytics-browser-mocks": ["packages/core/analytics/core-analytics-browser-mocks"], "@kbn/core-analytics-browser-mocks/*": ["packages/core/analytics/core-analytics-browser-mocks/*"], - "@kbn/core-analytics-server": ["packages/core/analytics/core-analytics-server"], - "@kbn/core-analytics-server/*": ["packages/core/analytics/core-analytics-server/*"], + "@kbn/core-analytics-server": ["src/core/packages/analytics/server"], + "@kbn/core-analytics-server/*": ["src/core/packages/analytics/server/*"], "@kbn/core-analytics-server-internal": ["packages/core/analytics/core-analytics-server-internal"], "@kbn/core-analytics-server-internal/*": ["packages/core/analytics/core-analytics-server-internal/*"], "@kbn/core-analytics-server-mocks": ["packages/core/analytics/core-analytics-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 81a5f6b9f10df..678540fd4748b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4301,7 +4301,7 @@ version "0.0.0" uid "" -"@kbn/core-analytics-server@link:packages/core/analytics/core-analytics-server": +"@kbn/core-analytics-server@link:src/core/packages/analytics/server": version "0.0.0" uid "" From 8fdbcfc3f4c8c4b49c3eb5cf37b88d290fb72625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:21:59 +0100 Subject: [PATCH 017/183] Relocating module `@kbn/core-analytics-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/analytics/server-internal}/README.md | 0 .../core/packages/analytics/server-internal}/index.ts | 0 .../core/packages/analytics/server-internal}/jest.config.js | 4 ++-- .../core/packages/analytics/server-internal}/kibana.jsonc | 0 .../core/packages/analytics/server-internal}/package.json | 0 .../server-internal}/src/analytics_service.test.mocks.ts | 0 .../analytics/server-internal}/src/analytics_service.test.ts | 0 .../analytics/server-internal}/src/analytics_service.ts | 0 .../core/packages/analytics/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) rename {packages/core/analytics/core-analytics-server-internal => src/core/packages/analytics/server-internal}/README.md (100%) rename {packages/core/analytics/core-analytics-server-internal => src/core/packages/analytics/server-internal}/index.ts (100%) rename {packages/core/analytics/core-analytics-server-internal => src/core/packages/analytics/server-internal}/jest.config.js (83%) rename {packages/core/analytics/core-analytics-server-internal => src/core/packages/analytics/server-internal}/kibana.jsonc (100%) rename {packages/core/analytics/core-analytics-server-internal => src/core/packages/analytics/server-internal}/package.json (100%) rename {packages/core/analytics/core-analytics-server-internal => src/core/packages/analytics/server-internal}/src/analytics_service.test.mocks.ts (100%) rename {packages/core/analytics/core-analytics-server-internal => src/core/packages/analytics/server-internal}/src/analytics_service.test.ts (100%) rename {packages/core/analytics/core-analytics-server-internal => src/core/packages/analytics/server-internal}/src/analytics_service.ts (100%) rename {packages/core/analytics/core-analytics-server-internal => src/core/packages/analytics/server-internal}/tsconfig.json (87%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8fa4819afff71..eabba59376d05 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -53,7 +53,6 @@ packages/content-management/table_list_view_common @elastic/appex-sharedux packages/content-management/table_list_view_table @elastic/appex-sharedux packages/content-management/user_profiles @elastic/appex-sharedux packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core -packages/core/analytics/core-analytics-server-internal @elastic/kibana-core packages/core/analytics/core-analytics-server-mocks @elastic/kibana-core packages/core/application/core-application-browser @elastic/kibana-core packages/core/application/core-application-browser-internal @elastic/kibana-core @@ -559,6 +558,7 @@ src/core @elastic/kibana-core src/core/packages/analytics/browser @elastic/kibana-core src/core/packages/analytics/browser-internal @elastic/kibana-core src/core/packages/analytics/server @elastic/kibana-core +src/core/packages/analytics/server-internal @elastic/kibana-core src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 92f033d8dfa76..b1190dfac99b5 100644 --- a/package.json +++ b/package.json @@ -249,7 +249,7 @@ "@kbn/core-analytics-browser": "link:src/core/packages/analytics/browser", "@kbn/core-analytics-browser-internal": "link:src/core/packages/analytics/browser-internal", "@kbn/core-analytics-server": "link:src/core/packages/analytics/server", - "@kbn/core-analytics-server-internal": "link:packages/core/analytics/core-analytics-server-internal", + "@kbn/core-analytics-server-internal": "link:src/core/packages/analytics/server-internal", "@kbn/core-app-status-plugin": "link:test/plugin_functional/plugins/core_app_status", "@kbn/core-application-browser": "link:packages/core/application/core-application-browser", "@kbn/core-application-browser-internal": "link:packages/core/application/core-application-browser-internal", diff --git a/packages/core/analytics/core-analytics-server-internal/README.md b/src/core/packages/analytics/server-internal/README.md similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/README.md rename to src/core/packages/analytics/server-internal/README.md diff --git a/packages/core/analytics/core-analytics-server-internal/index.ts b/src/core/packages/analytics/server-internal/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/index.ts rename to src/core/packages/analytics/server-internal/index.ts diff --git a/packages/core/analytics/core-analytics-server-internal/jest.config.js b/src/core/packages/analytics/server-internal/jest.config.js similarity index 83% rename from packages/core/analytics/core-analytics-server-internal/jest.config.js rename to src/core/packages/analytics/server-internal/jest.config.js index 8999f9acbc468..c272930b953d6 100644 --- a/packages/core/analytics/core-analytics-server-internal/jest.config.js +++ b/src/core/packages/analytics/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/server-internal'], }; diff --git a/packages/core/analytics/core-analytics-server-internal/kibana.jsonc b/src/core/packages/analytics/server-internal/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/kibana.jsonc rename to src/core/packages/analytics/server-internal/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-server-internal/package.json b/src/core/packages/analytics/server-internal/package.json similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/package.json rename to src/core/packages/analytics/server-internal/package.json diff --git a/packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts b/src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts rename to src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts diff --git a/packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts b/src/core/packages/analytics/server-internal/src/analytics_service.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts rename to src/core/packages/analytics/server-internal/src/analytics_service.test.ts diff --git a/packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts b/src/core/packages/analytics/server-internal/src/analytics_service.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts rename to src/core/packages/analytics/server-internal/src/analytics_service.ts diff --git a/packages/core/analytics/core-analytics-server-internal/tsconfig.json b/src/core/packages/analytics/server-internal/tsconfig.json similarity index 87% rename from packages/core/analytics/core-analytics-server-internal/tsconfig.json rename to src/core/packages/analytics/server-internal/tsconfig.json index a9d2e7cf47b9d..d62b5cf6aea65 100644 --- a/packages/core/analytics/core-analytics-server-internal/tsconfig.json +++ b/src/core/packages/analytics/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index bfe36c9de6f2a..4d1569333983c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -242,8 +242,8 @@ "@kbn/core-analytics-browser-mocks/*": ["packages/core/analytics/core-analytics-browser-mocks/*"], "@kbn/core-analytics-server": ["src/core/packages/analytics/server"], "@kbn/core-analytics-server/*": ["src/core/packages/analytics/server/*"], - "@kbn/core-analytics-server-internal": ["packages/core/analytics/core-analytics-server-internal"], - "@kbn/core-analytics-server-internal/*": ["packages/core/analytics/core-analytics-server-internal/*"], + "@kbn/core-analytics-server-internal": ["src/core/packages/analytics/server-internal"], + "@kbn/core-analytics-server-internal/*": ["src/core/packages/analytics/server-internal/*"], "@kbn/core-analytics-server-mocks": ["packages/core/analytics/core-analytics-server-mocks"], "@kbn/core-analytics-server-mocks/*": ["packages/core/analytics/core-analytics-server-mocks/*"], "@kbn/core-app-status-plugin": ["test/plugin_functional/plugins/core_app_status"], diff --git a/yarn.lock b/yarn.lock index 678540fd4748b..0c78af905e612 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4293,7 +4293,7 @@ version "0.0.0" uid "" -"@kbn/core-analytics-server-internal@link:packages/core/analytics/core-analytics-server-internal": +"@kbn/core-analytics-server-internal@link:src/core/packages/analytics/server-internal": version "0.0.0" uid "" From 5931ab6f7bfa25b0419a0b78498164e52f7d6b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:23:06 +0100 Subject: [PATCH 018/183] Relocating module `@kbn/core-application-browser` --- .github/CODEOWNERS | 2 +- .../core/application_service.asciidoc | 2 +- .../developer/best-practices/navigation.asciidoc | 16 ++++++++-------- package.json | 2 +- .../core/packages/application/browser}/README.md | 0 .../core/packages/application/browser}/index.ts | 0 .../packages/application/browser}/jest.config.js | 4 ++-- .../packages/application/browser}/kibana.jsonc | 0 .../packages/application/browser}/package.json | 0 .../application/browser}/src/app_leave.ts | 0 .../application/browser}/src/app_mount.ts | 0 .../application/browser}/src/application.ts | 0 .../application/browser}/src/contracts.ts | 2 +- .../application/browser}/src/scoped_history.ts | 0 .../packages/application/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 17 files changed, 18 insertions(+), 18 deletions(-) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/README.md (100%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/index.ts (100%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/jest.config.js (83%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/kibana.jsonc (100%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/package.json (100%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/src/app_leave.ts (100%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/src/app_mount.ts (100%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/src/application.ts (100%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/src/contracts.ts (98%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/src/scoped_history.ts (100%) rename {packages/core/application/core-application-browser => src/core/packages/application/browser}/tsconfig.json (88%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index eabba59376d05..0147204ae871a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -54,7 +54,6 @@ packages/content-management/table_list_view_table @elastic/appex-sharedux packages/content-management/user_profiles @elastic/appex-sharedux packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core packages/core/analytics/core-analytics-server-mocks @elastic/kibana-core -packages/core/application/core-application-browser @elastic/kibana-core packages/core/application/core-application-browser-internal @elastic/kibana-core packages/core/application/core-application-browser-mocks @elastic/kibana-core packages/core/application/core-application-common @elastic/kibana-core @@ -559,6 +558,7 @@ src/core/packages/analytics/browser @elastic/kibana-core src/core/packages/analytics/browser-internal @elastic/kibana-core src/core/packages/analytics/server @elastic/kibana-core src/core/packages/analytics/server-internal @elastic/kibana-core +src/core/packages/application/browser @elastic/kibana-core src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/core/application_service.asciidoc b/docs/developer/architecture/core/application_service.asciidoc index 31b0a3d2a4356..c2665bb60ae83 100644 --- a/docs/developer/architecture/core/application_service.asciidoc +++ b/docs/developer/architecture/core/application_service.asciidoc @@ -29,7 +29,7 @@ export class MyPlugin implements Plugin { } } ---- -<1> Refer to {kib-repo}/blob/8.9/packages/core/application/core-application-browser/src/contracts.ts[application.register interface] +<1> Refer to {kib-repo}/blob/8.9/src/core/packages/application/browser/src/contracts.ts[application.register interface] <2> Application specific URL. <3> `mount` callback is invoked when a user navigates to the application-specific URL. <4> `core.getStartServices` method provides API available during `start` lifecycle. diff --git a/docs/developer/best-practices/navigation.asciidoc b/docs/developer/best-practices/navigation.asciidoc index 6d6ebb38e558b..05247574641af 100644 --- a/docs/developer/best-practices/navigation.asciidoc +++ b/docs/developer/best-practices/navigation.asciidoc @@ -87,13 +87,13 @@ window.location.href = urlToADashboard; To navigate between different {kib} apps without a page reload (by default) there are APIs in `core`: -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToApp] -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToUrl] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToApp] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToUrl] Both methods offer customization such as opening the target in a new page, with an `options` parameter. All the options are optional be default. -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToApp options] -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToUrl options] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToApp options] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToUrl options] *Rendering a link to a different {kib} app on its own would also cause a full page reload:* @@ -163,8 +163,8 @@ Common rules to follow in this scenario: This is required to make sure `core` is aware of navigations triggered inside your app, so it could act accordingly when needed. -* `Core`'s {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/scoped_history.ts[ScopedHistory] instance. -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/app_mount.ts[Example usage] +* `Core`'s {kib-repo}tree/{branch}/src/core/packages/application/browser/src/scoped_history.ts[ScopedHistory] instance. +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/app_mount.ts[Example usage] * {kib-repo}tree/{branch}/test/plugin_functional/plugins/core_plugin_a/public/application.tsx#L120[Example plugin] Relative links will be resolved relative to your app's route (e.g.: `http://localhost5601/app/{your-app-id}`) @@ -181,14 +181,14 @@ const MyInternalLink = () => === Using history and browser location Try to avoid using `window.location` and `window.history` directly. + -Instead, consider using {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/scoped_history.ts[ScopedHistory] +Instead, consider using {kib-repo}tree/{branch}/src/core/packages/application/browser/src/scoped_history.ts[ScopedHistory] instance provided by `core`. * This way `core` will know about location changes triggered within your app, and it would act accordingly. * Some plugins are listening to location changes. Triggering location change manually could lead to unpredictable and hard-to-catch bugs. Common use-case for using -`core`'s {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/scoped_history.ts[ScopedHistory] directly: +`core`'s {kib-repo}tree/{branch}/src/core/packages/application/browser/src/scoped_history.ts[ScopedHistory] directly: * Reading/writing query params or hash. * Imperatively triggering internal navigations within your app. diff --git a/package.json b/package.json index b1190dfac99b5..e13c7b32095b8 100644 --- a/package.json +++ b/package.json @@ -251,7 +251,7 @@ "@kbn/core-analytics-server": "link:src/core/packages/analytics/server", "@kbn/core-analytics-server-internal": "link:src/core/packages/analytics/server-internal", "@kbn/core-app-status-plugin": "link:test/plugin_functional/plugins/core_app_status", - "@kbn/core-application-browser": "link:packages/core/application/core-application-browser", + "@kbn/core-application-browser": "link:src/core/packages/application/browser", "@kbn/core-application-browser-internal": "link:packages/core/application/core-application-browser-internal", "@kbn/core-application-common": "link:packages/core/application/core-application-common", "@kbn/core-apps-browser-internal": "link:packages/core/apps/core-apps-browser-internal", diff --git a/packages/core/application/core-application-browser/README.md b/src/core/packages/application/browser/README.md similarity index 100% rename from packages/core/application/core-application-browser/README.md rename to src/core/packages/application/browser/README.md diff --git a/packages/core/application/core-application-browser/index.ts b/src/core/packages/application/browser/index.ts similarity index 100% rename from packages/core/application/core-application-browser/index.ts rename to src/core/packages/application/browser/index.ts diff --git a/packages/core/application/core-application-browser/jest.config.js b/src/core/packages/application/browser/jest.config.js similarity index 83% rename from packages/core/application/core-application-browser/jest.config.js rename to src/core/packages/application/browser/jest.config.js index 13f7c9e97b7e1..21356fe119018 100644 --- a/packages/core/application/core-application-browser/jest.config.js +++ b/src/core/packages/application/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/browser'], }; diff --git a/packages/core/application/core-application-browser/kibana.jsonc b/src/core/packages/application/browser/kibana.jsonc similarity index 100% rename from packages/core/application/core-application-browser/kibana.jsonc rename to src/core/packages/application/browser/kibana.jsonc diff --git a/packages/core/application/core-application-browser/package.json b/src/core/packages/application/browser/package.json similarity index 100% rename from packages/core/application/core-application-browser/package.json rename to src/core/packages/application/browser/package.json diff --git a/packages/core/application/core-application-browser/src/app_leave.ts b/src/core/packages/application/browser/src/app_leave.ts similarity index 100% rename from packages/core/application/core-application-browser/src/app_leave.ts rename to src/core/packages/application/browser/src/app_leave.ts diff --git a/packages/core/application/core-application-browser/src/app_mount.ts b/src/core/packages/application/browser/src/app_mount.ts similarity index 100% rename from packages/core/application/core-application-browser/src/app_mount.ts rename to src/core/packages/application/browser/src/app_mount.ts diff --git a/packages/core/application/core-application-browser/src/application.ts b/src/core/packages/application/browser/src/application.ts similarity index 100% rename from packages/core/application/core-application-browser/src/application.ts rename to src/core/packages/application/browser/src/application.ts diff --git a/packages/core/application/core-application-browser/src/contracts.ts b/src/core/packages/application/browser/src/contracts.ts similarity index 98% rename from packages/core/application/core-application-browser/src/contracts.ts rename to src/core/packages/application/browser/src/contracts.ts index e8b2cd77028f6..7aada384d8378 100644 --- a/packages/core/application/core-application-browser/src/contracts.ts +++ b/src/core/packages/application/browser/src/contracts.ts @@ -109,7 +109,7 @@ export interface ApplicationStart { * application.navigateToUrl('/app/discover/some-path') // does not include the current basePath * application.navigateToUrl('/base-path/s/my-space/app/unknown-app/some-path') // unknown application * application.navigateToUrl('../discover') // resolve to `/base-path/s/my-space/discover` which is not a path of a known app. - * application.navigateToUrl('../../other-space/discover') // resolve to `/base-path/s/other-space/discover` which is not within the current basePath. + * application.navigateToUrl('../../../other-space/discover') // resolve to `/base-path/s/other-space/discover` which is not within the current basePath. * ``` * * @param url - an absolute URL, an absolute path or a relative path, to navigate to. diff --git a/packages/core/application/core-application-browser/src/scoped_history.ts b/src/core/packages/application/browser/src/scoped_history.ts similarity index 100% rename from packages/core/application/core-application-browser/src/scoped_history.ts rename to src/core/packages/application/browser/src/scoped_history.ts diff --git a/packages/core/application/core-application-browser/tsconfig.json b/src/core/packages/application/browser/tsconfig.json similarity index 88% rename from packages/core/application/core-application-browser/tsconfig.json rename to src/core/packages/application/browser/tsconfig.json index d22e0c337382a..c7b86c46c1ee2 100644 --- a/packages/core/application/core-application-browser/tsconfig.json +++ b/src/core/packages/application/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 4d1569333983c..f91e2890e86de 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -248,8 +248,8 @@ "@kbn/core-analytics-server-mocks/*": ["packages/core/analytics/core-analytics-server-mocks/*"], "@kbn/core-app-status-plugin": ["test/plugin_functional/plugins/core_app_status"], "@kbn/core-app-status-plugin/*": ["test/plugin_functional/plugins/core_app_status/*"], - "@kbn/core-application-browser": ["packages/core/application/core-application-browser"], - "@kbn/core-application-browser/*": ["packages/core/application/core-application-browser/*"], + "@kbn/core-application-browser": ["src/core/packages/application/browser"], + "@kbn/core-application-browser/*": ["src/core/packages/application/browser/*"], "@kbn/core-application-browser-internal": ["packages/core/application/core-application-browser-internal"], "@kbn/core-application-browser-internal/*": ["packages/core/application/core-application-browser-internal/*"], "@kbn/core-application-browser-mocks": ["packages/core/application/core-application-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 0c78af905e612..1c7d1c512dac6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4317,7 +4317,7 @@ version "0.0.0" uid "" -"@kbn/core-application-browser@link:packages/core/application/core-application-browser": +"@kbn/core-application-browser@link:src/core/packages/application/browser": version "0.0.0" uid "" From fe92fcc9243bce96034e7963eec37e5413822fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:24:18 +0100 Subject: [PATCH 019/183] Relocating module `@kbn/core-application-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/application/browser-internal}/README.md | 0 .../core/packages/application/browser-internal}/index.ts | 0 .../integration_tests/application_service.test.tsx | 0 .../browser-internal}/integration_tests/router.test.tsx | 0 .../application/browser-internal}/integration_tests/utils.tsx | 0 .../packages/application/browser-internal}/jest.config.js | 4 ++-- .../application/browser-internal}/jest.integration.config.js | 4 ++-- .../core/packages/application/browser-internal}/kibana.jsonc | 0 .../core/packages/application/browser-internal}/package.json | 0 .../src/__snapshots__/application_service.test.ts.snap | 0 .../browser-internal}/src/application_leave.test.ts | 0 .../application/browser-internal}/src/application_leave.tsx | 0 .../browser-internal}/src/application_service.test.mocks.ts | 0 .../browser-internal}/src/application_service.test.ts | 0 .../application/browser-internal}/src/application_service.tsx | 0 .../browser-internal}/src/navigation_confirm.test.ts | 0 .../application/browser-internal}/src/navigation_confirm.ts | 0 .../src/register_analytics_context_provider.test.ts | 0 .../src/register_analytics_context_provider.ts | 0 .../application/browser-internal}/src/scoped_history.test.ts | 0 .../application/browser-internal}/src/scoped_history.ts | 0 .../browser-internal}/src/test_helpers/test_types.ts | 0 .../core/packages/application/browser-internal}/src/types.ts | 0 .../browser-internal}/src/ui/app_container.test.tsx | 0 .../application/browser-internal}/src/ui/app_container.tsx | 0 .../browser-internal}/src/ui/app_not_found_screen.tsx | 0 .../application/browser-internal}/src/ui/app_router.tsx | 0 .../packages/application/browser-internal}/src/ui/index.ts | 0 .../browser-internal}/src/utils/append_app_path.test.ts | 0 .../browser-internal}/src/utils/append_app_path.ts | 0 .../application/browser-internal}/src/utils/constants.ts | 0 .../browser-internal}/src/utils/get_app_info.test.ts | 0 .../application/browser-internal}/src/utils/get_app_info.ts | 0 .../src/utils/get_location_observable.test.ts | 0 .../browser-internal}/src/utils/get_location_observable.ts | 0 .../packages/application/browser-internal}/src/utils/index.ts | 0 .../browser-internal}/src/utils/parse_app_url.test.ts | 0 .../application/browser-internal}/src/utils/parse_app_url.ts | 0 .../browser-internal}/src/utils/relative_to_absolute.test.ts | 0 .../browser-internal}/src/utils/relative_to_absolute.ts | 0 .../browser-internal}/src/utils/remove_slashes.test.ts | 0 .../application/browser-internal}/src/utils/remove_slashes.ts | 0 .../core/packages/application/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 47 files changed, 10 insertions(+), 10 deletions(-) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/README.md (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/index.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/integration_tests/application_service.test.tsx (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/integration_tests/router.test.tsx (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/integration_tests/utils.tsx (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/jest.config.js (82%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/jest.integration.config.js (82%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/kibana.jsonc (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/package.json (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/__snapshots__/application_service.test.ts.snap (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/application_leave.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/application_leave.tsx (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/application_service.test.mocks.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/application_service.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/application_service.tsx (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/navigation_confirm.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/navigation_confirm.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/register_analytics_context_provider.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/register_analytics_context_provider.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/scoped_history.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/scoped_history.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/test_helpers/test_types.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/types.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/ui/app_container.test.tsx (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/ui/app_container.tsx (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/ui/app_not_found_screen.tsx (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/ui/app_router.tsx (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/ui/index.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/append_app_path.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/append_app_path.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/constants.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/get_app_info.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/get_app_info.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/get_location_observable.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/get_location_observable.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/index.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/parse_app_url.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/parse_app_url.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/relative_to_absolute.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/relative_to_absolute.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/remove_slashes.test.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/src/utils/remove_slashes.ts (100%) rename {packages/core/application/core-application-browser-internal => src/core/packages/application/browser-internal}/tsconfig.json (95%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0147204ae871a..0cef91e2b35fc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -54,7 +54,6 @@ packages/content-management/table_list_view_table @elastic/appex-sharedux packages/content-management/user_profiles @elastic/appex-sharedux packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core packages/core/analytics/core-analytics-server-mocks @elastic/kibana-core -packages/core/application/core-application-browser-internal @elastic/kibana-core packages/core/application/core-application-browser-mocks @elastic/kibana-core packages/core/application/core-application-common @elastic/kibana-core packages/core/apps/core-apps-browser-internal @elastic/kibana-core @@ -559,6 +558,7 @@ src/core/packages/analytics/browser-internal @elastic/kibana-core src/core/packages/analytics/server @elastic/kibana-core src/core/packages/analytics/server-internal @elastic/kibana-core src/core/packages/application/browser @elastic/kibana-core +src/core/packages/application/browser-internal @elastic/kibana-core src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index e13c7b32095b8..821e2c04ed8da 100644 --- a/package.json +++ b/package.json @@ -252,7 +252,7 @@ "@kbn/core-analytics-server-internal": "link:src/core/packages/analytics/server-internal", "@kbn/core-app-status-plugin": "link:test/plugin_functional/plugins/core_app_status", "@kbn/core-application-browser": "link:src/core/packages/application/browser", - "@kbn/core-application-browser-internal": "link:packages/core/application/core-application-browser-internal", + "@kbn/core-application-browser-internal": "link:src/core/packages/application/browser-internal", "@kbn/core-application-common": "link:packages/core/application/core-application-common", "@kbn/core-apps-browser-internal": "link:packages/core/apps/core-apps-browser-internal", "@kbn/core-apps-server-internal": "link:packages/core/apps/core-apps-server-internal", diff --git a/packages/core/application/core-application-browser-internal/README.md b/src/core/packages/application/browser-internal/README.md similarity index 100% rename from packages/core/application/core-application-browser-internal/README.md rename to src/core/packages/application/browser-internal/README.md diff --git a/packages/core/application/core-application-browser-internal/index.ts b/src/core/packages/application/browser-internal/index.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/index.ts rename to src/core/packages/application/browser-internal/index.ts diff --git a/packages/core/application/core-application-browser-internal/integration_tests/application_service.test.tsx b/src/core/packages/application/browser-internal/integration_tests/application_service.test.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/integration_tests/application_service.test.tsx rename to src/core/packages/application/browser-internal/integration_tests/application_service.test.tsx diff --git a/packages/core/application/core-application-browser-internal/integration_tests/router.test.tsx b/src/core/packages/application/browser-internal/integration_tests/router.test.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/integration_tests/router.test.tsx rename to src/core/packages/application/browser-internal/integration_tests/router.test.tsx diff --git a/packages/core/application/core-application-browser-internal/integration_tests/utils.tsx b/src/core/packages/application/browser-internal/integration_tests/utils.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/integration_tests/utils.tsx rename to src/core/packages/application/browser-internal/integration_tests/utils.tsx diff --git a/packages/core/application/core-application-browser-internal/jest.config.js b/src/core/packages/application/browser-internal/jest.config.js similarity index 82% rename from packages/core/application/core-application-browser-internal/jest.config.js rename to src/core/packages/application/browser-internal/jest.config.js index 223e310d5daf3..fac6160093b0a 100644 --- a/packages/core/application/core-application-browser-internal/jest.config.js +++ b/src/core/packages/application/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/browser-internal'], }; diff --git a/packages/core/application/core-application-browser-internal/jest.integration.config.js b/src/core/packages/application/browser-internal/jest.integration.config.js similarity index 82% rename from packages/core/application/core-application-browser-internal/jest.integration.config.js rename to src/core/packages/application/browser-internal/jest.integration.config.js index dac107a009695..ba7f5c3320f66 100644 --- a/packages/core/application/core-application-browser-internal/jest.integration.config.js +++ b/src/core/packages/application/browser-internal/jest.integration.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/browser-internal'], }; diff --git a/packages/core/application/core-application-browser-internal/kibana.jsonc b/src/core/packages/application/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/application/core-application-browser-internal/kibana.jsonc rename to src/core/packages/application/browser-internal/kibana.jsonc diff --git a/packages/core/application/core-application-browser-internal/package.json b/src/core/packages/application/browser-internal/package.json similarity index 100% rename from packages/core/application/core-application-browser-internal/package.json rename to src/core/packages/application/browser-internal/package.json diff --git a/packages/core/application/core-application-browser-internal/src/__snapshots__/application_service.test.ts.snap b/src/core/packages/application/browser-internal/src/__snapshots__/application_service.test.ts.snap similarity index 100% rename from packages/core/application/core-application-browser-internal/src/__snapshots__/application_service.test.ts.snap rename to src/core/packages/application/browser-internal/src/__snapshots__/application_service.test.ts.snap diff --git a/packages/core/application/core-application-browser-internal/src/application_leave.test.ts b/src/core/packages/application/browser-internal/src/application_leave.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_leave.test.ts rename to src/core/packages/application/browser-internal/src/application_leave.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/application_leave.tsx b/src/core/packages/application/browser-internal/src/application_leave.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_leave.tsx rename to src/core/packages/application/browser-internal/src/application_leave.tsx diff --git a/packages/core/application/core-application-browser-internal/src/application_service.test.mocks.ts b/src/core/packages/application/browser-internal/src/application_service.test.mocks.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_service.test.mocks.ts rename to src/core/packages/application/browser-internal/src/application_service.test.mocks.ts diff --git a/packages/core/application/core-application-browser-internal/src/application_service.test.ts b/src/core/packages/application/browser-internal/src/application_service.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_service.test.ts rename to src/core/packages/application/browser-internal/src/application_service.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/application_service.tsx b/src/core/packages/application/browser-internal/src/application_service.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_service.tsx rename to src/core/packages/application/browser-internal/src/application_service.tsx diff --git a/packages/core/application/core-application-browser-internal/src/navigation_confirm.test.ts b/src/core/packages/application/browser-internal/src/navigation_confirm.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/navigation_confirm.test.ts rename to src/core/packages/application/browser-internal/src/navigation_confirm.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/navigation_confirm.ts b/src/core/packages/application/browser-internal/src/navigation_confirm.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/navigation_confirm.ts rename to src/core/packages/application/browser-internal/src/navigation_confirm.ts diff --git a/packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts b/src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts rename to src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts b/src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts rename to src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts diff --git a/packages/core/application/core-application-browser-internal/src/scoped_history.test.ts b/src/core/packages/application/browser-internal/src/scoped_history.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/scoped_history.test.ts rename to src/core/packages/application/browser-internal/src/scoped_history.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/scoped_history.ts b/src/core/packages/application/browser-internal/src/scoped_history.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/scoped_history.ts rename to src/core/packages/application/browser-internal/src/scoped_history.ts diff --git a/packages/core/application/core-application-browser-internal/src/test_helpers/test_types.ts b/src/core/packages/application/browser-internal/src/test_helpers/test_types.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/test_helpers/test_types.ts rename to src/core/packages/application/browser-internal/src/test_helpers/test_types.ts diff --git a/packages/core/application/core-application-browser-internal/src/types.ts b/src/core/packages/application/browser-internal/src/types.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/types.ts rename to src/core/packages/application/browser-internal/src/types.ts diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_container.test.tsx b/src/core/packages/application/browser-internal/src/ui/app_container.test.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_container.test.tsx rename to src/core/packages/application/browser-internal/src/ui/app_container.test.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx b/src/core/packages/application/browser-internal/src/ui/app_container.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_container.tsx rename to src/core/packages/application/browser-internal/src/ui/app_container.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_not_found_screen.tsx b/src/core/packages/application/browser-internal/src/ui/app_not_found_screen.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_not_found_screen.tsx rename to src/core/packages/application/browser-internal/src/ui/app_not_found_screen.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx b/src/core/packages/application/browser-internal/src/ui/app_router.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_router.tsx rename to src/core/packages/application/browser-internal/src/ui/app_router.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/index.ts b/src/core/packages/application/browser-internal/src/ui/index.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/index.ts rename to src/core/packages/application/browser-internal/src/ui/index.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/append_app_path.test.ts b/src/core/packages/application/browser-internal/src/utils/append_app_path.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/append_app_path.test.ts rename to src/core/packages/application/browser-internal/src/utils/append_app_path.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts b/src/core/packages/application/browser-internal/src/utils/append_app_path.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts rename to src/core/packages/application/browser-internal/src/utils/append_app_path.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/constants.ts b/src/core/packages/application/browser-internal/src/utils/constants.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/constants.ts rename to src/core/packages/application/browser-internal/src/utils/constants.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_app_info.test.ts b/src/core/packages/application/browser-internal/src/utils/get_app_info.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_app_info.test.ts rename to src/core/packages/application/browser-internal/src/utils/get_app_info.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts b/src/core/packages/application/browser-internal/src/utils/get_app_info.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts rename to src/core/packages/application/browser-internal/src/utils/get_app_info.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_location_observable.test.ts b/src/core/packages/application/browser-internal/src/utils/get_location_observable.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_location_observable.test.ts rename to src/core/packages/application/browser-internal/src/utils/get_location_observable.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_location_observable.ts b/src/core/packages/application/browser-internal/src/utils/get_location_observable.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_location_observable.ts rename to src/core/packages/application/browser-internal/src/utils/get_location_observable.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/index.ts b/src/core/packages/application/browser-internal/src/utils/index.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/index.ts rename to src/core/packages/application/browser-internal/src/utils/index.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/parse_app_url.test.ts b/src/core/packages/application/browser-internal/src/utils/parse_app_url.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/parse_app_url.test.ts rename to src/core/packages/application/browser-internal/src/utils/parse_app_url.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts b/src/core/packages/application/browser-internal/src/utils/parse_app_url.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts rename to src/core/packages/application/browser-internal/src/utils/parse_app_url.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.test.ts b/src/core/packages/application/browser-internal/src/utils/relative_to_absolute.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.test.ts rename to src/core/packages/application/browser-internal/src/utils/relative_to_absolute.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts b/src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts rename to src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/remove_slashes.test.ts b/src/core/packages/application/browser-internal/src/utils/remove_slashes.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/remove_slashes.test.ts rename to src/core/packages/application/browser-internal/src/utils/remove_slashes.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts b/src/core/packages/application/browser-internal/src/utils/remove_slashes.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts rename to src/core/packages/application/browser-internal/src/utils/remove_slashes.ts diff --git a/packages/core/application/core-application-browser-internal/tsconfig.json b/src/core/packages/application/browser-internal/tsconfig.json similarity index 95% rename from packages/core/application/core-application-browser-internal/tsconfig.json rename to src/core/packages/application/browser-internal/tsconfig.json index 497d069efc596..8db83fe2e2e2e 100644 --- a/packages/core/application/core-application-browser-internal/tsconfig.json +++ b/src/core/packages/application/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index f91e2890e86de..1828151c53179 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -250,8 +250,8 @@ "@kbn/core-app-status-plugin/*": ["test/plugin_functional/plugins/core_app_status/*"], "@kbn/core-application-browser": ["src/core/packages/application/browser"], "@kbn/core-application-browser/*": ["src/core/packages/application/browser/*"], - "@kbn/core-application-browser-internal": ["packages/core/application/core-application-browser-internal"], - "@kbn/core-application-browser-internal/*": ["packages/core/application/core-application-browser-internal/*"], + "@kbn/core-application-browser-internal": ["src/core/packages/application/browser-internal"], + "@kbn/core-application-browser-internal/*": ["src/core/packages/application/browser-internal/*"], "@kbn/core-application-browser-mocks": ["packages/core/application/core-application-browser-mocks"], "@kbn/core-application-browser-mocks/*": ["packages/core/application/core-application-browser-mocks/*"], "@kbn/core-application-common": ["packages/core/application/core-application-common"], diff --git a/yarn.lock b/yarn.lock index 1c7d1c512dac6..e4eb6428203bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4309,7 +4309,7 @@ version "0.0.0" uid "" -"@kbn/core-application-browser-internal@link:packages/core/application/core-application-browser-internal": +"@kbn/core-application-browser-internal@link:src/core/packages/application/browser-internal": version "0.0.0" uid "" From f8dc12069e07172ac1d5d056bc61dcd87e54939c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:25:17 +0100 Subject: [PATCH 020/183] Relocating module `@kbn/core-application-common` --- .github/CODEOWNERS | 2 +- .../architecture/security/feature-registration.asciidoc | 2 +- package.json | 2 +- .../core/packages/application/common}/README.md | 0 .../core/packages/application/common}/index.ts | 0 .../core/packages/application/common}/jest.config.js | 4 ++-- .../core/packages/application/common}/kibana.jsonc | 0 .../core/packages/application/common}/package.json | 0 .../core/packages/application/common}/src/app_category.ts | 0 .../packages/application/common}/src/app_wrapper_class.ts | 0 .../application/common}/src/default_app_categories.ts | 0 .../packages/application/common}/src/global_app_style.tsx | 0 .../core/packages/application/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 9 insertions(+), 9 deletions(-) rename {packages/core/application/core-application-common => src/core/packages/application/common}/README.md (100%) rename {packages/core/application/core-application-common => src/core/packages/application/common}/index.ts (100%) rename {packages/core/application/core-application-common => src/core/packages/application/common}/jest.config.js (83%) rename {packages/core/application/core-application-common => src/core/packages/application/common}/kibana.jsonc (100%) rename {packages/core/application/core-application-common => src/core/packages/application/common}/package.json (100%) rename {packages/core/application/core-application-common => src/core/packages/application/common}/src/app_category.ts (100%) rename {packages/core/application/core-application-common => src/core/packages/application/common}/src/app_wrapper_class.ts (100%) rename {packages/core/application/core-application-common => src/core/packages/application/common}/src/default_app_categories.ts (100%) rename {packages/core/application/core-application-common => src/core/packages/application/common}/src/global_app_style.tsx (100%) rename {packages/core/application/core-application-common => src/core/packages/application/common}/tsconfig.json (82%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0cef91e2b35fc..3cf4ef02227d9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -55,7 +55,6 @@ packages/content-management/user_profiles @elastic/appex-sharedux packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core packages/core/analytics/core-analytics-server-mocks @elastic/kibana-core packages/core/application/core-application-browser-mocks @elastic/kibana-core -packages/core/application/core-application-common @elastic/kibana-core packages/core/apps/core-apps-browser-internal @elastic/kibana-core packages/core/apps/core-apps-browser-mocks @elastic/kibana-core packages/core/apps/core-apps-server-internal @elastic/kibana-core @@ -559,6 +558,7 @@ src/core/packages/analytics/server @elastic/kibana-core src/core/packages/analytics/server-internal @elastic/kibana-core src/core/packages/application/browser @elastic/kibana-core src/core/packages/application/browser-internal @elastic/kibana-core +src/core/packages/application/common @elastic/kibana-core src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/security/feature-registration.asciidoc b/docs/developer/architecture/security/feature-registration.asciidoc index b16142311cc75..b53df66f9a94e 100644 --- a/docs/developer/architecture/security/feature-registration.asciidoc +++ b/docs/developer/architecture/security/feature-registration.asciidoc @@ -39,7 +39,7 @@ Registering a feature consists of the following fields. For more information, co |A human readable name for your feature. |`category` (required) -|{kib-repo}blob/{branch}/packages/core/application/core-application-common/src/app_category.ts[`AppCategory`] +|{kib-repo}blob/{branch}/src/core/packages/application/common/src/app_category.ts[`AppCategory`] |`DEFAULT_APP_CATEGORIES.kibana` |The `AppCategory` which best represents your feature. Used to organize the display of features within the management screens. diff --git a/package.json b/package.json index 821e2c04ed8da..29a8a71205a49 100644 --- a/package.json +++ b/package.json @@ -253,7 +253,7 @@ "@kbn/core-app-status-plugin": "link:test/plugin_functional/plugins/core_app_status", "@kbn/core-application-browser": "link:src/core/packages/application/browser", "@kbn/core-application-browser-internal": "link:src/core/packages/application/browser-internal", - "@kbn/core-application-common": "link:packages/core/application/core-application-common", + "@kbn/core-application-common": "link:src/core/packages/application/common", "@kbn/core-apps-browser-internal": "link:packages/core/apps/core-apps-browser-internal", "@kbn/core-apps-server-internal": "link:packages/core/apps/core-apps-server-internal", "@kbn/core-base-browser-internal": "link:packages/core/base/core-base-browser-internal", diff --git a/packages/core/application/core-application-common/README.md b/src/core/packages/application/common/README.md similarity index 100% rename from packages/core/application/core-application-common/README.md rename to src/core/packages/application/common/README.md diff --git a/packages/core/application/core-application-common/index.ts b/src/core/packages/application/common/index.ts similarity index 100% rename from packages/core/application/core-application-common/index.ts rename to src/core/packages/application/common/index.ts diff --git a/packages/core/application/core-application-common/jest.config.js b/src/core/packages/application/common/jest.config.js similarity index 83% rename from packages/core/application/core-application-common/jest.config.js rename to src/core/packages/application/common/jest.config.js index bf825b81c6e01..4724ccc6350c8 100644 --- a/packages/core/application/core-application-common/jest.config.js +++ b/src/core/packages/application/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-common'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/common'], }; diff --git a/packages/core/application/core-application-common/kibana.jsonc b/src/core/packages/application/common/kibana.jsonc similarity index 100% rename from packages/core/application/core-application-common/kibana.jsonc rename to src/core/packages/application/common/kibana.jsonc diff --git a/packages/core/application/core-application-common/package.json b/src/core/packages/application/common/package.json similarity index 100% rename from packages/core/application/core-application-common/package.json rename to src/core/packages/application/common/package.json diff --git a/packages/core/application/core-application-common/src/app_category.ts b/src/core/packages/application/common/src/app_category.ts similarity index 100% rename from packages/core/application/core-application-common/src/app_category.ts rename to src/core/packages/application/common/src/app_category.ts diff --git a/packages/core/application/core-application-common/src/app_wrapper_class.ts b/src/core/packages/application/common/src/app_wrapper_class.ts similarity index 100% rename from packages/core/application/core-application-common/src/app_wrapper_class.ts rename to src/core/packages/application/common/src/app_wrapper_class.ts diff --git a/packages/core/application/core-application-common/src/default_app_categories.ts b/src/core/packages/application/common/src/default_app_categories.ts similarity index 100% rename from packages/core/application/core-application-common/src/default_app_categories.ts rename to src/core/packages/application/common/src/default_app_categories.ts diff --git a/packages/core/application/core-application-common/src/global_app_style.tsx b/src/core/packages/application/common/src/global_app_style.tsx similarity index 100% rename from packages/core/application/core-application-common/src/global_app_style.tsx rename to src/core/packages/application/common/src/global_app_style.tsx diff --git a/packages/core/application/core-application-common/tsconfig.json b/src/core/packages/application/common/tsconfig.json similarity index 82% rename from packages/core/application/core-application-common/tsconfig.json rename to src/core/packages/application/common/tsconfig.json index da0657512bb06..e4d2c85fd93d6 100644 --- a/packages/core/application/core-application-common/tsconfig.json +++ b/src/core/packages/application/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 1828151c53179..e3fc13d5b2090 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -254,8 +254,8 @@ "@kbn/core-application-browser-internal/*": ["src/core/packages/application/browser-internal/*"], "@kbn/core-application-browser-mocks": ["packages/core/application/core-application-browser-mocks"], "@kbn/core-application-browser-mocks/*": ["packages/core/application/core-application-browser-mocks/*"], - "@kbn/core-application-common": ["packages/core/application/core-application-common"], - "@kbn/core-application-common/*": ["packages/core/application/core-application-common/*"], + "@kbn/core-application-common": ["src/core/packages/application/common"], + "@kbn/core-application-common/*": ["src/core/packages/application/common/*"], "@kbn/core-apps-browser-internal": ["packages/core/apps/core-apps-browser-internal"], "@kbn/core-apps-browser-internal/*": ["packages/core/apps/core-apps-browser-internal/*"], "@kbn/core-apps-browser-mocks": ["packages/core/apps/core-apps-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index e4eb6428203bf..e3e8b77946fc1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4321,7 +4321,7 @@ version "0.0.0" uid "" -"@kbn/core-application-common@link:packages/core/application/core-application-common": +"@kbn/core-application-common@link:src/core/packages/application/common": version "0.0.0" uid "" From 2fcd5f07a2df10b190541c5ca533e12c3c2ee001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:26:19 +0100 Subject: [PATCH 021/183] Relocating module `@kbn/core-apps-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/apps/browser-internal}/README.md | 0 .../core/packages/apps/browser-internal}/index.ts | 0 .../core/packages/apps/browser-internal}/jest.config.js | 4 ++-- .../core/packages/apps/browser-internal}/kibana.jsonc | 0 .../core/packages/apps/browser-internal}/package.json | 0 .../core/packages/apps/browser-internal}/src/core_app.ts | 0 .../browser-internal}/src/errors/error_application.test.ts | 0 .../apps/browser-internal}/src/errors/error_application.tsx | 0 .../core/packages/apps/browser-internal}/src/errors/index.ts | 0 .../browser-internal}/src/errors/public_base_url.test.tsx | 0 .../apps/browser-internal}/src/errors/public_base_url.tsx | 0 .../apps/browser-internal}/src/errors/url_overflow.test.ts | 0 .../apps/browser-internal}/src/errors/url_overflow.tsx | 0 .../apps/browser-internal}/src/errors/url_overflow_ui.tsx | 0 .../core/packages/apps/browser-internal}/src/index.ts | 0 .../components/__snapshots__/metric_tiles.test.tsx.snap | 0 .../components/__snapshots__/server_status.test.tsx.snap | 0 .../components/__snapshots__/status_table.test.tsx.snap | 0 .../apps/browser-internal}/src/status/components/index.ts | 0 .../src/status/components/metric_tiles.test.tsx | 0 .../browser-internal}/src/status/components/metric_tiles.tsx | 0 .../src/status/components/server_status.test.tsx | 0 .../browser-internal}/src/status/components/server_status.tsx | 0 .../src/status/components/status_badge.test.tsx | 0 .../browser-internal}/src/status/components/status_badge.tsx | 0 .../src/status/components/status_expanded_row.tsx | 0 .../src/status/components/status_section.tsx | 0 .../src/status/components/status_table.test.tsx | 0 .../browser-internal}/src/status/components/status_table.tsx | 0 .../src/status/components/version_header.test.tsx | 0 .../src/status/components/version_header.tsx | 0 .../core/packages/apps/browser-internal}/src/status/index.ts | 0 .../browser-internal}/src/status/lib/format_number.test.ts | 0 .../apps/browser-internal}/src/status/lib/format_number.ts | 0 .../packages/apps/browser-internal}/src/status/lib/index.ts | 0 .../apps/browser-internal}/src/status/lib/load_status.test.ts | 0 .../apps/browser-internal}/src/status/lib/load_status.ts | 0 .../browser-internal}/src/status/lib/status_level.test.ts | 0 .../apps/browser-internal}/src/status/lib/status_level.ts | 0 .../packages/apps/browser-internal}/src/status/render_app.tsx | 0 .../packages/apps/browser-internal}/src/status/status_app.tsx | 0 .../core/packages/apps/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 46 files changed, 8 insertions(+), 8 deletions(-) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/README.md (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/index.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/jest.config.js (84%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/kibana.jsonc (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/package.json (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/core_app.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/errors/error_application.test.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/errors/error_application.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/errors/index.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/errors/public_base_url.test.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/errors/public_base_url.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/errors/url_overflow.test.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/errors/url_overflow.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/errors/url_overflow_ui.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/index.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/__snapshots__/metric_tiles.test.tsx.snap (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/__snapshots__/server_status.test.tsx.snap (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/__snapshots__/status_table.test.tsx.snap (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/index.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/metric_tiles.test.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/metric_tiles.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/server_status.test.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/server_status.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/status_badge.test.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/status_badge.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/status_expanded_row.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/status_section.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/status_table.test.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/status_table.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/version_header.test.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/components/version_header.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/index.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/lib/format_number.test.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/lib/format_number.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/lib/index.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/lib/load_status.test.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/lib/load_status.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/lib/status_level.test.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/lib/status_level.ts (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/render_app.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/src/status/status_app.tsx (100%) rename {packages/core/apps/core-apps-browser-internal => src/core/packages/apps/browser-internal}/tsconfig.json (96%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3cf4ef02227d9..fa7aeb1939ac4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -55,7 +55,6 @@ packages/content-management/user_profiles @elastic/appex-sharedux packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core 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-internal @elastic/kibana-core packages/core/apps/core-apps-browser-mocks @elastic/kibana-core packages/core/apps/core-apps-server-internal @elastic/kibana-core packages/core/base/core-base-browser-internal @elastic/kibana-core @@ -559,6 +558,7 @@ src/core/packages/analytics/server-internal @elastic/kibana-core src/core/packages/application/browser @elastic/kibana-core src/core/packages/application/browser-internal @elastic/kibana-core src/core/packages/application/common @elastic/kibana-core +src/core/packages/apps/browser-internal @elastic/kibana-core src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 29a8a71205a49..d592480fa270e 100644 --- a/package.json +++ b/package.json @@ -254,7 +254,7 @@ "@kbn/core-application-browser": "link:src/core/packages/application/browser", "@kbn/core-application-browser-internal": "link:src/core/packages/application/browser-internal", "@kbn/core-application-common": "link:src/core/packages/application/common", - "@kbn/core-apps-browser-internal": "link:packages/core/apps/core-apps-browser-internal", + "@kbn/core-apps-browser-internal": "link:src/core/packages/apps/browser-internal", "@kbn/core-apps-server-internal": "link:packages/core/apps/core-apps-server-internal", "@kbn/core-base-browser-internal": "link:packages/core/base/core-base-browser-internal", "@kbn/core-base-common": "link:packages/core/base/core-base-common", diff --git a/packages/core/apps/core-apps-browser-internal/README.md b/src/core/packages/apps/browser-internal/README.md similarity index 100% rename from packages/core/apps/core-apps-browser-internal/README.md rename to src/core/packages/apps/browser-internal/README.md diff --git a/packages/core/apps/core-apps-browser-internal/index.ts b/src/core/packages/apps/browser-internal/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/index.ts rename to src/core/packages/apps/browser-internal/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/jest.config.js b/src/core/packages/apps/browser-internal/jest.config.js similarity index 84% rename from packages/core/apps/core-apps-browser-internal/jest.config.js rename to src/core/packages/apps/browser-internal/jest.config.js index 70aafc13bdadb..8346aa238f169 100644 --- a/packages/core/apps/core-apps-browser-internal/jest.config.js +++ b/src/core/packages/apps/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/apps/core-apps-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/apps/browser-internal'], }; diff --git a/packages/core/apps/core-apps-browser-internal/kibana.jsonc b/src/core/packages/apps/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/apps/core-apps-browser-internal/kibana.jsonc rename to src/core/packages/apps/browser-internal/kibana.jsonc diff --git a/packages/core/apps/core-apps-browser-internal/package.json b/src/core/packages/apps/browser-internal/package.json similarity index 100% rename from packages/core/apps/core-apps-browser-internal/package.json rename to src/core/packages/apps/browser-internal/package.json diff --git a/packages/core/apps/core-apps-browser-internal/src/core_app.ts b/src/core/packages/apps/browser-internal/src/core_app.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/core_app.ts rename to src/core/packages/apps/browser-internal/src/core_app.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/error_application.test.ts b/src/core/packages/apps/browser-internal/src/errors/error_application.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/error_application.test.ts rename to src/core/packages/apps/browser-internal/src/errors/error_application.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx b/src/core/packages/apps/browser-internal/src/errors/error_application.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx rename to src/core/packages/apps/browser-internal/src/errors/error_application.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/index.ts b/src/core/packages/apps/browser-internal/src/errors/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/index.ts rename to src/core/packages/apps/browser-internal/src/errors/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.test.tsx b/src/core/packages/apps/browser-internal/src/errors/public_base_url.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.test.tsx rename to src/core/packages/apps/browser-internal/src/errors/public_base_url.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.tsx b/src/core/packages/apps/browser-internal/src/errors/public_base_url.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.tsx rename to src/core/packages/apps/browser-internal/src/errors/public_base_url.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.test.ts b/src/core/packages/apps/browser-internal/src/errors/url_overflow.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.test.ts rename to src/core/packages/apps/browser-internal/src/errors/url_overflow.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.tsx b/src/core/packages/apps/browser-internal/src/errors/url_overflow.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.tsx rename to src/core/packages/apps/browser-internal/src/errors/url_overflow.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/url_overflow_ui.tsx b/src/core/packages/apps/browser-internal/src/errors/url_overflow_ui.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/url_overflow_ui.tsx rename to src/core/packages/apps/browser-internal/src/errors/url_overflow_ui.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/index.ts b/src/core/packages/apps/browser-internal/src/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/index.ts rename to src/core/packages/apps/browser-internal/src/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap b/src/core/packages/apps/browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap rename to src/core/packages/apps/browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap b/src/core/packages/apps/browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap rename to src/core/packages/apps/browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap b/src/core/packages/apps/browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap rename to src/core/packages/apps/browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/index.ts b/src/core/packages/apps/browser-internal/src/status/components/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/index.ts rename to src/core/packages/apps/browser-internal/src/status/components/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/metric_tiles.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/metric_tiles.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.tsx b/src/core/packages/apps/browser-internal/src/status/components/metric_tiles.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.tsx rename to src/core/packages/apps/browser-internal/src/status/components/metric_tiles.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/server_status.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/server_status.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/server_status.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/server_status.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/server_status.tsx b/src/core/packages/apps/browser-internal/src/status/components/server_status.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/server_status.tsx rename to src/core/packages/apps/browser-internal/src/status/components/server_status.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_badge.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_badge.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_badge.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_badge.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_expanded_row.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_expanded_row.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_expanded_row.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_expanded_row.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_section.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_section.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_section.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_section.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_table.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_table.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_table.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_table.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_table.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_table.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_table.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_table.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/version_header.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/version_header.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/version_header.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/version_header.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/version_header.tsx b/src/core/packages/apps/browser-internal/src/status/components/version_header.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/version_header.tsx rename to src/core/packages/apps/browser-internal/src/status/components/version_header.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/index.ts b/src/core/packages/apps/browser-internal/src/status/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/index.ts rename to src/core/packages/apps/browser-internal/src/status/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.test.ts b/src/core/packages/apps/browser-internal/src/status/lib/format_number.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.test.ts rename to src/core/packages/apps/browser-internal/src/status/lib/format_number.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.ts b/src/core/packages/apps/browser-internal/src/status/lib/format_number.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.ts rename to src/core/packages/apps/browser-internal/src/status/lib/format_number.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/index.ts b/src/core/packages/apps/browser-internal/src/status/lib/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/index.ts rename to src/core/packages/apps/browser-internal/src/status/lib/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts b/src/core/packages/apps/browser-internal/src/status/lib/load_status.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts rename to src/core/packages/apps/browser-internal/src/status/lib/load_status.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts b/src/core/packages/apps/browser-internal/src/status/lib/load_status.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts rename to src/core/packages/apps/browser-internal/src/status/lib/load_status.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.test.ts b/src/core/packages/apps/browser-internal/src/status/lib/status_level.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.test.ts rename to src/core/packages/apps/browser-internal/src/status/lib/status_level.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.ts b/src/core/packages/apps/browser-internal/src/status/lib/status_level.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.ts rename to src/core/packages/apps/browser-internal/src/status/lib/status_level.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/render_app.tsx b/src/core/packages/apps/browser-internal/src/status/render_app.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/render_app.tsx rename to src/core/packages/apps/browser-internal/src/status/render_app.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/status_app.tsx b/src/core/packages/apps/browser-internal/src/status/status_app.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/status_app.tsx rename to src/core/packages/apps/browser-internal/src/status/status_app.tsx diff --git a/packages/core/apps/core-apps-browser-internal/tsconfig.json b/src/core/packages/apps/browser-internal/tsconfig.json similarity index 96% rename from packages/core/apps/core-apps-browser-internal/tsconfig.json rename to src/core/packages/apps/browser-internal/tsconfig.json index 499f4b975f6d8..23c8d34721eaa 100644 --- a/packages/core/apps/core-apps-browser-internal/tsconfig.json +++ b/src/core/packages/apps/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index e3fc13d5b2090..b913dad0c2a63 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -256,8 +256,8 @@ "@kbn/core-application-browser-mocks/*": ["packages/core/application/core-application-browser-mocks/*"], "@kbn/core-application-common": ["src/core/packages/application/common"], "@kbn/core-application-common/*": ["src/core/packages/application/common/*"], - "@kbn/core-apps-browser-internal": ["packages/core/apps/core-apps-browser-internal"], - "@kbn/core-apps-browser-internal/*": ["packages/core/apps/core-apps-browser-internal/*"], + "@kbn/core-apps-browser-internal": ["src/core/packages/apps/browser-internal"], + "@kbn/core-apps-browser-internal/*": ["src/core/packages/apps/browser-internal/*"], "@kbn/core-apps-browser-mocks": ["packages/core/apps/core-apps-browser-mocks"], "@kbn/core-apps-browser-mocks/*": ["packages/core/apps/core-apps-browser-mocks/*"], "@kbn/core-apps-server-internal": ["packages/core/apps/core-apps-server-internal"], diff --git a/yarn.lock b/yarn.lock index e3e8b77946fc1..1951b4ad83eea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4325,7 +4325,7 @@ version "0.0.0" uid "" -"@kbn/core-apps-browser-internal@link:packages/core/apps/core-apps-browser-internal": +"@kbn/core-apps-browser-internal@link:src/core/packages/apps/browser-internal": version "0.0.0" uid "" From 2a84ac8b1418030fa6b02e4bb57156e3e4237efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:27:35 +0100 Subject: [PATCH 022/183] Relocating module `@kbn/core-apps-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/apps/server-internal}/README.md | 0 .../assets/favicons/favicon.distribution.ico | Bin .../assets/favicons/favicon.distribution.png | Bin .../assets/favicons/favicon.distribution.svg | 0 .../server-internal}/assets/favicons/favicon.ico | Bin .../server-internal}/assets/favicons/favicon.png | Bin .../server-internal}/assets/favicons/favicon.svg | 0 .../assets/fonts/inter/Inter-Black.woff | Bin .../assets/fonts/inter/Inter-Black.woff2 | Bin .../assets/fonts/inter/Inter-BlackItalic.woff | Bin .../assets/fonts/inter/Inter-BlackItalic.woff2 | Bin .../assets/fonts/inter/Inter-Bold.woff | Bin .../assets/fonts/inter/Inter-Bold.woff2 | Bin .../assets/fonts/inter/Inter-BoldItalic.woff | Bin .../assets/fonts/inter/Inter-BoldItalic.woff2 | Bin .../assets/fonts/inter/Inter-ExtraBold.woff | Bin .../assets/fonts/inter/Inter-ExtraBold.woff2 | Bin .../assets/fonts/inter/Inter-ExtraBoldItalic.woff | Bin .../assets/fonts/inter/Inter-ExtraBoldItalic.woff2 | Bin .../assets/fonts/inter/Inter-ExtraLight.woff | Bin .../assets/fonts/inter/Inter-ExtraLight.woff2 | Bin .../assets/fonts/inter/Inter-ExtraLightItalic.woff | Bin .../assets/fonts/inter/Inter-ExtraLightItalic.woff2 | Bin .../assets/fonts/inter/Inter-Italic.woff | Bin .../assets/fonts/inter/Inter-Italic.woff2 | Bin .../assets/fonts/inter/Inter-Light.woff | Bin .../assets/fonts/inter/Inter-Light.woff2 | Bin .../assets/fonts/inter/Inter-LightItalic.woff | Bin .../assets/fonts/inter/Inter-LightItalic.woff2 | Bin .../assets/fonts/inter/Inter-Medium.woff | Bin .../assets/fonts/inter/Inter-Medium.woff2 | Bin .../assets/fonts/inter/Inter-MediumItalic.woff | Bin .../assets/fonts/inter/Inter-MediumItalic.woff2 | Bin .../assets/fonts/inter/Inter-Regular.woff | Bin .../assets/fonts/inter/Inter-Regular.woff2 | Bin .../assets/fonts/inter/Inter-SemiBold.woff | Bin .../assets/fonts/inter/Inter-SemiBold.woff2 | Bin .../assets/fonts/inter/Inter-SemiBoldItalic.woff | Bin .../assets/fonts/inter/Inter-SemiBoldItalic.woff2 | Bin .../assets/fonts/inter/Inter-Thin.woff | Bin .../assets/fonts/inter/Inter-Thin.woff2 | Bin .../assets/fonts/inter/Inter-ThinItalic.woff | Bin .../assets/fonts/inter/Inter-ThinItalic.woff2 | Bin .../assets/fonts/inter/Inter-italic.var.woff2 | Bin .../assets/fonts/inter/Inter-roman.var.woff2 | Bin .../assets/fonts/inter/Inter.var.woff2 | Bin .../server-internal}/assets/fonts/inter/LICENSE.txt | 0 .../apps/server-internal}/assets/fonts/readme.md | 0 .../assets/fonts/roboto_mono/LICENSE.txt | 0 .../assets/fonts/roboto_mono/RobotoMono-Bold.ttf | Bin .../fonts/roboto_mono/RobotoMono-BoldItalic.ttf | Bin .../assets/fonts/roboto_mono/RobotoMono-Italic.ttf | Bin .../assets/fonts/roboto_mono/RobotoMono-Light.ttf | Bin .../fonts/roboto_mono/RobotoMono-LightItalic.ttf | Bin .../assets/fonts/roboto_mono/RobotoMono-Medium.ttf | Bin .../fonts/roboto_mono/RobotoMono-MediumItalic.ttf | Bin .../assets/fonts/roboto_mono/RobotoMono-Regular.ttf | Bin .../assets/fonts/roboto_mono/RobotoMono-Thin.ttf | Bin .../fonts/roboto_mono/RobotoMono-ThinItalic.ttf | Bin .../server-internal}/assets/legacy_dark_theme.css | 0 .../assets/legacy_dark_theme.min.css | 0 .../server-internal}/assets/legacy_light_theme.css | 0 .../assets/legacy_light_theme.min.css | 0 .../apps/server-internal}/assets/legacy_styles.css | 0 .../apps/server-internal}/assets/legacy_theme.js | 0 .../core/packages/apps/server-internal}/index.ts | 0 .../packages/apps/server-internal}/jest.config.js | 4 ++-- .../packages/apps/server-internal}/kibana.jsonc | 0 .../packages/apps/server-internal}/package.json | 0 .../src/bundle_routes/bundle_route.test.mocks.ts | 0 .../src/bundle_routes/bundle_route.test.ts | 0 .../src/bundle_routes/bundles_route.ts | 0 .../bundle_routes/dynamic_asset_response.test.ts | 0 .../src/bundle_routes/dynamic_asset_response.ts | 0 .../src/bundle_routes/file_hash.test.mocks.ts | 0 .../src/bundle_routes/file_hash.test.ts | 0 .../server-internal}/src/bundle_routes/file_hash.ts | 0 .../src/bundle_routes/file_hash_cache.test.ts | 0 .../src/bundle_routes/file_hash_cache.ts | 0 .../apps/server-internal}/src/bundle_routes/fs.ts | 0 .../server-internal}/src/bundle_routes/index.ts | 0 .../register_bundle_routes.test.mocks.ts | 0 .../bundle_routes/register_bundle_routes.test.ts | 0 .../src/bundle_routes/register_bundle_routes.ts | 0 .../src/bundle_routes/select_compressed_file.ts | 0 .../server-internal}/src/bundle_routes/utils.ts | 0 .../server-internal}/src/core_app.test.mocks.ts | 0 .../apps/server-internal}/src/core_app.test.ts | 0 .../packages/apps/server-internal}/src/core_app.ts | 0 .../server-internal}/src/core_app_config.test.ts | 0 .../apps/server-internal}/src/core_app_config.ts | 0 .../packages/apps/server-internal}/src/index.ts | 0 .../apps/server-internal}/src/internal_types.ts | 0 .../packages/apps/server-internal}/tsconfig.json | 2 +- src/dev/build/tasks/create_cdn_assets_task.ts | 8 ++++---- src/dev/build/tasks/replace_favicon.ts | 12 ++++++------ src/dev/precommit_hook/casing_check_config.js | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 101 files changed, 19 insertions(+), 19 deletions(-) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/README.md (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/favicons/favicon.distribution.ico (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/favicons/favicon.distribution.png (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/favicons/favicon.distribution.svg (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/favicons/favicon.ico (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/favicons/favicon.png (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/favicons/favicon.svg (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Black.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Black.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-BlackItalic.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-BlackItalic.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Bold.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Bold.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-BoldItalic.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-BoldItalic.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ExtraBold.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ExtraBold.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ExtraBoldItalic.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ExtraLight.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ExtraLight.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ExtraLightItalic.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ExtraLightItalic.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Italic.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Italic.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Light.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Light.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-LightItalic.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-LightItalic.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Medium.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Medium.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-MediumItalic.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-MediumItalic.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Regular.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Regular.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-SemiBold.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-SemiBold.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-SemiBoldItalic.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-SemiBoldItalic.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Thin.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-Thin.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ThinItalic.woff (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-ThinItalic.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-italic.var.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter-roman.var.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/Inter.var.woff2 (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/inter/LICENSE.txt (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/readme.md (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/LICENSE.txt (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-Bold.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-Italic.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-Light.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-Medium.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-Regular.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-Thin.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/legacy_dark_theme.css (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/legacy_dark_theme.min.css (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/legacy_light_theme.css (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/legacy_light_theme.min.css (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/legacy_styles.css (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/assets/legacy_theme.js (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/index.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/jest.config.js (84%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/kibana.jsonc (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/package.json (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/bundle_route.test.mocks.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/bundle_route.test.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/bundles_route.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/dynamic_asset_response.test.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/dynamic_asset_response.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/file_hash.test.mocks.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/file_hash.test.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/file_hash.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/file_hash_cache.test.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/file_hash_cache.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/fs.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/index.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/register_bundle_routes.test.mocks.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/register_bundle_routes.test.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/register_bundle_routes.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/select_compressed_file.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/bundle_routes/utils.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/core_app.test.mocks.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/core_app.test.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/core_app.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/core_app_config.test.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/core_app_config.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/index.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/src/internal_types.ts (100%) rename {packages/core/apps/core-apps-server-internal => src/core/packages/apps/server-internal}/tsconfig.json (95%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fa7aeb1939ac4..7bc6cb2687541 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -56,7 +56,6 @@ packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core 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/apps/core-apps-server-internal @elastic/kibana-core packages/core/base/core-base-browser-internal @elastic/kibana-core packages/core/base/core-base-browser-mocks @elastic/kibana-core packages/core/base/core-base-common @elastic/kibana-core @@ -559,6 +558,7 @@ src/core/packages/application/browser @elastic/kibana-core src/core/packages/application/browser-internal @elastic/kibana-core src/core/packages/application/common @elastic/kibana-core src/core/packages/apps/browser-internal @elastic/kibana-core +src/core/packages/apps/server-internal @elastic/kibana-core src/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index d592480fa270e..2bc208ea2856b 100644 --- a/package.json +++ b/package.json @@ -255,7 +255,7 @@ "@kbn/core-application-browser-internal": "link:src/core/packages/application/browser-internal", "@kbn/core-application-common": "link:src/core/packages/application/common", "@kbn/core-apps-browser-internal": "link:src/core/packages/apps/browser-internal", - "@kbn/core-apps-server-internal": "link:packages/core/apps/core-apps-server-internal", + "@kbn/core-apps-server-internal": "link:src/core/packages/apps/server-internal", "@kbn/core-base-browser-internal": "link:packages/core/base/core-base-browser-internal", "@kbn/core-base-common": "link:packages/core/base/core-base-common", "@kbn/core-base-common-internal": "link:packages/core/base/core-base-common-internal", diff --git a/packages/core/apps/core-apps-server-internal/README.md b/src/core/packages/apps/server-internal/README.md similarity index 100% rename from packages/core/apps/core-apps-server-internal/README.md rename to src/core/packages/apps/server-internal/README.md diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.ico b/src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.ico similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.ico rename to src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.ico diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.png b/src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.png similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.png rename to src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.png diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.svg b/src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.svg similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.svg rename to src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.svg diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.ico b/src/core/packages/apps/server-internal/assets/favicons/favicon.ico similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.ico rename to src/core/packages/apps/server-internal/assets/favicons/favicon.ico diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.png b/src/core/packages/apps/server-internal/assets/favicons/favicon.png similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.png rename to src/core/packages/apps/server-internal/assets/favicons/favicon.png diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.svg b/src/core/packages/apps/server-internal/assets/favicons/favicon.svg similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.svg rename to src/core/packages/apps/server-internal/assets/favicons/favicon.svg diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-italic.var.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-italic.var.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-italic.var.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-italic.var.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-roman.var.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-roman.var.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-roman.var.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-roman.var.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter.var.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter.var.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter.var.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter.var.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/LICENSE.txt b/src/core/packages/apps/server-internal/assets/fonts/inter/LICENSE.txt similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/LICENSE.txt rename to src/core/packages/apps/server-internal/assets/fonts/inter/LICENSE.txt diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/readme.md b/src/core/packages/apps/server-internal/assets/fonts/readme.md similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/readme.md rename to src/core/packages/apps/server-internal/assets/fonts/readme.md diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/LICENSE.txt b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/LICENSE.txt similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/LICENSE.txt rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/LICENSE.txt diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.css b/src/core/packages/apps/server-internal/assets/legacy_dark_theme.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.css rename to src/core/packages/apps/server-internal/assets/legacy_dark_theme.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.min.css b/src/core/packages/apps/server-internal/assets/legacy_dark_theme.min.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.min.css rename to src/core/packages/apps/server-internal/assets/legacy_dark_theme.min.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.css b/src/core/packages/apps/server-internal/assets/legacy_light_theme.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.css rename to src/core/packages/apps/server-internal/assets/legacy_light_theme.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.min.css b/src/core/packages/apps/server-internal/assets/legacy_light_theme.min.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.min.css rename to src/core/packages/apps/server-internal/assets/legacy_light_theme.min.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_styles.css b/src/core/packages/apps/server-internal/assets/legacy_styles.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_styles.css rename to src/core/packages/apps/server-internal/assets/legacy_styles.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_theme.js b/src/core/packages/apps/server-internal/assets/legacy_theme.js similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_theme.js rename to src/core/packages/apps/server-internal/assets/legacy_theme.js diff --git a/packages/core/apps/core-apps-server-internal/index.ts b/src/core/packages/apps/server-internal/index.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/index.ts rename to src/core/packages/apps/server-internal/index.ts diff --git a/packages/core/apps/core-apps-server-internal/jest.config.js b/src/core/packages/apps/server-internal/jest.config.js similarity index 84% rename from packages/core/apps/core-apps-server-internal/jest.config.js rename to src/core/packages/apps/server-internal/jest.config.js index a8f73275f70a8..50706961a694a 100644 --- a/packages/core/apps/core-apps-server-internal/jest.config.js +++ b/src/core/packages/apps/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/apps/core-apps-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/apps/server-internal'], }; diff --git a/packages/core/apps/core-apps-server-internal/kibana.jsonc b/src/core/packages/apps/server-internal/kibana.jsonc similarity index 100% rename from packages/core/apps/core-apps-server-internal/kibana.jsonc rename to src/core/packages/apps/server-internal/kibana.jsonc diff --git a/packages/core/apps/core-apps-server-internal/package.json b/src/core/packages/apps/server-internal/package.json similarity index 100% rename from packages/core/apps/core-apps-server-internal/package.json rename to src/core/packages/apps/server-internal/package.json diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.mocks.ts b/src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.mocks.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts b/src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.ts b/src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.mocks.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.mocks.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/fs.ts b/src/core/packages/apps/server-internal/src/bundle_routes/fs.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/fs.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/fs.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/index.ts b/src/core/packages/apps/server-internal/src/bundle_routes/index.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/index.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/index.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts b/src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts b/src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/select_compressed_file.ts b/src/core/packages/apps/server-internal/src/bundle_routes/select_compressed_file.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/select_compressed_file.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/select_compressed_file.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/utils.ts b/src/core/packages/apps/server-internal/src/bundle_routes/utils.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/utils.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/utils.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app.test.mocks.ts b/src/core/packages/apps/server-internal/src/core_app.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app.test.mocks.ts rename to src/core/packages/apps/server-internal/src/core_app.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app.test.ts b/src/core/packages/apps/server-internal/src/core_app.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app.test.ts rename to src/core/packages/apps/server-internal/src/core_app.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app.ts b/src/core/packages/apps/server-internal/src/core_app.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app.ts rename to src/core/packages/apps/server-internal/src/core_app.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app_config.test.ts b/src/core/packages/apps/server-internal/src/core_app_config.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app_config.test.ts rename to src/core/packages/apps/server-internal/src/core_app_config.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app_config.ts b/src/core/packages/apps/server-internal/src/core_app_config.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app_config.ts rename to src/core/packages/apps/server-internal/src/core_app_config.ts diff --git a/packages/core/apps/core-apps-server-internal/src/index.ts b/src/core/packages/apps/server-internal/src/index.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/index.ts rename to src/core/packages/apps/server-internal/src/index.ts diff --git a/packages/core/apps/core-apps-server-internal/src/internal_types.ts b/src/core/packages/apps/server-internal/src/internal_types.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/internal_types.ts rename to src/core/packages/apps/server-internal/src/internal_types.ts diff --git a/packages/core/apps/core-apps-server-internal/tsconfig.json b/src/core/packages/apps/server-internal/tsconfig.json similarity index 95% rename from packages/core/apps/core-apps-server-internal/tsconfig.json rename to src/core/packages/apps/server-internal/tsconfig.json index cc84d62f4faa4..5fc120ad7dc15 100644 --- a/packages/core/apps/core-apps-server-internal/tsconfig.json +++ b/src/core/packages/apps/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/src/dev/build/tasks/create_cdn_assets_task.ts b/src/dev/build/tasks/create_cdn_assets_task.ts index c7316a9030c98..97e6dc884fd1e 100644 --- a/src/dev/build/tasks/create_cdn_assets_task.ts +++ b/src/dev/build/tasks/create_cdn_assets_task.ts @@ -51,7 +51,7 @@ export const CreateCdnAssets: Task = { const manifest = Jsonc.parse(readFileSync(path, 'utf8')) as any; if (manifest?.plugin?.id) { const pluginRoot = resolve(dirname(path)); - // packages/core/apps/core-apps-server-internal/src/core_app.ts + // src/core/packages/apps/server-internal/src/core_app.ts const assetsSource = resolve(pluginRoot, 'public', 'assets'); const assetsDest = resolve(assets, buildSha, 'plugins', manifest.plugin.id, 'assets'); try { @@ -63,7 +63,7 @@ export const CreateCdnAssets: Task = { } try { - // packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts + // src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts const bundlesSource = resolve(pluginRoot, 'target', 'public'); const bundlesDest = resolve(bundles, 'plugin', manifest.plugin.id, '1.0.0'); await access(bundlesSource); @@ -76,7 +76,7 @@ export const CreateCdnAssets: Task = { } }); - // packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts + // src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts await copyAll( resolve(buildSource, 'node_modules/@kbn/ui-shared-deps-npm/shared_built_assets'), resolve(bundles, 'kbn-ui-shared-deps-npm') @@ -94,7 +94,7 @@ export const CreateCdnAssets: Task = { resolve(bundles, 'kbn-monaco') ); - // packages/core/apps/core-apps-server-internal/src/core_app.ts + // src/core/packages/apps/server-internal/src/core_app.ts await copyAll( resolve(buildSource, 'node_modules/@kbn/core-apps-server-internal/assets'), resolve(assets, buildSha, 'ui') diff --git a/src/dev/build/tasks/replace_favicon.ts b/src/dev/build/tasks/replace_favicon.ts index b2f63d40aba1c..4b55c0a6b749d 100644 --- a/src/dev/build/tasks/replace_favicon.ts +++ b/src/dev/build/tasks/replace_favicon.ts @@ -15,23 +15,23 @@ export const ReplaceFavicon: Task = { async run(config, log, build) { await copy( config.resolveFromRepo( - 'packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.ico' + 'src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.ico' ), - build.resolvePath('packages/core/apps/core-apps-server-internal/assets/favicons/favicon.ico') + build.resolvePath('src/core/packages/apps/server-internal/assets/favicons/favicon.ico') ); await copy( config.resolveFromRepo( - 'packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.png' + 'src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.png' ), - build.resolvePath('packages/core/apps/core-apps-server-internal/assets/favicons/favicon.png') + build.resolvePath('src/core/packages/apps/server-internal/assets/favicons/favicon.png') ); await copy( config.resolveFromRepo( - 'packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.svg' + 'src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.svg' ), - build.resolvePath('packages/core/apps/core-apps-server-internal/assets/favicons/favicon.svg') + build.resolvePath('src/core/packages/apps/server-internal/assets/favicons/favicon.svg') ); }, }; diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 30383559e7fe0..d6b4c60749130 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -36,7 +36,7 @@ export const IGNORE_FILE_GLOBS = [ '**/.*', '**/__mocks__/**/*', 'x-pack/docs/**/*', - 'packages/core/apps/core-apps-server-internal/assets/fonts/**/*', + 'src/core/packages/apps/server-internal/assets/fonts/**/*', 'src/dev/code_coverage/ingest_coverage/integration_tests/mocks/**/*', 'packages/kbn-utility-types/test-d/**/*', 'Dockerfile*', diff --git a/tsconfig.base.json b/tsconfig.base.json index b913dad0c2a63..1b31e2af8a616 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -260,8 +260,8 @@ "@kbn/core-apps-browser-internal/*": ["src/core/packages/apps/browser-internal/*"], "@kbn/core-apps-browser-mocks": ["packages/core/apps/core-apps-browser-mocks"], "@kbn/core-apps-browser-mocks/*": ["packages/core/apps/core-apps-browser-mocks/*"], - "@kbn/core-apps-server-internal": ["packages/core/apps/core-apps-server-internal"], - "@kbn/core-apps-server-internal/*": ["packages/core/apps/core-apps-server-internal/*"], + "@kbn/core-apps-server-internal": ["src/core/packages/apps/server-internal"], + "@kbn/core-apps-server-internal/*": ["src/core/packages/apps/server-internal/*"], "@kbn/core-base-browser-internal": ["packages/core/base/core-base-browser-internal"], "@kbn/core-base-browser-internal/*": ["packages/core/base/core-base-browser-internal/*"], "@kbn/core-base-browser-mocks": ["packages/core/base/core-base-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 1951b4ad83eea..a0711fc2678de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4333,7 +4333,7 @@ version "0.0.0" uid "" -"@kbn/core-apps-server-internal@link:packages/core/apps/core-apps-server-internal": +"@kbn/core-apps-server-internal@link:src/core/packages/apps/server-internal": version "0.0.0" uid "" From 14a42399a16e9ee7c7b337116f09eeb8ff574541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:28:58 +0100 Subject: [PATCH 023/183] Relocating module `@kbn/core-base-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/base/browser-internal}/README.md | 0 .../core/packages/base/browser-internal}/index.ts | 0 .../core/packages/base/browser-internal}/jest.config.js | 4 ++-- .../core/packages/base/browser-internal}/kibana.jsonc | 0 .../core/packages/base/browser-internal}/package.json | 0 .../core/packages/base/browser-internal}/src/core_context.ts | 0 .../core/packages/base/browser-internal}/src/services.ts | 0 .../core/packages/base/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) rename {packages/core/base/core-base-browser-internal => src/core/packages/base/browser-internal}/README.md (100%) rename {packages/core/base/core-base-browser-internal => src/core/packages/base/browser-internal}/index.ts (100%) rename {packages/core/base/core-base-browser-internal => src/core/packages/base/browser-internal}/jest.config.js (84%) rename {packages/core/base/core-base-browser-internal => src/core/packages/base/browser-internal}/kibana.jsonc (100%) rename {packages/core/base/core-base-browser-internal => src/core/packages/base/browser-internal}/package.json (100%) rename {packages/core/base/core-base-browser-internal => src/core/packages/base/browser-internal}/src/core_context.ts (100%) rename {packages/core/base/core-base-browser-internal => src/core/packages/base/browser-internal}/src/services.ts (100%) rename {packages/core/base/core-base-browser-internal => src/core/packages/base/browser-internal}/tsconfig.json (86%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7bc6cb2687541..81bffe6063f1c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -56,7 +56,6 @@ packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core 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-internal @elastic/kibana-core packages/core/base/core-base-browser-mocks @elastic/kibana-core packages/core/base/core-base-common @elastic/kibana-core packages/core/base/core-base-common-internal @elastic/kibana-core @@ -559,6 +558,7 @@ src/core/packages/application/browser-internal @elastic/kibana-core src/core/packages/application/common @elastic/kibana-core 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 2bc208ea2856b..dcff68001ee25 100644 --- a/package.json +++ b/package.json @@ -256,7 +256,7 @@ "@kbn/core-application-common": "link:src/core/packages/application/common", "@kbn/core-apps-browser-internal": "link:src/core/packages/apps/browser-internal", "@kbn/core-apps-server-internal": "link:src/core/packages/apps/server-internal", - "@kbn/core-base-browser-internal": "link:packages/core/base/core-base-browser-internal", + "@kbn/core-base-browser-internal": "link:src/core/packages/base/browser-internal", "@kbn/core-base-common": "link:packages/core/base/core-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", diff --git a/packages/core/base/core-base-browser-internal/README.md b/src/core/packages/base/browser-internal/README.md similarity index 100% rename from packages/core/base/core-base-browser-internal/README.md rename to src/core/packages/base/browser-internal/README.md diff --git a/packages/core/base/core-base-browser-internal/index.ts b/src/core/packages/base/browser-internal/index.ts similarity index 100% rename from packages/core/base/core-base-browser-internal/index.ts rename to src/core/packages/base/browser-internal/index.ts diff --git a/packages/core/base/core-base-browser-internal/jest.config.js b/src/core/packages/base/browser-internal/jest.config.js similarity index 84% rename from packages/core/base/core-base-browser-internal/jest.config.js rename to src/core/packages/base/browser-internal/jest.config.js index 3456994fafa4b..b4bdea09b3803 100644 --- a/packages/core/base/core-base-browser-internal/jest.config.js +++ b/src/core/packages/base/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/base/core-base-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/base/browser-internal'], }; diff --git a/packages/core/base/core-base-browser-internal/kibana.jsonc b/src/core/packages/base/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/base/core-base-browser-internal/kibana.jsonc rename to src/core/packages/base/browser-internal/kibana.jsonc diff --git a/packages/core/base/core-base-browser-internal/package.json b/src/core/packages/base/browser-internal/package.json similarity index 100% rename from packages/core/base/core-base-browser-internal/package.json rename to src/core/packages/base/browser-internal/package.json diff --git a/packages/core/base/core-base-browser-internal/src/core_context.ts b/src/core/packages/base/browser-internal/src/core_context.ts similarity index 100% rename from packages/core/base/core-base-browser-internal/src/core_context.ts rename to src/core/packages/base/browser-internal/src/core_context.ts diff --git a/packages/core/base/core-base-browser-internal/src/services.ts b/src/core/packages/base/browser-internal/src/services.ts similarity index 100% rename from packages/core/base/core-base-browser-internal/src/services.ts rename to src/core/packages/base/browser-internal/src/services.ts diff --git a/packages/core/base/core-base-browser-internal/tsconfig.json b/src/core/packages/base/browser-internal/tsconfig.json similarity index 86% rename from packages/core/base/core-base-browser-internal/tsconfig.json rename to src/core/packages/base/browser-internal/tsconfig.json index a3e5d5fc950b9..6ee4dfcc17547 100644 --- a/packages/core/base/core-base-browser-internal/tsconfig.json +++ b/src/core/packages/base/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 1b31e2af8a616..6424cf2a725f6 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -262,8 +262,8 @@ "@kbn/core-apps-browser-mocks/*": ["packages/core/apps/core-apps-browser-mocks/*"], "@kbn/core-apps-server-internal": ["src/core/packages/apps/server-internal"], "@kbn/core-apps-server-internal/*": ["src/core/packages/apps/server-internal/*"], - "@kbn/core-base-browser-internal": ["packages/core/base/core-base-browser-internal"], - "@kbn/core-base-browser-internal/*": ["packages/core/base/core-base-browser-internal/*"], + "@kbn/core-base-browser-internal": ["src/core/packages/base/browser-internal"], + "@kbn/core-base-browser-internal/*": ["src/core/packages/base/browser-internal/*"], "@kbn/core-base-browser-mocks": ["packages/core/base/core-base-browser-mocks"], "@kbn/core-base-browser-mocks/*": ["packages/core/base/core-base-browser-mocks/*"], "@kbn/core-base-common": ["packages/core/base/core-base-common"], diff --git a/yarn.lock b/yarn.lock index a0711fc2678de..1b7d5fe14f9bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4337,7 +4337,7 @@ version "0.0.0" uid "" -"@kbn/core-base-browser-internal@link:packages/core/base/core-base-browser-internal": +"@kbn/core-base-browser-internal@link:src/core/packages/base/browser-internal": version "0.0.0" uid "" From 98966f5beb28b12a4edafc2f85b4110e5f89d357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:30:00 +0100 Subject: [PATCH 024/183] Relocating module `@kbn/core-base-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- packages/react/kibana_context/root/BUILD.bazel | 2 +- .../core/packages/base/common}/BUILD.bazel | 0 .../core/packages/base/common}/README.md | 0 .../core/packages/base/common}/index.ts | 0 .../core/packages/base/common}/jest.config.js | 4 ++-- .../core/packages/base/common}/kibana.jsonc | 0 .../core/packages/base/common}/package.json | 0 .../core/packages/base/common}/src/eui.ts | 0 .../core/packages/base/common}/src/plugins.ts | 0 .../core/packages/base/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 9 insertions(+), 9 deletions(-) rename {packages/core/base/core-base-common => src/core/packages/base/common}/BUILD.bazel (100%) rename {packages/core/base/core-base-common => src/core/packages/base/common}/README.md (100%) rename {packages/core/base/core-base-common => src/core/packages/base/common}/index.ts (100%) rename {packages/core/base/core-base-common => src/core/packages/base/common}/jest.config.js (85%) rename {packages/core/base/core-base-common => src/core/packages/base/common}/kibana.jsonc (100%) rename {packages/core/base/core-base-common => src/core/packages/base/common}/package.json (100%) rename {packages/core/base/core-base-common => src/core/packages/base/common}/src/eui.ts (100%) rename {packages/core/base/core-base-common => src/core/packages/base/common}/src/plugins.ts (100%) rename {packages/core/base/core-base-common => src/core/packages/base/common}/tsconfig.json (81%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 81bffe6063f1c..713bc70df8fcd 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -57,7 +57,6 @@ 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 @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 @@ -559,6 +558,7 @@ src/core/packages/application/common @elastic/kibana-core 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index dcff68001ee25..f07cfba011dac 100644 --- a/package.json +++ b/package.json @@ -257,7 +257,7 @@ "@kbn/core-apps-browser-internal": "link:src/core/packages/apps/browser-internal", "@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:packages/core/base/core-base-common", + "@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", diff --git a/packages/react/kibana_context/root/BUILD.bazel b/packages/react/kibana_context/root/BUILD.bazel index fc073da074a61..e78f513deeac6 100644 --- a/packages/react/kibana_context/root/BUILD.bazel +++ b/packages/react/kibana_context/root/BUILD.bazel @@ -25,7 +25,7 @@ DEPS = [ "@npm//react", "@npm//tslib", "@npm//@elastic/eui", - "//packages/core/base/core-base-common", + "//src/core/packages/base/common:core-base-common", "//packages/shared-ux/router/impl:shared-ux-router", ] diff --git a/packages/core/base/core-base-common/BUILD.bazel b/src/core/packages/base/common/BUILD.bazel similarity index 100% rename from packages/core/base/core-base-common/BUILD.bazel rename to src/core/packages/base/common/BUILD.bazel diff --git a/packages/core/base/core-base-common/README.md b/src/core/packages/base/common/README.md similarity index 100% rename from packages/core/base/core-base-common/README.md rename to src/core/packages/base/common/README.md diff --git a/packages/core/base/core-base-common/index.ts b/src/core/packages/base/common/index.ts similarity index 100% rename from packages/core/base/core-base-common/index.ts rename to src/core/packages/base/common/index.ts diff --git a/packages/core/base/core-base-common/jest.config.js b/src/core/packages/base/common/jest.config.js similarity index 85% rename from packages/core/base/core-base-common/jest.config.js rename to src/core/packages/base/common/jest.config.js index 2d868d29fa4bf..8d4d5a7856044 100644 --- a/packages/core/base/core-base-common/jest.config.js +++ b/src/core/packages/base/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/base/core-base-common'], + rootDir: '../../../../..', + roots: ['/src/core/packages/base/common'], }; diff --git a/packages/core/base/core-base-common/kibana.jsonc b/src/core/packages/base/common/kibana.jsonc similarity index 100% rename from packages/core/base/core-base-common/kibana.jsonc rename to src/core/packages/base/common/kibana.jsonc diff --git a/packages/core/base/core-base-common/package.json b/src/core/packages/base/common/package.json similarity index 100% rename from packages/core/base/core-base-common/package.json rename to src/core/packages/base/common/package.json diff --git a/packages/core/base/core-base-common/src/eui.ts b/src/core/packages/base/common/src/eui.ts similarity index 100% rename from packages/core/base/core-base-common/src/eui.ts rename to src/core/packages/base/common/src/eui.ts diff --git a/packages/core/base/core-base-common/src/plugins.ts b/src/core/packages/base/common/src/plugins.ts similarity index 100% rename from packages/core/base/core-base-common/src/plugins.ts rename to src/core/packages/base/common/src/plugins.ts diff --git a/packages/core/base/core-base-common/tsconfig.json b/src/core/packages/base/common/tsconfig.json similarity index 81% rename from packages/core/base/core-base-common/tsconfig.json rename to src/core/packages/base/common/tsconfig.json index 40ac62b671e04..20ffd85947c56 100644 --- a/packages/core/base/core-base-common/tsconfig.json +++ b/src/core/packages/base/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 6424cf2a725f6..a2915b14da777 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -266,8 +266,8 @@ "@kbn/core-base-browser-internal/*": ["src/core/packages/base/browser-internal/*"], "@kbn/core-base-browser-mocks": ["packages/core/base/core-base-browser-mocks"], "@kbn/core-base-browser-mocks/*": ["packages/core/base/core-base-browser-mocks/*"], - "@kbn/core-base-common": ["packages/core/base/core-base-common"], - "@kbn/core-base-common/*": ["packages/core/base/core-base-common/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index 1b7d5fe14f9bd..7919e87b8fa47 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4349,7 +4349,7 @@ version "0.0.0" uid "" -"@kbn/core-base-common@link:packages/core/base/core-base-common": +"@kbn/core-base-common@link:src/core/packages/base/common": version "0.0.0" uid "" From a642a41639f2c3b01ff401e34a6fc2060be1187e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:31:31 +0100 Subject: [PATCH 025/183] Relocating module `@kbn/core-base-common-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/base/common-internal}/README.md | 0 .../core/packages/base/common-internal}/index.ts | 0 .../core/packages/base/common-internal}/jest.config.js | 4 ++-- .../core/packages/base/common-internal}/kibana.jsonc | 0 .../core/packages/base/common-internal}/package.json | 0 .../core/packages/base/common-internal}/src/core.ts | 0 .../core/packages/base/common-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/base/core-base-common-internal => src/core/packages/base/common-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 713bc70df8fcd..cf2c17d980eed 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -57,7 +57,6 @@ 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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index f07cfba011dac..761301182a2ca 100644 --- a/package.json +++ b/package.json @@ -258,7 +258,7 @@ "@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-common-internal": "link:src/core/packages/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", 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/packages/core/base/core-base-common-internal/jest.config.js b/src/core/packages/base/common-internal/jest.config.js similarity index 84% rename from packages/core/base/core-base-common-internal/jest.config.js rename to src/core/packages/base/common-internal/jest.config.js index 3c0666e8aadb6..a941ae715bdc7 100644 --- a/packages/core/base/core-base-common-internal/jest.config.js +++ b/src/core/packages/base/common-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/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/tsconfig.base.json b/tsconfig.base.json index a2915b14da777..dc688c248b3fe 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -268,8 +268,8 @@ "@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-common-internal": ["src/core/packages/base/common-internal"], + "@kbn/core-base-common-internal/*": ["src/core/packages/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-server-mocks": ["packages/core/base/core-base-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 7919e87b8fa47..5f8c993ab4d5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4345,7 +4345,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 "" From 2c4a0fdcac6e66111538a0ea69e52bdb2506b721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:33:04 +0100 Subject: [PATCH 026/183] Relocating module `@kbn/core-base-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/base/server-internal}/README.md | 0 .../core/packages/base/server-internal}/index.ts | 0 .../core/packages/base/server-internal}/jest.config.js | 4 ++-- .../core/packages/base/server-internal}/kibana.jsonc | 0 .../core/packages/base/server-internal}/package.json | 0 .../core/packages/base/server-internal}/src/config.ts | 0 .../core/packages/base/server-internal}/src/core_context.ts | 0 .../core/packages/base/server-internal}/src/errors.ts | 0 .../core/packages/base/server-internal}/src/regexp.ts | 0 .../core/packages/base/server-internal}/src/services.ts | 0 .../core/packages/base/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) 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/base/core-base-server-internal => src/core/packages/base/server-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index cf2c17d980eed..dc190d67b23e5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -57,7 +57,6 @@ 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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 761301182a2ca..75de1d326391c 100644 --- a/package.json +++ b/package.json @@ -259,7 +259,7 @@ "@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:src/core/packages/base/common-internal", - "@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", "@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", 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/base/core-base-server-internal/jest.config.js b/src/core/packages/base/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/base/server-internal/jest.config.js index 916990ebba57f..ca22374b8703c 100644 --- a/packages/core/base/core-base-server-internal/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/base/core-base-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index dc688c248b3fe..4bd58c955e07f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -270,8 +270,8 @@ "@kbn/core-base-common/*": ["src/core/packages/base/common/*"], "@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": ["packages/core/base/core-base-server-internal"], - "@kbn/core-base-server-internal/*": ["packages/core/base/core-base-server-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"], diff --git a/yarn.lock b/yarn.lock index 5f8c993ab4d5c..bf33c7e30bd9a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4353,7 +4353,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 "" From 9dc18b611427e3ea72a565e17263f46f573eff81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:34:27 +0100 Subject: [PATCH 027/183] Relocating module `@kbn/core-capabilities-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/capabilities/browser-internal}/README.md | 0 .../core/packages/capabilities/browser-internal}/index.ts | 0 .../packages/capabilities/browser-internal}/jest.config.js | 4 ++-- .../core/packages/capabilities/browser-internal}/kibana.jsonc | 0 .../core/packages/capabilities/browser-internal}/package.json | 0 .../browser-internal}/src/capabilities_service.test.ts | 0 .../browser-internal}/src/capabilities_service.tsx | 0 .../packages/capabilities/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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/capabilities/core-capabilities-browser-internal => src/core/packages/capabilities/browser-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index dc190d67b23e5..f603efd0a600c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -58,7 +58,6 @@ 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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 75de1d326391c..d1d19e9606480 100644 --- a/package.json +++ b/package.json @@ -260,7 +260,7 @@ "@kbn/core-base-common": "link:src/core/packages/base/common", "@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:packages/core/capabilities/core-capabilities-browser-internal", + "@kbn/core-capabilities-browser-internal": "link:src/core/packages/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", 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/capabilities/core-capabilities-browser-internal/jest.config.js b/src/core/packages/capabilities/browser-internal/jest.config.js similarity index 82% rename from packages/core/capabilities/core-capabilities-browser-internal/jest.config.js rename to src/core/packages/capabilities/browser-internal/jest.config.js index 48851c9662315..4c9c93f190143 100644 --- a/packages/core/capabilities/core-capabilities-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/capabilities/core-capabilities-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/tsconfig.base.json b/tsconfig.base.json index 4bd58c955e07f..84853d0de74df 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -274,8 +274,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index bf33c7e30bd9a..04689f1885df5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4361,7 +4361,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 "" From e6eb1896783444041a5249e03aabc1449f59cad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:36:19 +0100 Subject: [PATCH 028/183] Relocating module `@kbn/core-capabilities-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/capabilities/common}/README.md | 0 .../core/packages/capabilities/common}/index.ts | 0 .../core/packages/capabilities/common}/jest.config.js | 4 ++-- .../core/packages/capabilities/common}/kibana.jsonc | 0 .../core/packages/capabilities/common}/package.json | 0 .../core/packages/capabilities/common}/src/capabilities.ts | 0 .../core/packages/capabilities/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/capabilities/core-capabilities-common => src/core/packages/capabilities/common}/jest.config.js (83%) 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/capabilities/core-capabilities-common => src/core/packages/capabilities/common}/tsconfig.json (78%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f603efd0a600c..2ea0dd88c8eed 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -59,7 +59,6 @@ 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-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index d1d19e9606480..3d307aaaafc03 100644 --- a/package.json +++ b/package.json @@ -261,7 +261,7 @@ "@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:packages/core/capabilities/core-capabilities-common", + "@kbn/core-capabilities-common": "link:src/core/packages/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-chrome-browser": "link:packages/core/chrome/core-chrome-browser", 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/packages/core/capabilities/core-capabilities-common/jest.config.js b/src/core/packages/capabilities/common/jest.config.js similarity index 83% rename from packages/core/capabilities/core-capabilities-common/jest.config.js rename to src/core/packages/capabilities/common/jest.config.js index b77a838daf989..0886a4b99521c 100644 --- a/packages/core/capabilities/core-capabilities-common/jest.config.js +++ b/src/core/packages/capabilities/common/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/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/capabilities/core-capabilities-common/tsconfig.json b/src/core/packages/capabilities/common/tsconfig.json similarity index 78% rename from packages/core/capabilities/core-capabilities-common/tsconfig.json rename to src/core/packages/capabilities/common/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/capabilities/core-capabilities-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/tsconfig.base.json b/tsconfig.base.json index 84853d0de74df..a8f1174501564 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -278,8 +278,8 @@ "@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-common": ["src/core/packages/capabilities/common"], + "@kbn/core-capabilities-common/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 04689f1885df5..845449aed14b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4369,7 +4369,7 @@ 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 "" From 5539644692a7cf1676eec31f453343c800b267bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:37:54 +0100 Subject: [PATCH 029/183] Relocating module `@kbn/core-capabilities-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/capabilities/server}/README.md | 0 .../core/packages/capabilities/server}/index.ts | 0 .../core/packages/capabilities/server}/jest.config.js | 4 ++-- .../core/packages/capabilities/server}/kibana.jsonc | 0 .../core/packages/capabilities/server}/package.json | 0 .../core/packages/capabilities/server}/src/capabilities.ts | 0 .../core/packages/capabilities/server}/src/contracts.ts | 0 .../core/packages/capabilities/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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/capabilities/core-capabilities-server => src/core/packages/capabilities/server}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2ea0dd88c8eed..0c72b6201ff89 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -59,7 +59,6 @@ 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-server-mocks @elastic/kibana-core packages/core/capabilities/core-capabilities-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 3d307aaaafc03..2d2aff39bcb56 100644 --- a/package.json +++ b/package.json @@ -262,7 +262,7 @@ "@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:packages/core/capabilities/core-capabilities-server", + "@kbn/core-capabilities-server": "link:src/core/packages/capabilities/server", "@kbn/core-capabilities-server-internal": "link:packages/core/capabilities/core-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", 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/capabilities/core-capabilities-server/jest.config.js b/src/core/packages/capabilities/server/jest.config.js similarity index 83% rename from packages/core/capabilities/core-capabilities-server/jest.config.js rename to src/core/packages/capabilities/server/jest.config.js index 5f711b34aa83d..0f78f632e54b2 100644 --- a/packages/core/capabilities/core-capabilities-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/capabilities/core-capabilities-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/tsconfig.base.json b/tsconfig.base.json index a8f1174501564..4922e84168211 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -280,8 +280,8 @@ "@kbn/core-capabilities-browser-mocks/*": ["packages/core/capabilities/core-capabilities-browser-mocks/*"], "@kbn/core-capabilities-common": ["src/core/packages/capabilities/common"], "@kbn/core-capabilities-common/*": ["src/core/packages/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": ["src/core/packages/capabilities/server"], + "@kbn/core-capabilities-server/*": ["src/core/packages/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-server-mocks": ["packages/core/capabilities/core-capabilities-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 845449aed14b8..e133a22dde631 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4381,7 +4381,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 "" From 81417fd841adec813c276eba62077af99970cfb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:39:27 +0100 Subject: [PATCH 030/183] Relocating module `@kbn/core-capabilities-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/capabilities/server-internal}/README.md | 0 .../core/packages/capabilities/server-internal}/index.ts | 0 .../packages/capabilities/server-internal}/jest.config.js | 4 ++-- .../core/packages/capabilities/server-internal}/kibana.jsonc | 0 .../core/packages/capabilities/server-internal}/package.json | 0 .../server-internal}/src/capabilities_service.test.ts | 0 .../capabilities/server-internal}/src/capabilities_service.ts | 0 .../server-internal}/src/merge_capabilities.test.ts | 0 .../capabilities/server-internal}/src/merge_capabilities.ts | 0 .../server-internal}/src/resolve_capabilities.test.mocks.ts | 0 .../server-internal}/src/resolve_capabilities.test.ts | 0 .../capabilities/server-internal}/src/resolve_capabilities.ts | 0 .../capabilities/server-internal}/src/resolve_helpers.test.ts | 0 .../capabilities/server-internal}/src/resolve_helpers.ts | 0 .../capabilities/server-internal}/src/routes/index.ts | 0 .../server-internal}/src/routes/resolve_capabilities.ts | 0 .../core/packages/capabilities/server-internal}/src/types.ts | 0 .../core/packages/capabilities/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 22 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/capabilities/core-capabilities-server-internal => src/core/packages/capabilities/server-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0c72b6201ff89..ef7180a35b661 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -59,7 +59,6 @@ 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-server-mocks @elastic/kibana-core packages/core/capabilities/core-capabilities-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 2d2aff39bcb56..56743ea2901fd 100644 --- a/package.json +++ b/package.json @@ -263,7 +263,7 @@ "@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:packages/core/capabilities/core-capabilities-server-internal", + "@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", 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/packages/core/capabilities/core-capabilities-server-internal/jest.config.js b/src/core/packages/capabilities/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/capabilities/server-internal/jest.config.js index fe6f7746ab5cb..3fb4df2f05648 100644 --- a/packages/core/capabilities/core-capabilities-server-internal/jest.config.js +++ b/src/core/packages/capabilities/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/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/tsconfig.base.json b/tsconfig.base.json index 4922e84168211..a5e830148f06e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -282,8 +282,8 @@ "@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": ["packages/core/capabilities/core-capabilities-server-internal"], - "@kbn/core-capabilities-server-internal/*": ["packages/core/capabilities/core-capabilities-server-internal/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index e133a22dde631..e330b6f462246 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4373,7 +4373,7 @@ 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 "" From 967c901e72ad0c204bbeb32d05c318bdec34dd6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:41:01 +0100 Subject: [PATCH 031/183] Relocating module `@kbn/core-config-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/config/server-internal}/README.md | 0 .../core/packages/config/server-internal}/index.ts | 0 .../core/packages/config/server-internal}/jest.config.js | 4 ++-- .../core/packages/config/server-internal}/kibana.jsonc | 0 .../core/packages/config/server-internal}/package.json | 0 .../src/deprecation/core_deprecations.test.ts | 0 .../server-internal}/src/deprecation/core_deprecations.ts | 0 .../packages/config/server-internal}/src/deprecation/index.ts | 0 .../server-internal}/src/ensure_valid_configuration.test.ts | 0 .../config/server-internal}/src/ensure_valid_configuration.ts | 0 .../core/packages/config/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/config/core-config-server-internal => src/core/packages/config/server-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ef7180a35b661..1a39124cc9ae1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -63,7 +63,6 @@ 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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 56743ea2901fd..5def1edc4df35 100644 --- a/package.json +++ b/package.json @@ -266,7 +266,7 @@ "@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", 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/packages/core/config/core-config-server-internal/jest.config.js b/src/core/packages/config/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/config/server-internal/jest.config.js index a9b0fc1152b94..20d13dd912c31 100644 --- a/packages/core/config/core-config-server-internal/jest.config.js +++ b/src/core/packages/config/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/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/tsconfig.base.json b/tsconfig.base.json index a5e830148f06e..37a44d97d88a3 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -292,8 +292,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"], diff --git a/yarn.lock b/yarn.lock index e330b6f462246..1a2db5c1f8274 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4397,7 +4397,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 "" From 212d6a9a38c18692dda26f0caebc323bce2c3ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:42:37 +0100 Subject: [PATCH 032/183] Relocating module `@kbn/core-deprecations-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/deprecations/browser}/README.md | 0 .../core/packages/deprecations/browser}/index.ts | 0 .../core/packages/deprecations/browser}/jest.config.js | 4 ++-- .../core/packages/deprecations/browser}/kibana.jsonc | 0 .../core/packages/deprecations/browser}/package.json | 0 .../core/packages/deprecations/browser}/src/contracts.ts | 0 .../core/packages/deprecations/browser}/src/types.ts | 0 .../core/packages/deprecations/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/deprecations/core-deprecations-browser => src/core/packages/deprecations/browser}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1a39124cc9ae1..9384859074240 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -70,7 +70,6 @@ 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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 5def1edc4df35..598dad896a99a 100644 --- a/package.json +++ b/package.json @@ -274,7 +274,7 @@ "@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": "link:src/core/packages/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", 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/packages/core/deprecations/core-deprecations-browser/jest.config.js b/src/core/packages/deprecations/browser/jest.config.js similarity index 83% rename from packages/core/deprecations/core-deprecations-browser/jest.config.js rename to src/core/packages/deprecations/browser/jest.config.js index 73e2ee91c6df0..b638fa237f12d 100644 --- a/packages/core/deprecations/core-deprecations-browser/jest.config.js +++ b/src/core/packages/deprecations/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/deprecations/core-deprecations-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index 37a44d97d88a3..7155b5e9008b0 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -308,8 +308,8 @@ "@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": ["src/core/packages/deprecations/browser"], + "@kbn/core-deprecations-browser/*": ["src/core/packages/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-mocks": ["packages/core/deprecations/core-deprecations-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 1a2db5c1f8274..9aaee2735b7b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4437,7 +4437,7 @@ 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 "" From a4a1f7346b068435f37d7ae1e490ccab1bba73ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:44:10 +0100 Subject: [PATCH 033/183] Relocating module `@kbn/core-deprecations-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/deprecations/browser-internal}/README.md | 0 .../core/packages/deprecations/browser-internal}/index.ts | 0 .../packages/deprecations/browser-internal}/jest.config.js | 4 ++-- .../core/packages/deprecations/browser-internal}/kibana.jsonc | 0 .../core/packages/deprecations/browser-internal}/package.json | 0 .../browser-internal}/src/deprecations_client.test.ts | 0 .../deprecations/browser-internal}/src/deprecations_client.ts | 0 .../browser-internal}/src/deprecations_service.ts | 0 .../packages/deprecations/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/deprecations/core-deprecations-browser-internal => src/core/packages/deprecations/browser-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9384859074240..29f01fbef8ffa 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -70,7 +70,6 @@ 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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 598dad896a99a..78c53a028dc68 100644 --- a/package.json +++ b/package.json @@ -275,7 +275,7 @@ "@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:src/core/packages/deprecations/browser", - "@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", "@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", 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/packages/core/deprecations/core-deprecations-browser-internal/jest.config.js b/src/core/packages/deprecations/browser-internal/jest.config.js similarity index 82% rename from packages/core/deprecations/core-deprecations-browser-internal/jest.config.js rename to src/core/packages/deprecations/browser-internal/jest.config.js index aac87e6e27ec2..42d0a7945ee1c 100644 --- a/packages/core/deprecations/core-deprecations-browser-internal/jest.config.js +++ b/src/core/packages/deprecations/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/deprecations/core-deprecations-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 7155b5e9008b0..8046963366f87 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -310,8 +310,8 @@ "@kbn/core-custom-branding-server-mocks/*": ["packages/core/custom-branding/core-custom-branding-server-mocks/*"], "@kbn/core-deprecations-browser": ["src/core/packages/deprecations/browser"], "@kbn/core-deprecations-browser/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index 9aaee2735b7b9..df0add4ddc0fa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4429,7 +4429,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 "" From 1942eea5dda9fc807c586d7c6b2964eabd22abaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:45:55 +0100 Subject: [PATCH 034/183] Relocating module `@kbn/core-deprecations-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/deprecations/common}/README.md | 0 .../core/packages/deprecations/common}/index.ts | 0 .../core/packages/deprecations/common}/jest.config.js | 4 ++-- .../core/packages/deprecations/common}/kibana.jsonc | 0 .../core/packages/deprecations/common}/package.json | 0 .../core/packages/deprecations/common}/src/types.ts | 0 .../core/packages/deprecations/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/deprecations/core-deprecations-common => src/core/packages/deprecations/common}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 29f01fbef8ffa..3d551a3d03b8a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -71,7 +71,6 @@ packages/core/custom-branding/core-custom-branding-server @elastic/appex-sharedu 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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 78c53a028dc68..6ef12f1bf1ccc 100644 --- a/package.json +++ b/package.json @@ -276,7 +276,7 @@ "@kbn/core-custom-branding-server-mocks": "link:packages/core/custom-branding/core-custom-branding-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:packages/core/deprecations/core-deprecations-common", + "@kbn/core-deprecations-common": "link:src/core/packages/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", 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/packages/core/deprecations/core-deprecations-common/jest.config.js b/src/core/packages/deprecations/common/jest.config.js similarity index 83% rename from packages/core/deprecations/core-deprecations-common/jest.config.js rename to src/core/packages/deprecations/common/jest.config.js index effd314a5038d..d89919f593f09 100644 --- a/packages/core/deprecations/core-deprecations-common/jest.config.js +++ b/src/core/packages/deprecations/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/deprecations/core-deprecations-common'], + 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/tsconfig.base.json b/tsconfig.base.json index 8046963366f87..f3c2525631df6 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -314,8 +314,8 @@ "@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-common": ["src/core/packages/deprecations/common"], + "@kbn/core-deprecations-common/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index df0add4ddc0fa..edb288e7e01ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4441,7 +4441,7 @@ 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 "" From 2af88df4b231f4c2eeb1d7cbc02db7d54d80278a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:47:21 +0100 Subject: [PATCH 035/183] Relocating module `@kbn/core-deprecations-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/deprecations/server}/README.md | 0 .../core/packages/deprecations/server}/index.ts | 0 .../core/packages/deprecations/server}/jest.config.js | 4 ++-- .../core/packages/deprecations/server}/kibana.jsonc | 0 .../core/packages/deprecations/server}/package.json | 0 .../core/packages/deprecations/server}/src/contracts.ts | 0 .../core/packages/deprecations/server}/src/index.ts | 0 .../deprecations/server}/src/request_handler_context.ts | 0 .../core/packages/deprecations/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/deprecations/core-deprecations-server => src/core/packages/deprecations/server}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3d551a3d03b8a..a122a749e281a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -71,7 +71,6 @@ packages/core/custom-branding/core-custom-branding-server @elastic/appex-sharedu 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-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 6ef12f1bf1ccc..8e5fdcaa58661 100644 --- a/package.json +++ b/package.json @@ -277,7 +277,7 @@ "@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:packages/core/deprecations/core-deprecations-server", + "@kbn/core-deprecations-server": "link:src/core/packages/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", 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/packages/core/deprecations/core-deprecations-server/jest.config.js b/src/core/packages/deprecations/server/jest.config.js similarity index 83% rename from packages/core/deprecations/core-deprecations-server/jest.config.js rename to src/core/packages/deprecations/server/jest.config.js index b8a324fd515e6..9f8c0835582ef 100644 --- a/packages/core/deprecations/core-deprecations-server/jest.config.js +++ b/src/core/packages/deprecations/server/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/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/tsconfig.base.json b/tsconfig.base.json index f3c2525631df6..329fe7796a86c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -316,8 +316,8 @@ "@kbn/core-deprecations-browser-mocks/*": ["packages/core/deprecations/core-deprecations-browser-mocks/*"], "@kbn/core-deprecations-common": ["src/core/packages/deprecations/common"], "@kbn/core-deprecations-common/*": ["src/core/packages/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": ["src/core/packages/deprecations/server"], + "@kbn/core-deprecations-server/*": ["src/core/packages/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-server-mocks": ["packages/core/deprecations/core-deprecations-server-mocks"], diff --git a/yarn.lock b/yarn.lock index edb288e7e01ad..df3d2fdd2d42f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4453,7 +4453,7 @@ 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 "" From dc02374d35e36c5059a1bc0c885c40a8845b9c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:48:47 +0100 Subject: [PATCH 036/183] Relocating module `@kbn/core-deprecations-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/deprecations/server-internal}/README.md | 0 .../core/packages/deprecations/server-internal}/index.ts | 0 .../packages/deprecations/server-internal}/jest.config.js | 4 ++-- .../core/packages/deprecations/server-internal}/kibana.jsonc | 0 .../core/packages/deprecations/server-internal}/package.json | 0 .../deprecations/server-internal}/src/deprecation_config.ts | 0 .../api_deprecations/access/access_deprecations.ts | 0 .../src/deprecations/api_deprecations/access/i18n_texts.ts | 0 .../src/deprecations/api_deprecations/access/index.ts | 0 .../deprecations/api_deprecations/api_deprecation_id.test.ts | 0 .../src/deprecations/api_deprecations/api_deprecation_id.ts | 0 .../src/deprecations/api_deprecations/index.ts | 0 .../api_deprecations/register_api_depercation_info.test.ts | 0 .../api_deprecations/register_api_depercation_info.ts | 0 .../src/deprecations/api_deprecations/route/i18n_texts.ts | 0 .../src/deprecations/api_deprecations/route/index.ts | 0 .../deprecations/api_deprecations/route/route_deprecations.ts | 0 .../src/deprecations/api_deprecations/types.ts | 0 .../src/deprecations/config_deprecations.test.ts | 0 .../server-internal}/src/deprecations/config_deprecations.ts | 0 .../deprecations/server-internal}/src/deprecations/index.ts | 0 .../server-internal}/src/deprecations_factory.test.ts | 0 .../deprecations/server-internal}/src/deprecations_factory.ts | 0 .../server-internal}/src/deprecations_registry.test.ts | 0 .../server-internal}/src/deprecations_registry.ts | 0 .../src/deprecations_route_handler_context.ts | 0 .../server-internal}/src/deprecations_service.test.mocks.ts | 0 .../server-internal}/src/deprecations_service.test.ts | 0 .../deprecations/server-internal}/src/deprecations_service.ts | 0 .../core/packages/deprecations/server-internal}/src/index.ts | 0 .../deprecations/server-internal}/src/internal_types.ts | 0 .../server-internal}/src/mocks/deprecations_factory.mock.ts | 0 .../server-internal}/src/mocks/deprecations_registry.mock.ts | 0 .../packages/deprecations/server-internal}/src/mocks/index.ts | 0 .../packages/deprecations/server-internal}/src/routes/get.ts | 0 .../deprecations/server-internal}/src/routes/index.ts | 0 .../server-internal}/src/routes/post_validation_handler.ts | 0 .../server-internal}/src/routes/resolve_deprecated_api.ts | 0 .../core/packages/deprecations/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 43 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/deprecations/core-deprecations-server-internal => src/core/packages/deprecations/server-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a122a749e281a..237c6928207e4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -71,7 +71,6 @@ packages/core/custom-branding/core-custom-branding-server @elastic/appex-sharedu 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-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 8e5fdcaa58661..53fd6bb38edc0 100644 --- a/package.json +++ b/package.json @@ -278,7 +278,7 @@ "@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:packages/core/deprecations/core-deprecations-server-internal", + "@kbn/core-deprecations-server-internal": "link:src/core/packages/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", 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/packages/core/deprecations/core-deprecations-server-internal/jest.config.js b/src/core/packages/deprecations/server-internal/jest.config.js similarity index 82% rename from packages/core/deprecations/core-deprecations-server-internal/jest.config.js rename to src/core/packages/deprecations/server-internal/jest.config.js index 719054c46d809..486cc647a0f7a 100644 --- a/packages/core/deprecations/core-deprecations-server-internal/jest.config.js +++ b/src/core/packages/deprecations/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/deprecations/core-deprecations-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 329fe7796a86c..e471559ed0560 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -318,8 +318,8 @@ "@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": ["packages/core/deprecations/core-deprecations-server-internal"], - "@kbn/core-deprecations-server-internal/*": ["packages/core/deprecations/core-deprecations-server-internal/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index df3d2fdd2d42f..f760fd45dfd11 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4445,7 +4445,7 @@ 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 "" From 73b410f30dbad234b36076b30208125c8480a14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:50:22 +0100 Subject: [PATCH 037/183] Relocating module `@kbn/core-doc-links-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/doc-links/browser}/README.md | 0 .../core/packages/doc-links/browser}/index.ts | 0 .../core/packages/doc-links/browser}/jest.config.js | 4 ++-- .../core/packages/doc-links/browser}/kibana.jsonc | 0 .../core/packages/doc-links/browser}/package.json | 0 .../core/packages/doc-links/browser}/src/types.ts | 0 .../core/packages/doc-links/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/doc-links/core-doc-links-browser => src/core/packages/doc-links/browser}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 237c6928207e4..8f0eabb2fdd02 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -72,7 +72,6 @@ packages/core/custom-branding/core-custom-branding-server-internal @elastic/appe packages/core/custom-branding/core-custom-branding-server-mocks @elastic/appex-sharedux packages/core/deprecations/core-deprecations-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 53fd6bb38edc0..abca181747378 100644 --- a/package.json +++ b/package.json @@ -279,7 +279,7 @@ "@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:packages/core/doc-links/core-doc-links-browser", + "@kbn/core-doc-links-browser": "link:src/core/packages/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", 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/packages/core/doc-links/core-doc-links-browser/jest.config.js b/src/core/packages/doc-links/browser/jest.config.js similarity index 84% rename from packages/core/doc-links/core-doc-links-browser/jest.config.js rename to src/core/packages/doc-links/browser/jest.config.js index 3d1d231c2a425..22c8182a69249 100644 --- a/packages/core/doc-links/core-doc-links-browser/jest.config.js +++ b/src/core/packages/doc-links/browser/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/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/tsconfig.base.json b/tsconfig.base.json index e471559ed0560..2f73b1c0b597a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -322,8 +322,8 @@ "@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": ["src/core/packages/doc-links/browser"], + "@kbn/core-doc-links-browser/*": ["src/core/packages/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-mocks": ["packages/core/doc-links/core-doc-links-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index f760fd45dfd11..24a02b685ec73 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4465,7 +4465,7 @@ 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 "" From 9cd60e9e67cfbaa9127aa78461f36ad6a8d0fe0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:51:46 +0100 Subject: [PATCH 038/183] Relocating module `@kbn/core-doc-links-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/doc-links/browser-internal}/README.md | 0 .../core/packages/doc-links/browser-internal}/index.ts | 0 .../core/packages/doc-links/browser-internal}/jest.config.js | 4 ++-- .../core/packages/doc-links/browser-internal}/kibana.jsonc | 0 .../core/packages/doc-links/browser-internal}/package.json | 0 .../browser-internal}/src/doc_links_service.test.mocks.ts | 0 .../doc-links/browser-internal}/src/doc_links_service.test.ts | 0 .../doc-links/browser-internal}/src/doc_links_service.ts | 0 .../core/packages/doc-links/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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/doc-links/core-doc-links-browser-internal => src/core/packages/doc-links/browser-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8f0eabb2fdd02..711f20c4593e8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -72,7 +72,6 @@ packages/core/custom-branding/core-custom-branding-server-internal @elastic/appe packages/core/custom-branding/core-custom-branding-server-mocks @elastic/appex-sharedux packages/core/deprecations/core-deprecations-browser-mocks @elastic/kibana-core packages/core/deprecations/core-deprecations-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index abca181747378..7b6a44c03e11c 100644 --- a/package.json +++ b/package.json @@ -280,7 +280,7 @@ "@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:packages/core/doc-links/core-doc-links-browser-internal", + "@kbn/core-doc-links-browser-internal": "link:src/core/packages/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", 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/doc-links/core-doc-links-browser-internal/jest.config.js b/src/core/packages/doc-links/browser-internal/jest.config.js similarity index 82% rename from packages/core/doc-links/core-doc-links-browser-internal/jest.config.js rename to src/core/packages/doc-links/browser-internal/jest.config.js index c03ebfca48bf8..04f16c6d82e03 100644 --- a/packages/core/doc-links/core-doc-links-browser-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/doc-links/core-doc-links-browser-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/tsconfig.base.json b/tsconfig.base.json index 2f73b1c0b597a..d26244494e6b3 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -324,8 +324,8 @@ "@kbn/core-deprecations-server-mocks/*": ["packages/core/deprecations/core-deprecations-server-mocks/*"], "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 24a02b685ec73..30bef3c08af2e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4457,7 +4457,7 @@ 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 "" From efc0ac5ea49d2f10fc3fcbb96fac2e406c83c46e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:53:20 +0100 Subject: [PATCH 039/183] Relocating module `@kbn/core-doc-links-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/doc-links/server}/README.md | 0 .../core/packages/doc-links/server}/index.ts | 0 .../core/packages/doc-links/server}/jest.config.js | 4 ++-- .../core/packages/doc-links/server}/kibana.jsonc | 0 .../core/packages/doc-links/server}/package.json | 0 .../core/packages/doc-links/server}/src/types.ts | 0 .../core/packages/doc-links/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/doc-links/core-doc-links-server => src/core/packages/doc-links/server}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 711f20c4593e8..222c51ec24f0a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -73,7 +73,6 @@ packages/core/custom-branding/core-custom-branding-server-mocks @elastic/appex-s packages/core/deprecations/core-deprecations-browser-mocks @elastic/kibana-core packages/core/deprecations/core-deprecations-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 7b6a44c03e11c..31d47678563cb 100644 --- a/package.json +++ b/package.json @@ -281,7 +281,7 @@ "@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:packages/core/doc-links/core-doc-links-server", + "@kbn/core-doc-links-server": "link:src/core/packages/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", 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/packages/core/doc-links/core-doc-links-server/jest.config.js b/src/core/packages/doc-links/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/doc-links/server/jest.config.js index 5eb59ccebe703..a18b0b36de2f1 100644 --- a/packages/core/doc-links/core-doc-links-server/jest.config.js +++ b/src/core/packages/doc-links/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/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/tsconfig.base.json b/tsconfig.base.json index d26244494e6b3..7c6e5aad1d7d1 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -328,8 +328,8 @@ "@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": ["src/core/packages/doc-links/server"], + "@kbn/core-doc-links-server/*": ["src/core/packages/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-mocks": ["packages/core/doc-links/core-doc-links-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 30bef3c08af2e..8cfad43cc166c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4477,7 +4477,7 @@ 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 "" From e947d03f3248a340d096ebbd3371497abe46d0c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:54:51 +0100 Subject: [PATCH 040/183] Relocating module `@kbn/core-doc-links-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/doc-links/server-internal}/README.md | 0 .../core/packages/doc-links/server-internal}/index.ts | 0 .../core/packages/doc-links/server-internal}/jest.config.js | 4 ++-- .../core/packages/doc-links/server-internal}/kibana.jsonc | 0 .../core/packages/doc-links/server-internal}/package.json | 0 .../server-internal}/src/doc_links_service.test.mocks.ts | 0 .../doc-links/server-internal}/src/doc_links_service.test.ts | 0 .../doc-links/server-internal}/src/doc_links_service.ts | 0 .../core/packages/doc-links/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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/doc-links/core-doc-links-server-internal => src/core/packages/doc-links/server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 222c51ec24f0a..df17efdfc4aed 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -73,7 +73,6 @@ packages/core/custom-branding/core-custom-branding-server-mocks @elastic/appex-s packages/core/deprecations/core-deprecations-browser-mocks @elastic/kibana-core packages/core/deprecations/core-deprecations-server-mocks @elastic/kibana-core packages/core/doc-links/core-doc-links-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 31d47678563cb..e250b499e34ce 100644 --- a/package.json +++ b/package.json @@ -282,7 +282,7 @@ "@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:packages/core/doc-links/core-doc-links-server-internal", + "@kbn/core-doc-links-server-internal": "link:src/core/packages/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", 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/doc-links/core-doc-links-server-internal/jest.config.js b/src/core/packages/doc-links/server-internal/jest.config.js similarity index 83% rename from packages/core/doc-links/core-doc-links-server-internal/jest.config.js rename to src/core/packages/doc-links/server-internal/jest.config.js index ed7ced2e2b004..676bde76eb6fd 100644 --- a/packages/core/doc-links/core-doc-links-server-internal/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/doc-links/core-doc-links-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 7c6e5aad1d7d1..54ab58a38df2d 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -330,8 +330,8 @@ "@kbn/core-doc-links-browser-mocks/*": ["packages/core/doc-links/core-doc-links-browser-mocks/*"], "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 8cfad43cc166c..ee6d46c9aa497 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4469,7 +4469,7 @@ 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 "" From 4c1692514b1b208fe3a7b46ac44290a5151ea528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:56:24 +0100 Subject: [PATCH 041/183] Relocating module `@kbn/core-elasticsearch-client-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/elasticsearch/client-server-internal}/README.md | 0 .../packages/elasticsearch/client-server-internal}/index.ts | 0 .../elasticsearch/client-server-internal}/jest.config.js | 4 ++-- .../elasticsearch/client-server-internal}/kibana.jsonc | 0 .../elasticsearch/client-server-internal}/package.json | 0 .../client-server-internal}/src/agent_manager.test.ts | 0 .../client-server-internal}/src/agent_manager.ts | 0 .../client-server-internal}/src/client_config.test.ts | 0 .../client-server-internal}/src/client_config.ts | 0 .../client-server-internal}/src/cluster_client.test.mocks.ts | 0 .../client-server-internal}/src/cluster_client.test.ts | 0 .../client-server-internal}/src/cluster_client.ts | 0 .../src/configure_client.test.mocks.ts | 0 .../client-server-internal}/src/configure_client.test.ts | 0 .../client-server-internal}/src/configure_client.ts | 0 .../src/create_transport.test.mocks.ts | 0 .../client-server-internal}/src/create_transport.test.ts | 0 .../client-server-internal}/src/create_transport.ts | 0 .../src/get_agents_sockets_stats.test.mocks.ts | 0 .../src/get_agents_sockets_stats.test.ts | 0 .../client-server-internal}/src/get_agents_sockets_stats.ts | 0 .../client-server-internal}/src/get_ecs_response_log.test.ts | 0 .../client-server-internal}/src/get_ecs_response_log.ts | 0 .../elasticsearch/client-server-internal}/src/headers.ts | 0 .../src/log_query_and_deprecation.test.ts | 0 .../client-server-internal}/src/log_query_and_deprecation.ts | 0 .../elasticsearch/client-server-internal}/src/patch_client.ts | 0 .../client-server-internal}/src/retry_unauthorized.test.ts | 0 .../client-server-internal}/src/retry_unauthorized.ts | 0 .../client-server-internal}/src/scoped_cluster_client.test.ts | 0 .../client-server-internal}/src/scoped_cluster_client.ts | 0 .../elasticsearch/client-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 36 files changed, 8 insertions(+), 8 deletions(-) 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/elasticsearch/core-elasticsearch-client-server-internal => src/core/packages/elasticsearch/client-server-internal}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index df17efdfc4aed..1e6dbfe98cd84 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -74,7 +74,6 @@ packages/core/deprecations/core-deprecations-browser-mocks @elastic/kibana-core packages/core/deprecations/core-deprecations-server-mocks @elastic/kibana-core packages/core/doc-links/core-doc-links-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index e250b499e34ce..b2028b4f2dfcf 100644 --- a/package.json +++ b/package.json @@ -283,7 +283,7 @@ "@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:packages/core/elasticsearch/core-elasticsearch-client-server-internal", + "@kbn/core-elasticsearch-client-server-internal": "link:src/core/packages/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", 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/elasticsearch/core-elasticsearch-client-server-internal/jest.config.js b/src/core/packages/elasticsearch/client-server-internal/jest.config.js similarity index 81% rename from packages/core/elasticsearch/core-elasticsearch-client-server-internal/jest.config.js rename to src/core/packages/elasticsearch/client-server-internal/jest.config.js index dfca4bfa9f2fb..7f148d35a38ee 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-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/elasticsearch/core-elasticsearch-client-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/tsconfig.base.json b/tsconfig.base.json index 54ab58a38df2d..ceba386b9e74a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -334,8 +334,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index ee6d46c9aa497..50296ace6d072 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4481,7 +4481,7 @@ 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 "" From dde7f3511a3d320261effdccead77ff1bd2a9e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 01:58:16 +0100 Subject: [PATCH 042/183] Relocating module `@kbn/core-elasticsearch-server` --- .github/CODEOWNERS | 2 +- .../architecture/core/patterns-scoped-services.asciidoc | 2 +- package.json | 2 +- .../core/packages/elasticsearch/server}/README.md | 0 .../core/packages/elasticsearch/server}/index.ts | 0 .../core/packages/elasticsearch/server}/jest.config.js | 4 ++-- .../core/packages/elasticsearch/server}/kibana.jsonc | 0 .../core/packages/elasticsearch/server}/package.json | 0 .../core/packages/elasticsearch/server}/src/client/client.ts | 0 .../elasticsearch/server}/src/client/client_config.ts | 0 .../elasticsearch/server}/src/client/cluster_client.ts | 0 .../core/packages/elasticsearch/server}/src/client/index.ts | 0 .../elasticsearch/server}/src/client/scopeable_request.ts | 0 .../elasticsearch/server}/src/client/scoped_cluster_client.ts | 0 .../server}/src/client/unauthorized_error_handler.ts | 0 .../core/packages/elasticsearch/server}/src/contracts.ts | 0 .../elasticsearch/server}/src/elasticsearch_config.ts | 0 .../elasticsearch/server}/src/request_handler_context.ts | 0 .../core/packages/elasticsearch/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 21 files changed, 9 insertions(+), 9 deletions(-) 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/elasticsearch/core-elasticsearch-server => src/core/packages/elasticsearch/server}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1e6dbfe98cd84..e706119fe149b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -75,7 +75,6 @@ packages/core/deprecations/core-deprecations-server-mocks @elastic/kibana-core packages/core/doc-links/core-doc-links-browser-mocks @elastic/kibana-core packages/core/doc-links/core-doc-links-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/core/patterns-scoped-services.asciidoc b/docs/developer/architecture/core/patterns-scoped-services.asciidoc index ba993a6da3af3..47cbd4cd1d4a6 100644 --- a/docs/developer/architecture/core/patterns-scoped-services.asciidoc +++ b/docs/developer/architecture/core/patterns-scoped-services.asciidoc @@ -19,7 +19,7 @@ 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: * {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/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/package.json b/package.json index b2028b4f2dfcf..870d21261e824 100644 --- a/package.json +++ b/package.json @@ -284,7 +284,7 @@ "@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:packages/core/elasticsearch/core-elasticsearch-server", + "@kbn/core-elasticsearch-server": "link:src/core/packages/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", 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/elasticsearch/core-elasticsearch-server/jest.config.js b/src/core/packages/elasticsearch/server/jest.config.js similarity index 83% rename from packages/core/elasticsearch/core-elasticsearch-server/jest.config.js rename to src/core/packages/elasticsearch/server/jest.config.js index 3347a82821f2c..82501a4eeb0d4 100644 --- a/packages/core/elasticsearch/core-elasticsearch-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/elasticsearch/core-elasticsearch-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/tsconfig.base.json b/tsconfig.base.json index ceba386b9e74a..6481260b64528 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -338,8 +338,8 @@ "@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": ["src/core/packages/elasticsearch/server"], + "@kbn/core-elasticsearch-server/*": ["src/core/packages/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-mocks": ["packages/core/elasticsearch/core-elasticsearch-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 50296ace6d072..15f78ed41760f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4497,7 +4497,7 @@ 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 "" From 06d081f9f608990551b3c2587bee3f9b132728e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:00:16 +0100 Subject: [PATCH 043/183] Relocating module `@kbn/core-elasticsearch-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/elasticsearch/server-internal}/README.md | 0 .../core/packages/elasticsearch/server-internal}/index.ts | 0 .../packages/elasticsearch/server-internal}/jest.config.js | 4 ++-- .../core/packages/elasticsearch/server-internal}/kibana.jsonc | 0 .../core/packages/elasticsearch/server-internal}/package.json | 0 .../server-internal}/src/default_headers.test.ts | 0 .../elasticsearch/server-internal}/src/default_headers.ts | 0 .../server-internal}/src/elasticsearch_config.test.mocks.ts | 0 .../server-internal}/src/elasticsearch_config.test.ts | 0 .../server-internal}/src/elasticsearch_config.ts | 0 .../src/elasticsearch_route_handler_context.ts | 0 .../server-internal}/src/elasticsearch_service.test.mocks.ts | 0 .../server-internal}/src/elasticsearch_service.test.ts | 0 .../server-internal}/src/elasticsearch_service.ts | 0 .../server-internal}/src/get_capabilities.test.ts | 0 .../elasticsearch/server-internal}/src/get_capabilities.ts | 0 .../server-internal}/src/get_cluster_info.test.ts | 0 .../elasticsearch/server-internal}/src/get_cluster_info.ts | 0 .../server-internal}/src/is_scripting_enabled.test.mocks.ts | 0 .../server-internal}/src/is_scripting_enabled.test.ts | 0 .../server-internal}/src/is_scripting_enabled.ts | 0 .../server-internal}/src/is_valid_connection.test.ts | 0 .../elasticsearch/server-internal}/src/is_valid_connection.ts | 0 .../elasticsearch/server-internal}/src/merge_config.test.ts | 0 .../elasticsearch/server-internal}/src/merge_config.ts | 0 .../src/register_analytics_context_provider.test.ts | 0 .../src/register_analytics_context_provider.ts | 0 .../server-internal}/src/retry_call_cluster.test.ts | 0 .../elasticsearch/server-internal}/src/retry_call_cluster.ts | 0 .../server-internal}/src/retryable_es_client_errors.test.ts | 0 .../server-internal}/src/retryable_es_client_errors.ts | 0 .../elasticsearch/server-internal}/src/status.test.ts | 0 .../packages/elasticsearch/server-internal}/src/status.ts | 0 .../src/supported_server_response_check.test.ts | 0 .../server-internal}/src/supported_server_response_check.ts | 0 .../core/packages/elasticsearch/server-internal}/src/types.ts | 0 .../src/version_check/ensure_es_version.test.ts | 0 .../server-internal}/src/version_check/ensure_es_version.ts | 0 .../src/version_check/es_kibana_version_compatability.test.ts | 0 .../src/version_check/es_kibana_version_compatability.ts | 0 .../packages/elasticsearch/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 45 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/elasticsearch/core-elasticsearch-server-internal => src/core/packages/elasticsearch/server-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e706119fe149b..8d709b37b70e8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -75,7 +75,6 @@ packages/core/deprecations/core-deprecations-server-mocks @elastic/kibana-core packages/core/doc-links/core-doc-links-browser-mocks @elastic/kibana-core packages/core/doc-links/core-doc-links-server-mocks @elastic/kibana-core packages/core/elasticsearch/core-elasticsearch-client-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 870d21261e824..bf8dd592ce7cc 100644 --- a/package.json +++ b/package.json @@ -285,7 +285,7 @@ "@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:packages/core/elasticsearch/core-elasticsearch-server-internal", + "@kbn/core-elasticsearch-server-internal": "link:src/core/packages/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", 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/packages/core/elasticsearch/core-elasticsearch-server-internal/jest.config.js b/src/core/packages/elasticsearch/server-internal/jest.config.js similarity index 82% rename from packages/core/elasticsearch/core-elasticsearch-server-internal/jest.config.js rename to src/core/packages/elasticsearch/server-internal/jest.config.js index d5cd8a0002ca8..3968cd93deb53 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server-internal/jest.config.js +++ b/src/core/packages/elasticsearch/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/elasticsearch/core-elasticsearch-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 6481260b64528..ec9e6be073b63 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -340,8 +340,8 @@ "@kbn/core-elasticsearch-client-server-mocks/*": ["packages/core/elasticsearch/core-elasticsearch-client-server-mocks/*"], "@kbn/core-elasticsearch-server": ["src/core/packages/elasticsearch/server"], "@kbn/core-elasticsearch-server/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index 15f78ed41760f..95d8805300911 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4489,7 +4489,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 "" From 5db9b84fe5fb9ac991e5adf4f22c0ce68d77dd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:01:49 +0100 Subject: [PATCH 044/183] Relocating module `@kbn/core-environment-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/environment/server-internal}/README.md | 0 .../core/packages/environment/server-internal}/index.ts | 0 .../core/packages/environment/server-internal}/jest.config.js | 4 ++-- .../core/packages/environment/server-internal}/kibana.jsonc | 0 .../core/packages/environment/server-internal}/package.json | 0 .../server-internal}/src/create_data_folder.test.ts | 0 .../environment/server-internal}/src/create_data_folder.ts | 0 .../server-internal}/src/environment_service.test.ts | 0 .../environment/server-internal}/src/environment_service.ts | 0 .../core/packages/environment/server-internal}/src/fs.ts | 0 .../packages/environment/server-internal}/src/pid_config.ts | 0 .../environment/server-internal}/src/resolve_uuid.test.ts | 0 .../packages/environment/server-internal}/src/resolve_uuid.ts | 0 .../core/packages/environment/server-internal}/src/types.ts | 0 .../environment/server-internal}/src/write_pid_file.test.ts | 0 .../environment/server-internal}/src/write_pid_file.ts | 0 .../core/packages/environment/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 21 files changed, 8 insertions(+), 8 deletions(-) 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/environment/core-environment-server-internal => src/core/packages/environment/server-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8d709b37b70e8..f36f5be2ce1ca 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -76,7 +76,6 @@ packages/core/doc-links/core-doc-links-browser-mocks @elastic/kibana-core packages/core/doc-links/core-doc-links-server-mocks @elastic/kibana-core packages/core/elasticsearch/core-elasticsearch-client-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index bf8dd592ce7cc..bfe7ca2d84aee 100644 --- a/package.json +++ b/package.json @@ -286,7 +286,7 @@ "@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:packages/core/environment/core-environment-server-internal", + "@kbn/core-environment-server-internal": "link:src/core/packages/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", 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/environment/core-environment-server-internal/jest.config.js b/src/core/packages/environment/server-internal/jest.config.js similarity index 82% rename from packages/core/environment/core-environment-server-internal/jest.config.js rename to src/core/packages/environment/server-internal/jest.config.js index 8ff5ccd66b245..b0b256289c23a 100644 --- a/packages/core/environment/core-environment-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/environment/core-environment-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/tsconfig.base.json b/tsconfig.base.json index ec9e6be073b63..a4ddf74eeae86 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -344,8 +344,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index 95d8805300911..a009ce596386f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4501,7 +4501,7 @@ 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 "" From 3577d9c40df52ba4f682db29f8345f90ab76e888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:03:12 +0100 Subject: [PATCH 045/183] Relocating module `@kbn/core-execution-context-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/execution-context/browser}/README.md | 0 .../core/packages/execution-context/browser}/index.ts | 0 .../core/packages/execution-context/browser}/jest.config.js | 4 ++-- .../core/packages/execution-context/browser}/kibana.jsonc | 0 .../core/packages/execution-context/browser}/package.json | 0 .../core/packages/execution-context/browser}/src/types.ts | 0 .../core/packages/execution-context/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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/execution-context/core-execution-context-browser => src/core/packages/execution-context/browser}/jest.config.js (81%) 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-browser => src/core/packages/execution-context/browser}/tsconfig.json (83%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f36f5be2ce1ca..283336bdee2ce 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -77,7 +77,6 @@ packages/core/doc-links/core-doc-links-server-mocks @elastic/kibana-core packages/core/elasticsearch/core-elasticsearch-client-server-mocks @elastic/kibana-core packages/core/elasticsearch/core-elasticsearch-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index bfe7ca2d84aee..266d7d98c09ee 100644 --- a/package.json +++ b/package.json @@ -287,7 +287,7 @@ "@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:packages/core/execution-context/core-execution-context-browser", + "@kbn/core-execution-context-browser": "link:src/core/packages/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", 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/execution-context/core-execution-context-browser/jest.config.js b/src/core/packages/execution-context/browser/jest.config.js similarity index 81% rename from packages/core/execution-context/core-execution-context-browser/jest.config.js rename to src/core/packages/execution-context/browser/jest.config.js index 5c1d831ecc09a..bea039c7be93c 100644 --- a/packages/core/execution-context/core-execution-context-browser/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/execution-context/core-execution-context-browser'], + 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-browser/tsconfig.json b/src/core/packages/execution-context/browser/tsconfig.json similarity index 83% rename from packages/core/execution-context/core-execution-context-browser/tsconfig.json rename to src/core/packages/execution-context/browser/tsconfig.json index b240bd7f5bc8e..3c4ff6e35705f 100644 --- a/packages/core/execution-context/core-execution-context-browser/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/tsconfig.base.json b/tsconfig.base.json index a4ddf74eeae86..bea552fe7ee14 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -348,8 +348,8 @@ "@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": ["src/core/packages/execution-context/browser"], + "@kbn/core-execution-context-browser/*": ["src/core/packages/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-mocks": ["packages/core/execution-context/core-execution-context-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index a009ce596386f..8dbcd87f9d9e5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4517,7 +4517,7 @@ 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 "" From f4aeaa17c2e0f63d5b7b89aa55c3b1bb28d2e4a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:04:49 +0100 Subject: [PATCH 046/183] Relocating module `@kbn/core-execution-context-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/execution-context/browser-internal}/README.md | 0 .../packages/execution-context/browser-internal}/index.ts | 0 .../execution-context/browser-internal}/jest.config.js | 4 ++-- .../packages/execution-context/browser-internal}/kibana.jsonc | 0 .../packages/execution-context/browser-internal}/package.json | 0 .../browser-internal}/src/execution_context_container.test.ts | 0 .../browser-internal}/src/execution_context_container.ts | 0 .../browser-internal}/src/execution_context_service.test.ts | 0 .../browser-internal}/src/execution_context_service.ts | 0 .../execution-context/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/execution-context/core-execution-context-browser-internal => src/core/packages/execution-context/browser-internal}/jest.config.js (80%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 283336bdee2ce..c6de67a97e303 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -77,7 +77,6 @@ packages/core/doc-links/core-doc-links-server-mocks @elastic/kibana-core packages/core/elasticsearch/core-elasticsearch-client-server-mocks @elastic/kibana-core packages/core/elasticsearch/core-elasticsearch-server-mocks @elastic/kibana-core packages/core/environment/core-environment-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 266d7d98c09ee..dd35d05ca3209 100644 --- a/package.json +++ b/package.json @@ -288,7 +288,7 @@ "@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:packages/core/execution-context/core-execution-context-browser-internal", + "@kbn/core-execution-context-browser-internal": "link:src/core/packages/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", 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/packages/core/execution-context/core-execution-context-browser-internal/jest.config.js b/src/core/packages/execution-context/browser-internal/jest.config.js similarity index 80% rename from packages/core/execution-context/core-execution-context-browser-internal/jest.config.js rename to src/core/packages/execution-context/browser-internal/jest.config.js index a122164210a9e..94da748128fad 100644 --- a/packages/core/execution-context/core-execution-context-browser-internal/jest.config.js +++ b/src/core/packages/execution-context/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/execution-context/core-execution-context-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index bea552fe7ee14..9e98d6a47e15a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -350,8 +350,8 @@ "@kbn/core-environment-server-mocks/*": ["packages/core/environment/core-environment-server-mocks/*"], "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 8dbcd87f9d9e5..0ce0b55021f36 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4509,7 +4509,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 "" From d0c1841b80dfe57324062372f244a3dfc9f8ea86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:06:25 +0100 Subject: [PATCH 047/183] Relocating module `@kbn/core-execution-context-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/execution-context/common}/README.md | 0 .../core/packages/execution-context/common}/index.ts | 0 .../core/packages/execution-context/common}/jest.config.js | 4 ++-- .../core/packages/execution-context/common}/kibana.jsonc | 0 .../core/packages/execution-context/common}/package.json | 0 .../core/packages/execution-context/common}/src/types.ts | 0 .../core/packages/execution-context/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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/execution-context/core-execution-context-common => src/core/packages/execution-context/common}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c6de67a97e303..a78cfa012badb 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -78,7 +78,6 @@ packages/core/elasticsearch/core-elasticsearch-client-server-mocks @elastic/kiba packages/core/elasticsearch/core-elasticsearch-server-mocks @elastic/kibana-core packages/core/environment/core-environment-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index dd35d05ca3209..33064f36ef8eb 100644 --- a/package.json +++ b/package.json @@ -289,7 +289,7 @@ "@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:packages/core/execution-context/core-execution-context-common", + "@kbn/core-execution-context-common": "link:src/core/packages/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", 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/execution-context/core-execution-context-common/jest.config.js b/src/core/packages/execution-context/common/jest.config.js similarity index 82% rename from packages/core/execution-context/core-execution-context-common/jest.config.js rename to src/core/packages/execution-context/common/jest.config.js index d6ed874270cd6..c59b94362969d 100644 --- a/packages/core/execution-context/core-execution-context-common/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/execution-context/core-execution-context-common'], + 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/tsconfig.base.json b/tsconfig.base.json index 9e98d6a47e15a..97ca42f340cd1 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -354,8 +354,8 @@ "@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-common": ["src/core/packages/execution-context/common"], + "@kbn/core-execution-context-common/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 0ce0b55021f36..3e8caf7820eb6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4521,7 +4521,7 @@ 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 "" From 2b5676da7b23ccd58e0b73706e297d59f25456ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:07:54 +0100 Subject: [PATCH 048/183] Relocating module `@kbn/core-execution-context-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/execution-context/server}/README.md | 0 .../core/packages/execution-context/server}/index.ts | 0 .../core/packages/execution-context/server}/jest.config.js | 4 ++-- .../core/packages/execution-context/server}/kibana.jsonc | 0 .../core/packages/execution-context/server}/package.json | 0 .../core/packages/execution-context/server}/src/contracts.ts | 0 .../core/packages/execution-context/server}/src/types.ts | 0 .../core/packages/execution-context/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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/execution-context/core-execution-context-server => src/core/packages/execution-context/server}/jest.config.js (82%) 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-server => src/core/packages/execution-context/server}/tsconfig.json (83%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a78cfa012badb..5ca9630e8f624 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -78,7 +78,6 @@ packages/core/elasticsearch/core-elasticsearch-client-server-mocks @elastic/kiba packages/core/elasticsearch/core-elasticsearch-server-mocks @elastic/kibana-core packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 33064f36ef8eb..babb3ec7b65ed 100644 --- a/package.json +++ b/package.json @@ -290,7 +290,7 @@ "@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:packages/core/execution-context/core-execution-context-server", + "@kbn/core-execution-context-server": "link:src/core/packages/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", 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/execution-context/core-execution-context-server/jest.config.js b/src/core/packages/execution-context/server/jest.config.js similarity index 82% rename from packages/core/execution-context/core-execution-context-server/jest.config.js rename to src/core/packages/execution-context/server/jest.config.js index e27f6f0158a48..ba38dc072463b 100644 --- a/packages/core/execution-context/core-execution-context-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/execution-context/core-execution-context-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-server/tsconfig.json b/src/core/packages/execution-context/server/tsconfig.json similarity index 83% rename from packages/core/execution-context/core-execution-context-server/tsconfig.json rename to src/core/packages/execution-context/server/tsconfig.json index b240bd7f5bc8e..3c4ff6e35705f 100644 --- a/packages/core/execution-context/core-execution-context-server/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/tsconfig.base.json b/tsconfig.base.json index 97ca42f340cd1..a39371ab809f1 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -356,8 +356,8 @@ "@kbn/core-execution-context-browser-mocks/*": ["packages/core/execution-context/core-execution-context-browser-mocks/*"], "@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": ["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": ["src/core/packages/execution-context/server"], + "@kbn/core-execution-context-server/*": ["src/core/packages/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-server-mocks": ["packages/core/execution-context/core-execution-context-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 3e8caf7820eb6..0dcf6cf9890e1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4533,7 +4533,7 @@ 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 "" From 534e65e09ef911730fe457fafed1aeb57f0edfc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:09:31 +0100 Subject: [PATCH 049/183] Relocating module `@kbn/core-execution-context-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/execution-context/server-internal}/README.md | 0 .../core/packages/execution-context/server-internal}/index.ts | 0 .../execution-context/server-internal}/jest.config.js | 4 ++-- .../packages/execution-context/server-internal}/kibana.jsonc | 0 .../packages/execution-context/server-internal}/package.json | 0 .../server-internal}/src/execution_context_config.ts | 0 .../server-internal}/src/execution_context_container.test.ts | 0 .../server-internal}/src/execution_context_container.ts | 0 .../server-internal}/src/execution_context_service.test.ts | 0 .../server-internal}/src/execution_context_service.ts | 0 .../packages/execution-context/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) 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/execution-context/core-execution-context-server-internal => src/core/packages/execution-context/server-internal}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5ca9630e8f624..d63e48ed84c15 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -78,7 +78,6 @@ packages/core/elasticsearch/core-elasticsearch-client-server-mocks @elastic/kiba packages/core/elasticsearch/core-elasticsearch-server-mocks @elastic/kibana-core packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index babb3ec7b65ed..2a2fe62286a17 100644 --- a/package.json +++ b/package.json @@ -291,7 +291,7 @@ "@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:packages/core/execution-context/core-execution-context-server-internal", + "@kbn/core-execution-context-server-internal": "link:src/core/packages/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", 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/execution-context/core-execution-context-server-internal/jest.config.js b/src/core/packages/execution-context/server-internal/jest.config.js similarity index 81% rename from packages/core/execution-context/core-execution-context-server-internal/jest.config.js rename to src/core/packages/execution-context/server-internal/jest.config.js index 2928d02bcbed9..535bb554f6c95 100644 --- a/packages/core/execution-context/core-execution-context-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/execution-context/core-execution-context-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/tsconfig.base.json b/tsconfig.base.json index a39371ab809f1..4809bee5906d5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -358,8 +358,8 @@ "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 0dcf6cf9890e1..9063cd79cd5e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4525,7 +4525,7 @@ 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 "" From d051d1ce3175632769c6e2a6c898808978aa59f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:11:36 +0100 Subject: [PATCH 050/183] Relocating module `@kbn/core-fatal-errors-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/fatal-errors/browser}/README.md | 0 .../core/packages/fatal-errors/browser}/index.ts | 0 .../core/packages/fatal-errors/browser}/jest.config.js | 4 ++-- .../core/packages/fatal-errors/browser}/kibana.jsonc | 0 .../core/packages/fatal-errors/browser}/package.json | 0 .../core/packages/fatal-errors/browser}/src/contract.ts | 0 .../core/packages/fatal-errors/browser}/src/get_error_info.ts | 0 .../core/packages/fatal-errors/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/fatal-errors/core-fatal-errors-browser => src/core/packages/fatal-errors/browser}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d63e48ed84c15..872b416541cdd 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -79,7 +79,6 @@ packages/core/elasticsearch/core-elasticsearch-server-mocks @elastic/kibana-core packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 2a2fe62286a17..8a30a38fb8d40 100644 --- a/package.json +++ b/package.json @@ -292,7 +292,7 @@ "@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:packages/core/fatal-errors/core-fatal-errors-browser", + "@kbn/core-fatal-errors-browser": "link:src/core/packages/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", 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/packages/core/fatal-errors/core-fatal-errors-browser/jest.config.js b/src/core/packages/fatal-errors/browser/jest.config.js similarity index 83% rename from packages/core/fatal-errors/core-fatal-errors-browser/jest.config.js rename to src/core/packages/fatal-errors/browser/jest.config.js index 0148310cbf18b..c3a8c9da2ee15 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser/jest.config.js +++ b/src/core/packages/fatal-errors/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/fatal-errors/core-fatal-errors-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index 4809bee5906d5..5c7a03660621b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -362,8 +362,8 @@ "@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": ["src/core/packages/fatal-errors/browser"], + "@kbn/core-fatal-errors-browser/*": ["src/core/packages/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-mocks": ["packages/core/fatal-errors/core-fatal-errors-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 9063cd79cd5e7..ee6081b9fd006 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4545,7 +4545,7 @@ 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 "" From e20e9dbc31694f550aeefd29c534d841f1f2592b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:13:06 +0100 Subject: [PATCH 051/183] Relocating module `@kbn/core-fatal-errors-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/fatal-errors/browser-internal}/README.md | 0 .../core/packages/fatal-errors/browser-internal}/index.ts | 0 .../packages/fatal-errors/browser-internal}/jest.config.js | 4 ++-- .../core/packages/fatal-errors/browser-internal}/kibana.jsonc | 0 .../core/packages/fatal-errors/browser-internal}/package.json | 0 .../src/__snapshots__/fatal_errors_screen.test.tsx.snap | 0 .../src/__snapshots__/fatal_errors_service.test.ts.snap | 0 .../browser-internal}/src/fatal_errors_screen.test.tsx | 0 .../browser-internal}/src/fatal_errors_screen.tsx | 0 .../browser-internal}/src/fatal_errors_service.test.mocks.ts | 0 .../browser-internal}/src/fatal_errors_service.test.ts | 0 .../browser-internal}/src/fatal_errors_service.tsx | 0 .../fatal-errors/browser-internal}/src/get_error_info.test.ts | 0 .../fatal-errors/browser-internal}/src/get_error_info.ts | 0 .../packages/fatal-errors/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 19 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/fatal-errors/core-fatal-errors-browser-internal => src/core/packages/fatal-errors/browser-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 872b416541cdd..f01ac872bbae7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -79,7 +79,6 @@ packages/core/elasticsearch/core-elasticsearch-server-mocks @elastic/kibana-core packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 8a30a38fb8d40..8747ff84fbd17 100644 --- a/package.json +++ b/package.json @@ -293,7 +293,7 @@ "@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:packages/core/fatal-errors/core-fatal-errors-browser-internal", + "@kbn/core-fatal-errors-browser-internal": "link:src/core/packages/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", 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/packages/core/fatal-errors/core-fatal-errors-browser-internal/jest.config.js b/src/core/packages/fatal-errors/browser-internal/jest.config.js similarity index 82% rename from packages/core/fatal-errors/core-fatal-errors-browser-internal/jest.config.js rename to src/core/packages/fatal-errors/browser-internal/jest.config.js index bb1e82f044915..757ef1fa4c8aa 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-internal/jest.config.js +++ b/src/core/packages/fatal-errors/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/fatal-errors/core-fatal-errors-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 5c7a03660621b..7a6e5fd080376 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -364,8 +364,8 @@ "@kbn/core-execution-context-server-mocks/*": ["packages/core/execution-context/core-execution-context-server-mocks/*"], "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index ee6081b9fd006..ffb89e0ee1a2e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4537,7 +4537,7 @@ 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 "" From 7c705dfd633964915399860d828a5909a8bdc992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:14:55 +0100 Subject: [PATCH 052/183] Relocating module `@kbn/core-feature-flags-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/feature-flags/browser}/README.md | 0 .../core/packages/feature-flags/browser}/index.ts | 0 .../core/packages/feature-flags/browser}/kibana.jsonc | 0 .../core/packages/feature-flags/browser}/package.json | 0 .../core/packages/feature-flags/browser}/src/types.ts | 0 .../core/packages/feature-flags/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 10 files changed, 6 insertions(+), 6 deletions(-) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f01ac872bbae7..4b2b20a513625 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -80,7 +80,6 @@ packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 8747ff84fbd17..7fd8afce490db 100644 --- a/package.json +++ b/package.json @@ -294,7 +294,7 @@ "@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:packages/core/feature-flags/core-feature-flags-browser", + "@kbn/core-feature-flags-browser": "link:src/core/packages/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", 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/tsconfig.base.json b/tsconfig.base.json index 7a6e5fd080376..1d040321de5e2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -368,8 +368,8 @@ "@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": ["src/core/packages/feature-flags/browser"], + "@kbn/core-feature-flags-browser/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index ffb89e0ee1a2e..f639151736a4f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4557,7 +4557,7 @@ 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 "" From ef9d7b3314907e2bbe4ebe6b6fb02944ae0f0958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:16:23 +0100 Subject: [PATCH 053/183] Relocating module `@kbn/core-feature-flags-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/feature-flags/browser-internal}/README.md | 0 .../core/packages/feature-flags/browser-internal}/index.ts | 0 .../packages/feature-flags/browser-internal}/jest.config.js | 4 ++-- .../packages/feature-flags/browser-internal}/kibana.jsonc | 0 .../packages/feature-flags/browser-internal}/package.json | 0 .../browser-internal}/src/feature_flags_service.test.ts | 0 .../browser-internal}/src/feature_flags_service.ts | 0 .../packages/feature-flags/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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/core/feature-flags/core-feature-flags-browser-internal => src/core/packages/feature-flags/browser-internal}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4b2b20a513625..7173bbf39ecf2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -80,7 +80,6 @@ packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 7fd8afce490db..5e29839907b85 100644 --- a/package.json +++ b/package.json @@ -295,7 +295,7 @@ "@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:packages/core/feature-flags/core-feature-flags-browser-internal", + "@kbn/core-feature-flags-browser-internal": "link:src/core/packages/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", 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/core/feature-flags/core-feature-flags-browser-internal/jest.config.js b/src/core/packages/feature-flags/browser-internal/jest.config.js similarity index 81% rename from packages/core/feature-flags/core-feature-flags-browser-internal/jest.config.js rename to src/core/packages/feature-flags/browser-internal/jest.config.js index be4a9c1b14073..9555558cc3936 100644 --- a/packages/core/feature-flags/core-feature-flags-browser-internal/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/core/feature-flags/core-feature-flags-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 1d040321de5e2..e59bdfb990c14 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -370,8 +370,8 @@ "@kbn/core-fatal-errors-browser-mocks/*": ["packages/core/fatal-errors/core-fatal-errors-browser-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": ["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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index f639151736a4f..c0d4d53d07930 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4549,7 +4549,7 @@ 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 "" From 6f815cb27fb59817bab71168e5627fbcc3796651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:17:57 +0100 Subject: [PATCH 054/183] Relocating module `@kbn/core-feature-flags-browser-mocks` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/feature-flags/browser-mocks}/README.md | 0 .../core/packages/feature-flags/browser-mocks}/index.ts | 0 .../core/packages/feature-flags/browser-mocks}/jest.config.js | 4 ++-- .../core/packages/feature-flags/browser-mocks}/kibana.jsonc | 0 .../core/packages/feature-flags/browser-mocks}/package.json | 0 .../core/packages/feature-flags/browser-mocks}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 10 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/feature-flags/core-feature-flags-browser-mocks => src/core/packages/feature-flags/browser-mocks}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7173bbf39ecf2..5e7d185636a7c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -80,7 +80,6 @@ packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 5e29839907b85..26575a14a92e6 100644 --- a/package.json +++ b/package.json @@ -296,7 +296,7 @@ "@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:packages/core/feature-flags/core-feature-flags-browser-mocks", + "@kbn/core-feature-flags-browser-mocks": "link:src/core/packages/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", 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/packages/core/feature-flags/core-feature-flags-browser-mocks/jest.config.js b/src/core/packages/feature-flags/browser-mocks/jest.config.js similarity index 82% rename from packages/core/feature-flags/core-feature-flags-browser-mocks/jest.config.js rename to src/core/packages/feature-flags/browser-mocks/jest.config.js index f259faecb6046..9ae4839edb4c0 100644 --- a/packages/core/feature-flags/core-feature-flags-browser-mocks/jest.config.js +++ b/src/core/packages/feature-flags/browser-mocks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/feature-flags/core-feature-flags-browser-mocks'], + 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/tsconfig.base.json b/tsconfig.base.json index e59bdfb990c14..96811f65aef68 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -372,8 +372,8 @@ "@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": ["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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index c0d4d53d07930..0ff68caebb606 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4553,7 +4553,7 @@ 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 "" From 4cddf0f6eb6bb1602a466a20eda9b92196bc1cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:19:34 +0100 Subject: [PATCH 055/183] Relocating module `@kbn/core-feature-flags-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/feature-flags/server}/README.md | 0 .../core/packages/feature-flags/server}/index.ts | 0 .../core/packages/feature-flags/server}/kibana.jsonc | 0 .../core/packages/feature-flags/server}/package.json | 0 .../core/packages/feature-flags/server}/src/contracts.ts | 0 .../feature-flags/server}/src/feature_flag_definition.ts | 0 .../feature-flags/server}/src/request_handler_context.ts | 0 .../core/packages/feature-flags/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 6 insertions(+), 6 deletions(-) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5e7d185636a7c..97d18299536dd 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -80,7 +80,6 @@ packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 26575a14a92e6..565874715ed8c 100644 --- a/package.json +++ b/package.json @@ -297,7 +297,7 @@ "@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:packages/core/feature-flags/core-feature-flags-server", + "@kbn/core-feature-flags-server": "link:src/core/packages/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-history-block-plugin": "link:test/plugin_functional/plugins/core_history_block", 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/tsconfig.base.json b/tsconfig.base.json index 96811f65aef68..33d201af0502d 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -374,8 +374,8 @@ "@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": ["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": ["src/core/packages/feature-flags/server"], + "@kbn/core-feature-flags-server/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 0ff68caebb606..d5e831689336a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4569,7 +4569,7 @@ 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 "" From 08882d54bf88abee7dc24417414de85feb1ac7a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:20:55 +0100 Subject: [PATCH 056/183] Relocating module `@kbn/core-feature-flags-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/feature-flags/server-internal}/README.md | 0 .../core/packages/feature-flags/server-internal}/index.ts | 0 .../packages/feature-flags/server-internal}/jest.config.js | 4 ++-- .../core/packages/feature-flags/server-internal}/kibana.jsonc | 0 .../core/packages/feature-flags/server-internal}/package.json | 0 .../server-internal}/src/feature_flags_config.ts | 0 .../src/feature_flags_request_handler_context.ts | 0 .../server-internal}/src/feature_flags_service.test.ts | 0 .../server-internal}/src/feature_flags_service.ts | 0 .../packages/feature-flags/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/feature-flags/core-feature-flags-server-internal => src/core/packages/feature-flags/server-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 97d18299536dd..d8d5ec697d4c8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -80,7 +80,6 @@ packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 565874715ed8c..541b4cd143d7d 100644 --- a/package.json +++ b/package.json @@ -298,7 +298,7 @@ "@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:packages/core/feature-flags/core-feature-flags-server-internal", + "@kbn/core-feature-flags-server-internal": "link:src/core/packages/feature-flags/server-internal", "@kbn/core-feature-flags-server-mocks": "link:packages/core/feature-flags/core-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", 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/packages/core/feature-flags/core-feature-flags-server-internal/jest.config.js b/src/core/packages/feature-flags/server-internal/jest.config.js similarity index 82% rename from packages/core/feature-flags/core-feature-flags-server-internal/jest.config.js rename to src/core/packages/feature-flags/server-internal/jest.config.js index 67b65d2040c54..5e0aff608cafa 100644 --- a/packages/core/feature-flags/core-feature-flags-server-internal/jest.config.js +++ b/src/core/packages/feature-flags/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/feature-flags/core-feature-flags-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 33d201af0502d..7d35201f8f87e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -376,8 +376,8 @@ "@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": ["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-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": ["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-history-block-plugin": ["test/plugin_functional/plugins/core_history_block"], diff --git a/yarn.lock b/yarn.lock index d5e831689336a..13a984e9d3fb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4561,7 +4561,7 @@ 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 "" From 7b528c8f9954e088af56ba3e6f530b1de96a725c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:22:51 +0100 Subject: [PATCH 057/183] Relocating module `@kbn/core-feature-flags-server-mocks` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/feature-flags/server-mocks}/README.md | 0 .../core/packages/feature-flags/server-mocks}/index.ts | 0 .../core/packages/feature-flags/server-mocks}/jest.config.js | 4 ++-- .../core/packages/feature-flags/server-mocks}/kibana.jsonc | 0 .../core/packages/feature-flags/server-mocks}/package.json | 0 .../core/packages/feature-flags/server-mocks}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 10 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/feature-flags/core-feature-flags-server-mocks => src/core/packages/feature-flags/server-mocks}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d8d5ec697d4c8..385e664fb5f2a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -80,7 +80,6 @@ packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 541b4cd143d7d..efc729f5d30f5 100644 --- a/package.json +++ b/package.json @@ -299,7 +299,7 @@ "@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:packages/core/feature-flags/core-feature-flags-server-mocks", + "@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", 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/packages/core/feature-flags/core-feature-flags-server-mocks/jest.config.js b/src/core/packages/feature-flags/server-mocks/jest.config.js similarity index 82% rename from packages/core/feature-flags/core-feature-flags-server-mocks/jest.config.js rename to src/core/packages/feature-flags/server-mocks/jest.config.js index bc50c37548c95..3208942064b2a 100644 --- a/packages/core/feature-flags/core-feature-flags-server-mocks/jest.config.js +++ b/src/core/packages/feature-flags/server-mocks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/feature-flags/core-feature-flags-server-mocks'], + 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/tsconfig.base.json b/tsconfig.base.json index 7d35201f8f87e..4dc65ef18e644 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -378,8 +378,8 @@ "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 13a984e9d3fb7..4acef9c1c1cbd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4565,7 +4565,7 @@ 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 "" From dfabc18ea6cf62fe80b0dedb5fc43c2a2a76d3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:24:39 +0100 Subject: [PATCH 058/183] Relocating module `@kbn/core-http-browser` --- .github/CODEOWNERS | 2 +- docs/developer/architecture/core/http-service.asciidoc | 2 +- package.json | 2 +- .../core/packages/http/browser}/README.md | 0 .../core/packages/http/browser}/index.ts | 0 .../core/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 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 9 insertions(+), 9 deletions(-) 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/core/http/core-http-browser => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 385e664fb5f2a..fe92dc386a865 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -80,7 +80,6 @@ packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-browser-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/core/http-service.asciidoc b/docs/developer/architecture/core/http-service.asciidoc index da4f0a3f7f5e1..3c8181160310b 100644 --- a/docs/developer/architecture/core/http-service.asciidoc +++ b/docs/developer/architecture/core/http-service.asciidoc @@ -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/package.json b/package.json index efc729f5d30f5..3bec3defac66d 100644 --- a/package.json +++ b/package.json @@ -301,7 +301,7 @@ "@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": "link:src/core/packages/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", 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/core/http/core-http-browser/jest.config.js b/src/core/packages/http/browser/jest.config.js similarity index 85% rename from packages/core/http/core-http-browser/jest.config.js rename to src/core/packages/http/browser/jest.config.js index 100acbd9e6f45..60bd218c750f0 100644 --- a/packages/core/http/core-http-browser/jest.config.js +++ b/src/core/packages/http/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/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/tsconfig.base.json b/tsconfig.base.json index 4dc65ef18e644..1c9edac291b08 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -382,8 +382,8 @@ "@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": ["src/core/packages/http/browser"], + "@kbn/core-http-browser/*": ["src/core/packages/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-mocks": ["packages/core/http/core-http-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 4acef9c1c1cbd..d7c5d75787f67 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4585,7 +4585,7 @@ 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 "" From 253540d575a8421e63b13c4267d567be1504bf2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:26:21 +0100 Subject: [PATCH 059/183] Relocating module `@kbn/core-http-browser-internal` --- .github/CODEOWNERS | 2 +- docs/developer/best-practices/navigation.asciidoc | 2 +- package.json | 2 +- .../core/packages/http/browser-internal}/README.md | 0 .../core/packages/http/browser-internal}/index.ts | 0 .../core/packages/http/browser-internal}/jest.config.js | 4 ++-- .../core/packages/http/browser-internal}/kibana.jsonc | 0 .../core/packages/http/browser-internal}/package.json | 0 .../http/browser-internal}/src/_import_objects.ndjson | 0 .../browser-internal}/src/anonymous_paths_service.test.ts | 0 .../http/browser-internal}/src/anonymous_paths_service.ts | 0 .../packages/http/browser-internal}/src/base_path.test.ts | 0 .../core/packages/http/browser-internal}/src/base_path.ts | 0 .../http/browser-internal}/src/external_url_service.test.ts | 6 +++--- .../http/browser-internal}/src/external_url_service.ts | 0 .../core/packages/http/browser-internal}/src/fetch.test.ts | 0 .../core/packages/http/browser-internal}/src/fetch.ts | 0 .../packages/http/browser-internal}/src/http_fetch_error.ts | 0 .../http/browser-internal}/src/http_intercept_controller.ts | 0 .../http/browser-internal}/src/http_intercept_halt_error.ts | 0 .../http/browser-internal}/src/http_service.test.mocks.ts | 0 .../http/browser-internal}/src/http_service.test.ts | 0 .../packages/http/browser-internal}/src/http_service.ts | 0 .../core/packages/http/browser-internal}/src/intercept.ts | 0 .../browser-internal}/src/loading_count_service.mock.ts | 0 .../browser-internal}/src/loading_count_service.test.ts | 0 .../http/browser-internal}/src/loading_count_service.ts | 0 .../http/browser-internal}/src/static_assets.test.ts | 0 .../packages/http/browser-internal}/src/static_assets.ts | 0 .../core/packages/http/browser-internal}/src/types.ts | 0 .../core/packages/http/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 33 files changed, 12 insertions(+), 12 deletions(-) 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%) rename {packages/core/http/core-http-browser-internal => src/core/packages/http/browser-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fe92dc386a865..3ac15887906a9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -80,7 +80,6 @@ packages/core/environment/core-environment-server-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-browser-mocks @elastic/kibana-core packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/best-practices/navigation.asciidoc b/docs/developer/best-practices/navigation.asciidoc index 05247574641af..e07e131db4b3d 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/package.json b/package.json index 3bec3defac66d..b1d20de2982b5 100644 --- a/package.json +++ b/package.json @@ -302,7 +302,7 @@ "@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:src/core/packages/http/browser", - "@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", "@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-plugin": "link:test/plugin_functional/plugins/core_http", 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/packages/core/http/core-http-browser-internal/jest.config.js b/src/core/packages/http/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/http/browser-internal/jest.config.js index 20ba6dc285440..3b0493d0e7e6a 100644 --- a/packages/core/http/core-http-browser-internal/jest.config.js +++ b/src/core/packages/http/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/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/tsconfig.base.json b/tsconfig.base.json index 1c9edac291b08..97aea952b35fc 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -384,8 +384,8 @@ "@kbn/core-history-block-plugin/*": ["test/plugin_functional/plugins/core_history_block/*"], "@kbn/core-http-browser": ["src/core/packages/http/browser"], "@kbn/core-http-browser/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index d7c5d75787f67..09398e6a6913b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4577,7 +4577,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 "" From 8779e3de03b0c3d7344bfa2824744d00f77b5a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:27:56 +0100 Subject: [PATCH 060/183] Relocating module `@kbn/core-http-common` --- .github/CODEOWNERS | 2 +- package.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 .../core/packages/http/common}/src/constants.ts | 0 .../core/packages/http/common}/src/external_url_policy.ts | 0 .../core/packages/http/common}/src/versioning.ts | 0 .../core/packages/http/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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/core/http/core-http-common => src/core/packages/http/common}/jest.config.js (85%) 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/http/core-http-common => src/core/packages/http/common}/tsconfig.json (78%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3ac15887906a9..98ad99cecce3f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -81,7 +81,6 @@ packages/core/execution-context/core-execution-context-browser-mocks @elastic/ki packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index b1d20de2982b5..8617a410717fb 100644 --- a/package.json +++ b/package.json @@ -303,7 +303,7 @@ "@kbn/core-history-block-plugin": "link:test/plugin_functional/plugins/core_history_block", "@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:packages/core/http/core-http-common", + "@kbn/core-http-common": "link:src/core/packages/http/common", "@kbn/core-http-context-server-internal": "link:packages/core/http/core-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", 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/core/http/core-http-common/jest.config.js b/src/core/packages/http/common/jest.config.js similarity index 85% rename from packages/core/http/core-http-common/jest.config.js rename to src/core/packages/http/common/jest.config.js index 114a20478960e..f41f6058a8711 100644 --- a/packages/core/http/core-http-common/jest.config.js +++ b/src/core/packages/http/common/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/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/http/core-http-common/tsconfig.json b/src/core/packages/http/common/tsconfig.json similarity index 78% rename from packages/core/http/core-http-common/tsconfig.json rename to src/core/packages/http/common/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/http/core-http-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/tsconfig.base.json b/tsconfig.base.json index 97aea952b35fc..f61522eb916f3 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -388,8 +388,8 @@ "@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-common": ["src/core/packages/http/common"], + "@kbn/core-http-common/*": ["src/core/packages/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-context-server-mocks": ["packages/core/http/core-http-context-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 09398e6a6913b..eacd3b7369d77 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4589,7 +4589,7 @@ 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 "" From d14d159976e6e1e84e07b90ee750978031917698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:29:26 +0100 Subject: [PATCH 061/183] Relocating module `@kbn/core-http-context-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/http/context-server-internal}/README.md | 0 .../core/packages/http/context-server-internal}/index.ts | 0 .../packages/http/context-server-internal}/jest.config.js | 4 ++-- .../core/packages/http/context-server-internal}/kibana.jsonc | 0 .../core/packages/http/context-server-internal}/package.json | 0 .../context-server-internal}/src/context_container.test.ts | 0 .../http/context-server-internal}/src/context_container.ts | 0 .../src/context_service.test.mocks.ts | 0 .../http/context-server-internal}/src/context_service.test.ts | 0 .../http/context-server-internal}/src/context_service.ts | 0 .../core/packages/http/context-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/http/core-http-context-server-internal => src/core/packages/http/context-server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 98ad99cecce3f..a3ae2cec5425d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -81,7 +81,6 @@ packages/core/execution-context/core-execution-context-browser-mocks @elastic/ki packages/core/execution-context/core-execution-context-server-mocks @elastic/kibana-core packages/core/fatal-errors/core-fatal-errors-browser-mocks @elastic/kibana-core packages/core/http/core-http-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 8617a410717fb..b57833daf8356 100644 --- a/package.json +++ b/package.json @@ -304,7 +304,7 @@ "@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:packages/core/http/core-http-context-server-internal", + "@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", 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/packages/core/http/core-http-context-server-internal/jest.config.js b/src/core/packages/http/context-server-internal/jest.config.js similarity index 83% rename from packages/core/http/core-http-context-server-internal/jest.config.js rename to src/core/packages/http/context-server-internal/jest.config.js index 34433ea07fa1b..63cdc973eaa7f 100644 --- a/packages/core/http/core-http-context-server-internal/jest.config.js +++ b/src/core/packages/http/context-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/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/tsconfig.base.json b/tsconfig.base.json index f61522eb916f3..edcf435bbf5a6 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -390,8 +390,8 @@ "@kbn/core-http-browser-mocks/*": ["packages/core/http/core-http-browser-mocks/*"], "@kbn/core-http-common": ["src/core/packages/http/common"], "@kbn/core-http-common/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index eacd3b7369d77..df36fbe6a99d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4593,7 +4593,7 @@ 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 "" From d06fdd7aa5801e7cd48521f5224bfd6512f924a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:31:06 +0100 Subject: [PATCH 062/183] Relocating module `@kbn/core-http-request-handler-context-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/http/request-handler-context-server}/README.md | 0 .../packages/http/request-handler-context-server}/index.ts | 0 .../http/request-handler-context-server}/jest.config.js | 4 ++-- .../http/request-handler-context-server}/kibana.jsonc | 0 .../http/request-handler-context-server}/package.json | 0 .../http/request-handler-context-server}/src/index.ts | 0 .../src/preboot_request_handler_context.ts | 0 .../src/request_handler_context.ts | 0 .../http/request-handler-context-server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/http/core-http-request-handler-context-server => src/core/packages/http/request-handler-context-server}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a3ae2cec5425d..9e5744c037eb8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -82,7 +82,6 @@ packages/core/execution-context/core-execution-context-server-mocks @elastic/kib packages/core/fatal-errors/core-fatal-errors-browser-mocks @elastic/kibana-core packages/core/http/core-http-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index b57833daf8356..b3638a97d2b33 100644 --- a/package.json +++ b/package.json @@ -306,7 +306,7 @@ "@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": "link:src/core/packages/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", 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/packages/core/http/core-http-request-handler-context-server/jest.config.js b/src/core/packages/http/request-handler-context-server/jest.config.js similarity index 82% rename from packages/core/http/core-http-request-handler-context-server/jest.config.js rename to src/core/packages/http/request-handler-context-server/jest.config.js index fc1ea0974b801..db0cc3c5ea443 100644 --- a/packages/core/http/core-http-request-handler-context-server/jest.config.js +++ b/src/core/packages/http/request-handler-context-server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-request-handler-context-server'], + 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/tsconfig.base.json b/tsconfig.base.json index edcf435bbf5a6..e1ca732132bfc 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -396,8 +396,8 @@ "@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": ["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": ["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"], diff --git a/yarn.lock b/yarn.lock index df36fbe6a99d3..bba61993bb288 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4609,7 +4609,7 @@ 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 "" From c74ac6e86534c14a596e30a131dcb6799e99f678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:32:54 +0100 Subject: [PATCH 063/183] Relocating module `@kbn/core-http-request-handler-context-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../http/request-handler-context-server-internal}/README.md | 0 .../http/request-handler-context-server-internal}/index.ts | 0 .../request-handler-context-server-internal}/jest.config.js | 4 ++-- .../request-handler-context-server-internal}/kibana.jsonc | 0 .../request-handler-context-server-internal}/package.json | 0 .../src/core_route_handler_context.test.ts | 0 .../src/core_route_handler_context.ts | 0 .../request-handler-context-server-internal}/src/index.ts | 0 .../src/preboot_core_route_handler_context.test.ts | 0 .../src/preboot_core_route_handler_context.ts | 0 .../test_helpers/core_route_handler_context_params.mock.ts | 0 .../src/test_helpers/index.ts | 0 .../preboot_core_route_handler_context_params.mock.ts | 0 .../request-handler-context-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 18 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/http/core-http-request-handler-context-server-internal => src/core/packages/http/request-handler-context-server-internal}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9e5744c037eb8..c8f1497628f52 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -82,7 +82,6 @@ packages/core/execution-context/core-execution-context-server-mocks @elastic/kib packages/core/fatal-errors/core-fatal-errors-browser-mocks @elastic/kibana-core packages/core/http/core-http-browser-mocks @elastic/kibana-core packages/core/http/core-http-context-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index b3638a97d2b33..0e1a4bb20eda2 100644 --- a/package.json +++ b/package.json @@ -307,7 +307,7 @@ "@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:src/core/packages/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-request-handler-context-server-internal": "link:src/core/packages/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", 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/packages/core/http/core-http-request-handler-context-server-internal/jest.config.js b/src/core/packages/http/request-handler-context-server-internal/jest.config.js similarity index 81% rename from packages/core/http/core-http-request-handler-context-server-internal/jest.config.js rename to src/core/packages/http/request-handler-context-server-internal/jest.config.js index 7ccfbb169f2ae..5668e9fbf9499 100644 --- a/packages/core/http/core-http-request-handler-context-server-internal/jest.config.js +++ b/src/core/packages/http/request-handler-context-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/http/core-http-request-handler-context-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index e1ca732132bfc..f0843fc968cc9 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -398,8 +398,8 @@ "@kbn/core-http-plugin/*": ["test/plugin_functional/plugins/core_http/*"], "@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": ["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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index bba61993bb288..8c28ae4f937ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4605,7 +4605,7 @@ 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 "" From f92d585aac413ca71ffc3d734dc5101acad3d511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:34:30 +0100 Subject: [PATCH 064/183] Relocating module `@kbn/core-http-resources-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/http/resources-server}/README.md | 0 .../core/packages/http/resources-server}/index.ts | 0 .../core/packages/http/resources-server}/jest.config.js | 4 ++-- .../core/packages/http/resources-server}/kibana.jsonc | 0 .../core/packages/http/resources-server}/package.json | 0 .../core/packages/http/resources-server}/src/index.ts | 0 .../core/packages/http/resources-server}/src/types.ts | 0 .../core/packages/http/resources-server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/http/core-http-resources-server => src/core/packages/http/resources-server}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c8f1497628f52..5e677f2ecb517 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -82,7 +82,6 @@ packages/core/execution-context/core-execution-context-server-mocks @elastic/kib packages/core/fatal-errors/core-fatal-errors-browser-mocks @elastic/kibana-core packages/core/http/core-http-browser-mocks @elastic/kibana-core packages/core/http/core-http-context-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 0e1a4bb20eda2..343b5318e4973 100644 --- a/package.json +++ b/package.json @@ -308,7 +308,7 @@ "@kbn/core-http-plugin": "link:test/plugin_functional/plugins/core_http", "@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:packages/core/http/core-http-resources-server", + "@kbn/core-http-resources-server": "link:src/core/packages/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", 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/packages/core/http/core-http-resources-server/jest.config.js b/src/core/packages/http/resources-server/jest.config.js similarity index 84% rename from packages/core/http/core-http-resources-server/jest.config.js rename to src/core/packages/http/resources-server/jest.config.js index 5f132637ef8e8..52941f6b2503f 100644 --- a/packages/core/http/core-http-resources-server/jest.config.js +++ b/src/core/packages/http/resources-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/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/tsconfig.base.json b/tsconfig.base.json index f0843fc968cc9..a70af99422e26 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -400,8 +400,8 @@ "@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": ["packages/core/http/core-http-resources-server"], - "@kbn/core-http-resources-server/*": ["packages/core/http/core-http-resources-server/*"], + "@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": ["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-resources-server-mocks": ["packages/core/http/core-http-resources-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 8c28ae4f937ec..b00474f31683b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4621,7 +4621,7 @@ 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 "" From 9ecfc8a77808d0ccb8a28269716d6a71858ba418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:36:03 +0100 Subject: [PATCH 065/183] Relocating module `@kbn/core-http-resources-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/http/resources-server-internal}/README.md | 0 .../core/packages/http/resources-server-internal}/index.ts | 0 .../packages/http/resources-server-internal}/jest.config.js | 4 ++-- .../packages/http/resources-server-internal}/kibana.jsonc | 0 .../packages/http/resources-server-internal}/package.json | 0 .../src/http_resources_service.test.ts | 0 .../resources-server-internal}/src/http_resources_service.ts | 0 .../packages/http/resources-server-internal}/src/index.ts | 0 .../src/test_helpers/http_resources_service_test_mocks.ts | 0 .../packages/http/resources-server-internal}/src/types.ts | 0 .../packages/http/resources-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) 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/http/core-http-resources-server-internal => src/core/packages/http/resources-server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5e677f2ecb517..d61204e76efbb 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -82,7 +82,6 @@ packages/core/execution-context/core-execution-context-server-mocks @elastic/kib packages/core/fatal-errors/core-fatal-errors-browser-mocks @elastic/kibana-core packages/core/http/core-http-browser-mocks @elastic/kibana-core packages/core/http/core-http-context-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 343b5318e4973..c9068b9f5077b 100644 --- a/package.json +++ b/package.json @@ -309,7 +309,7 @@ "@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:packages/core/http/core-http-resources-server-internal", + "@kbn/core-http-resources-server-internal": "link:src/core/packages/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", 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/http/core-http-resources-server-internal/jest.config.js b/src/core/packages/http/resources-server-internal/jest.config.js similarity index 83% rename from packages/core/http/core-http-resources-server-internal/jest.config.js rename to src/core/packages/http/resources-server-internal/jest.config.js index 4488993c9eaff..8923c52f51d95 100644 --- a/packages/core/http/core-http-resources-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/http/core-http-resources-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/tsconfig.base.json b/tsconfig.base.json index a70af99422e26..e70642e1d124f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -402,8 +402,8 @@ "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index b00474f31683b..08c893399d841 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4613,7 +4613,7 @@ 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 "" From b8283f07b74c54922e36b552e4b54366a8727920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:37:40 +0100 Subject: [PATCH 066/183] Relocating module `@kbn/core-http-router-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/http/router-server-internal}/README.md | 0 .../core/packages/http/router-server-internal}/index.ts | 0 .../core/packages/http/router-server-internal}/jest.config.js | 4 ++-- .../core/packages/http/router-server-internal}/kibana.jsonc | 0 .../core/packages/http/router-server-internal}/package.json | 0 .../http/router-server-internal}/src/error_wrapper.test.ts | 0 .../http/router-server-internal}/src/error_wrapper.ts | 0 .../core/packages/http/router-server-internal}/src/headers.ts | 0 .../http/router-server-internal}/src/patch_requests.ts | 0 .../packages/http/router-server-internal}/src/request.test.ts | 0 .../core/packages/http/router-server-internal}/src/request.ts | 0 .../http/router-server-internal}/src/response.test.ts | 0 .../packages/http/router-server-internal}/src/response.ts | 0 .../http/router-server-internal}/src/response_adapter.ts | 0 .../core/packages/http/router-server-internal}/src/route.ts | 0 .../packages/http/router-server-internal}/src/router.test.ts | 0 .../http/router-server-internal}/src/router.test.util.ts | 0 .../core/packages/http/router-server-internal}/src/router.ts | 0 .../src/security_route_config_validator.test.ts | 0 .../src/security_route_config_validator.ts | 0 .../packages/http/router-server-internal}/src/socket.test.ts | 0 .../core/packages/http/router-server-internal}/src/socket.ts | 0 .../src/strip_illegal_http2_headers.test.ts | 0 .../src/strip_illegal_http2_headers.ts | 0 .../packages/http/router-server-internal}/src/util.test.ts | 0 .../core/packages/http/router-server-internal}/src/util.ts | 0 .../http/router-server-internal}/src/validator.test.ts | 0 .../packages/http/router-server-internal}/src/validator.ts | 0 .../src/versioned_router/core_versioned_route.test.ts | 0 .../src/versioned_router/core_versioned_route.test.util.ts | 0 .../src/versioned_router/core_versioned_route.ts | 0 .../src/versioned_router/core_versioned_router.test.ts | 0 .../src/versioned_router/core_versioned_router.ts | 0 .../src/versioned_router/handler_resolvers.test.ts | 0 .../src/versioned_router/handler_resolvers.ts | 0 .../router-server-internal}/src/versioned_router/index.ts | 0 .../router-server-internal}/src/versioned_router/mocks.ts | 0 .../src/versioned_router/route_version_utils.test.ts | 0 .../src/versioned_router/route_version_utils.ts | 0 .../router-server-internal}/src/versioned_router/types.ts | 0 .../router-server-internal}/src/versioned_router/util.test.ts | 0 .../http/router-server-internal}/src/versioned_router/util.ts | 0 .../router-server-internal}/src/versioned_router/validate.ts | 0 .../core/packages/http/router-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 48 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/http/core-http-router-server-internal => src/core/packages/http/router-server-internal}/jest.config.js (83%) 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 (100%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d61204e76efbb..e661f57aeb066 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -83,7 +83,6 @@ packages/core/fatal-errors/core-fatal-errors-browser-mocks @elastic/kibana-core packages/core/http/core-http-browser-mocks @elastic/kibana-core packages/core/http/core-http-context-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index c9068b9f5077b..617f38fc90a8d 100644 --- a/package.json +++ b/package.json @@ -310,7 +310,7 @@ "@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:packages/core/http/core-http-router-server-internal", + "@kbn/core-http-router-server-internal": "link:src/core/packages/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", 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/packages/core/http/core-http-router-server-internal/jest.config.js b/src/core/packages/http/router-server-internal/jest.config.js similarity index 83% rename from packages/core/http/core-http-router-server-internal/jest.config.js rename to src/core/packages/http/router-server-internal/jest.config.js index 270d78ff2b1a1..5f57ddc25b045 100644 --- a/packages/core/http/core-http-router-server-internal/jest.config.js +++ b/src/core/packages/http/router-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/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 100% 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 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/tsconfig.base.json b/tsconfig.base.json index e70642e1d124f..29bea14b21b3e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -406,8 +406,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index 08c893399d841..dcb612353d01f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4625,7 +4625,7 @@ 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 "" From ddc2321fa5ebeaf04111b5e3a3bb62883dcdbc09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:39:52 +0100 Subject: [PATCH 067/183] Relocating module `@kbn/core-http-server` --- .github/CODEOWNERS | 2 +- docs/developer/architecture/core/http-service.asciidoc | 2 +- .../architecture/core/patterns-scoped-services.asciidoc | 4 ++-- package.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 .../core/packages/http/server}/src/auth_headers.ts | 0 .../core/packages/http/server}/src/auth_state.ts | 0 .../core/packages/http/server}/src/base_path.ts | 0 .../core/packages/http/server}/src/csp.ts | 0 .../core/packages/http/server}/src/elu_monitor.ts | 0 .../core/packages/http/server}/src/external_url.ts | 0 .../core/packages/http/server}/src/http_contract.ts | 0 .../core/packages/http/server}/src/lifecycle/auth.ts | 0 .../core/packages/http/server}/src/lifecycle/index.ts | 0 .../core/packages/http/server}/src/lifecycle/on_post_auth.ts | 0 .../core/packages/http/server}/src/lifecycle/on_pre_auth.ts | 0 .../packages/http/server}/src/lifecycle/on_pre_response.ts | 0 .../packages/http/server}/src/lifecycle/on_pre_routing.ts | 0 .../packages/http/server}/src/router/context_container.ts | 0 .../core/packages/http/server}/src/router/context_provider.ts | 0 .../core/packages/http/server}/src/router/headers.ts | 0 .../core/packages/http/server}/src/router/index.ts | 0 .../core/packages/http/server}/src/router/raw_request.ts | 0 .../core/packages/http/server}/src/router/request.ts | 0 .../core/packages/http/server}/src/router/request_handler.ts | 0 .../http/server}/src/router/request_handler_context.ts | 0 .../core/packages/http/server}/src/router/response.test.ts | 0 .../core/packages/http/server}/src/router/response.ts | 0 .../core/packages/http/server}/src/router/response_factory.ts | 0 .../core/packages/http/server}/src/router/route.ts | 0 .../core/packages/http/server}/src/router/route_validator.ts | 0 .../core/packages/http/server}/src/router/router.ts | 0 .../core/packages/http/server}/src/router/socket.ts | 0 .../core/packages/http/server}/src/router/utils.test.ts | 0 .../core/packages/http/server}/src/router/utils.ts | 0 .../core/packages/http/server}/src/session_storage.ts | 0 .../core/packages/http/server}/src/static_assets.ts | 0 .../core/packages/http/server}/src/versioning/README.md | 0 .../core/packages/http/server}/src/versioning/index.ts | 0 .../core/packages/http/server}/src/versioning/types.ts | 0 .../core/packages/http/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 47 files changed, 11 insertions(+), 11 deletions(-) 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/core/http/core-http-server => src/core/packages/http/server}/jest.config.js (85%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e661f57aeb066..770e201f51e75 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -84,7 +84,6 @@ packages/core/http/core-http-browser-mocks @elastic/kibana-core packages/core/http/core-http-context-server-mocks @elastic/kibana-core packages/core/http/core-http-resources-server-mocks @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 @@ -559,6 +558,7 @@ src/core/packages/http/request-handler-context-server-internal @elastic/kibana-c 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/core/http-service.asciidoc b/docs/developer/architecture/core/http-service.asciidoc index 3c8181160310b..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] ---- diff --git a/docs/developer/architecture/core/patterns-scoped-services.asciidoc b/docs/developer/architecture/core/patterns-scoped-services.asciidoc index 47cbd4cd1d4a6..94ea598850b84 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,7 +16,7 @@ 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/src/core/packages/elasticsearch/server/src/client/scoped_cluster_client.ts[`context.elasticsearch.client`] diff --git a/package.json b/package.json index 617f38fc90a8d..e4cb28e07d2f0 100644 --- a/package.json +++ b/package.json @@ -311,7 +311,7 @@ "@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:packages/core/http/core-http-server", + "@kbn/core-http-server": "link:src/core/packages/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", 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/core/http/core-http-server/jest.config.js b/src/core/packages/http/server/jest.config.js similarity index 85% rename from packages/core/http/core-http-server/jest.config.js rename to src/core/packages/http/server/jest.config.js index 3d9c0920e2663..9e7d88447e6ef 100644 --- a/packages/core/http/core-http-server/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/core/http/core-http-server'], + 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/tsconfig.base.json b/tsconfig.base.json index 29bea14b21b3e..76c241ffb3f71 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -410,8 +410,8 @@ "@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": ["src/core/packages/http/server"], + "@kbn/core-http-server/*": ["src/core/packages/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-mocks": ["packages/core/http/core-http-server-mocks"], diff --git a/yarn.lock b/yarn.lock index dcb612353d01f..f0386803e747b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4645,7 +4645,7 @@ 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 "" From 4316c56e67115840241881e08e7653fc7e4a77e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:41:40 +0100 Subject: [PATCH 068/183] Relocating module `@kbn/core-http-server-internal` --- .github/CODEOWNERS | 4 ++-- package.json | 2 +- .../core/packages/http/server-internal}/README.md | 0 .../core/packages/http/server-internal}/index.ts | 0 .../packages/http/server-internal}/jest.config.js | 4 ++-- .../packages/http/server-internal}/kibana.jsonc | 0 .../packages/http/server-internal}/package.json | 0 .../__fixtures/static/compression_available.json | 0 .../__fixtures/static/compression_available.json.gz | Bin .../src/__fixtures/static/some_json.json | 0 .../src/__snapshots__/http_config.test.ts.snap | 0 .../src/__snapshots__/http_service.test.ts.snap | 0 .../https_redirect_server.test.ts.snap | 0 .../src/auth_headers_storage.test.ts | 0 .../server-internal}/src/auth_headers_storage.ts | 0 .../http/server-internal}/src/auth_state_storage.ts | 0 .../server-internal}/src/base_path_service.test.ts | 0 .../http/server-internal}/src/base_path_service.ts | 0 .../src/cdn_config/cdn_config.test.ts | 0 .../server-internal}/src/cdn_config/cdn_config.ts | 0 .../http/server-internal}/src/cdn_config/index.ts | 0 .../server-internal}/src/cookie_session_storage.ts | 0 .../http/server-internal}/src/csp/config.test.ts | 0 .../http/server-internal}/src/csp/config.ts | 0 .../server-internal}/src/csp/csp_config.test.ts | 0 .../http/server-internal}/src/csp/csp_config.ts | 0 .../server-internal}/src/csp/csp_directives.test.ts | 0 .../http/server-internal}/src/csp/csp_directives.ts | 0 .../packages/http/server-internal}/src/csp/index.ts | 0 .../src/external_url/config.test.ts | 0 .../server-internal}/src/external_url/config.ts | 0 .../src/external_url/external_url_config.ts | 0 .../http/server-internal}/src/external_url/index.ts | 0 .../http/server-internal}/src/http_config.test.ts | 0 .../http/server-internal}/src/http_config.ts | 0 .../server-internal}/src/http_server.test.mocks.ts | 0 .../http/server-internal}/src/http_server.test.ts | 0 .../http/server-internal}/src/http_server.ts | 0 .../server-internal}/src/http_service.test.mocks.ts | 0 .../http/server-internal}/src/http_service.test.ts | 0 .../http/server-internal}/src/http_service.ts | 0 .../src/https_redirect_server.test.ts | 0 .../server-internal}/src/https_redirect_server.ts | 0 .../http/server-internal}/src/lifecycle/auth.ts | 0 .../server-internal}/src/lifecycle/on_post_auth.ts | 0 .../server-internal}/src/lifecycle/on_pre_auth.ts | 0 .../src/lifecycle/on_pre_response.ts | 0 .../src/lifecycle/on_pre_routing.ts | 0 .../server-internal}/src/lifecycle_handlers.test.ts | 0 .../http/server-internal}/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 .../http/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 .../src/security_response_headers_config.test.ts | 0 .../src/security_response_headers_config.ts | 0 .../server-internal}/src/static_assets/index.ts | 0 .../src/static_assets/static_assets.test.ts | 0 .../src/static_assets/static_assets.ts | 0 .../http/server-internal}/src/static_assets/util.ts | 0 .../packages/http/server-internal}/src/types.ts | 0 .../packages/http/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 69 files changed, 9 insertions(+), 9 deletions(-) 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/http/core-http-server-internal => src/core/packages/http/server-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 770e201f51e75..d1ba30909e818 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -84,7 +84,6 @@ packages/core/http/core-http-browser-mocks @elastic/kibana-core packages/core/http/core-http-context-server-mocks @elastic/kibana-core packages/core/http/core-http-resources-server-mocks @elastic/kibana-core packages/core/http/core-http-router-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management @@ -1917,7 +1917,7 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi /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/package.json b/package.json index e4cb28e07d2f0..7ce3a8df79687 100644 --- a/package.json +++ b/package.json @@ -312,7 +312,7 @@ "@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:packages/core/http/core-http-server-internal", + "@kbn/core-http-server-internal": "link:src/core/packages/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", 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/http/core-http-server-internal/jest.config.js b/src/core/packages/http/server-internal/jest.config.js similarity index 84% rename from packages/core/http/core-http-server-internal/jest.config.js rename to src/core/packages/http/server-internal/jest.config.js index f53fe944b48e6..de8efc4859bcf 100644 --- a/packages/core/http/core-http-server-internal/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/http/core-http-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 76c241ffb3f71..67bd00099c0a7 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -412,8 +412,8 @@ "@kbn/core-http-router-server-mocks/*": ["packages/core/http/core-http-router-server-mocks/*"], "@kbn/core-http-server": ["src/core/packages/http/server"], "@kbn/core-http-server/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index f0386803e747b..5c5d8c44b3615 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4633,7 +4633,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 "" From 5f484d6095b227d411e456f6729ac82d84a14172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:43:07 +0100 Subject: [PATCH 069/183] Relocating module `@kbn/core-http-server-utils` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/http/server-utils}/README.md | 0 .../core/packages/http/server-utils}/index.ts | 0 .../core/packages/http/server-utils}/jest.config.js | 4 ++-- .../core/packages/http/server-utils}/kibana.jsonc | 0 .../core/packages/http/server-utils}/package.json | 0 .../core/packages/http/server-utils}/src/request.ts | 0 .../core/packages/http/server-utils}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/http/core-http-server-utils => src/core/packages/http/server-utils}/jest.config.js (85%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d1ba30909e818..87636c86f3a2d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -85,7 +85,6 @@ packages/core/http/core-http-context-server-mocks @elastic/kibana-core packages/core/http/core-http-resources-server-mocks @elastic/kibana-core packages/core/http/core-http-router-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 7ce3a8df79687..13d031a9e1a9b 100644 --- a/package.json +++ b/package.json @@ -313,7 +313,7 @@ "@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:packages/core/http/core-http-server-utils", + "@kbn/core-http-server-utils": "link:src/core/packages/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", 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/packages/core/http/core-http-server-utils/jest.config.js b/src/core/packages/http/server-utils/jest.config.js similarity index 85% rename from packages/core/http/core-http-server-utils/jest.config.js rename to src/core/packages/http/server-utils/jest.config.js index eff6f9ba0e4c6..e310d5cb0c78e 100644 --- a/packages/core/http/core-http-server-utils/jest.config.js +++ b/src/core/packages/http/server-utils/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/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/tsconfig.base.json b/tsconfig.base.json index 67bd00099c0a7..fa56909a27674 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -416,8 +416,8 @@ "@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-http-server-utils": ["src/core/packages/http/server-utils"], + "@kbn/core-http-server-utils/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 5c5d8c44b3615..66442d1c100ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4641,7 +4641,7 @@ 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 "" From f061684c31cb9a83f667a2ee2775b2ac13d86e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:44:50 +0100 Subject: [PATCH 070/183] Relocating module `@kbn/core-i18n-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/i18n/browser}/README.md | 0 .../core/packages/i18n/browser}/index.ts | 0 .../core/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 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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/core/i18n/core-i18n-browser => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 87636c86f3a2d..6c7eb2e0a961b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -85,7 +85,6 @@ packages/core/http/core-http-context-server-mocks @elastic/kibana-core packages/core/http/core-http-resources-server-mocks @elastic/kibana-core packages/core/http/core-http-router-server-mocks @elastic/kibana-core packages/core/http/core-http-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 13d031a9e1a9b..ebdaa738ca606 100644 --- a/package.json +++ b/package.json @@ -314,7 +314,7 @@ "@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:packages/core/i18n/core-i18n-browser", + "@kbn/core-i18n-browser": "link:src/core/packages/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", 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/core/i18n/core-i18n-browser/jest.config.js b/src/core/packages/i18n/browser/jest.config.js similarity index 85% rename from packages/core/i18n/core-i18n-browser/jest.config.js rename to src/core/packages/i18n/browser/jest.config.js index 5bb5c07d329e5..d49bf28b3edc7 100644 --- a/packages/core/i18n/core-i18n-browser/jest.config.js +++ b/src/core/packages/i18n/browser/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/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/tsconfig.base.json b/tsconfig.base.json index fa56909a27674..191138d81acd3 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -418,8 +418,8 @@ "@kbn/core-http-server-mocks/*": ["packages/core/http/core-http-server-mocks/*"], "@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": ["packages/core/i18n/core-i18n-browser"], - "@kbn/core-i18n-browser/*": ["packages/core/i18n/core-i18n-browser/*"], + "@kbn/core-i18n-browser": ["src/core/packages/i18n/browser"], + "@kbn/core-i18n-browser/*": ["src/core/packages/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-i18n-browser-mocks": ["packages/core/i18n/core-i18n-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 66442d1c100ea..98de798ced8c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4657,7 +4657,7 @@ 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 "" From 0fc76161eebfac73a1e3d3aefe459577694c712c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:46:13 +0100 Subject: [PATCH 071/183] Relocating module `@kbn/core-i18n-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/i18n/browser-internal}/README.md | 0 .../core/packages/i18n/browser-internal}/index.ts | 0 .../core/packages/i18n/browser-internal}/jest.config.js | 4 ++-- .../core/packages/i18n/browser-internal}/kibana.jsonc | 0 .../core/packages/i18n/browser-internal}/package.json | 0 .../src/__snapshots__/i18n_service.test.tsx.snap | 0 .../i18n/browser-internal}/src/i18n_eui_mapping.test.ts | 0 .../packages/i18n/browser-internal}/src/i18n_eui_mapping.tsx | 0 .../packages/i18n/browser-internal}/src/i18n_service.test.tsx | 0 .../core/packages/i18n/browser-internal}/src/i18n_service.tsx | 0 .../core/packages/i18n/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/i18n/core-i18n-browser-internal => src/core/packages/i18n/browser-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6c7eb2e0a961b..1242d262885b6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -85,7 +85,6 @@ packages/core/http/core-http-context-server-mocks @elastic/kibana-core packages/core/http/core-http-resources-server-mocks @elastic/kibana-core packages/core/http/core-http-router-server-mocks @elastic/kibana-core packages/core/http/core-http-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index ebdaa738ca606..93c50d63ab94e 100644 --- a/package.json +++ b/package.json @@ -315,7 +315,7 @@ "@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:packages/core/i18n/core-i18n-browser-internal", + "@kbn/core-i18n-browser-internal": "link:src/core/packages/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", 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/packages/core/i18n/core-i18n-browser-internal/jest.config.js b/src/core/packages/i18n/browser-internal/jest.config.js similarity index 84% rename from packages/core/i18n/core-i18n-browser-internal/jest.config.js rename to src/core/packages/i18n/browser-internal/jest.config.js index 6594f54b4a6cf..c3b564c016692 100644 --- a/packages/core/i18n/core-i18n-browser-internal/jest.config.js +++ b/src/core/packages/i18n/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/i18n/core-i18n-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 191138d81acd3..befd51780464c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -420,8 +420,8 @@ "@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": ["packages/core/i18n/core-i18n-browser-internal"], - "@kbn/core-i18n-browser-internal/*": ["packages/core/i18n/core-i18n-browser-internal/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index 98de798ced8c0..df3f34f5cf161 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4649,7 +4649,7 @@ 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 "" From 35527f16373921fbddf54a904ea408ea1aeed042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:47:50 +0100 Subject: [PATCH 072/183] Relocating module `@kbn/core-i18n-server` --- .github/CODEOWNERS | 2 +- package.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 .../core/packages/i18n/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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/core/i18n/core-i18n-server => src/core/packages/i18n/server}/jest.config.js (85%) 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%) rename {packages/core/i18n/core-i18n-server => src/core/packages/i18n/server}/tsconfig.json (78%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1242d262885b6..8511c3dbf9430 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -86,7 +86,6 @@ packages/core/http/core-http-resources-server-mocks @elastic/kibana-core packages/core/http/core-http-router-server-mocks @elastic/kibana-core packages/core/http/core-http-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 93c50d63ab94e..417727295dc49 100644 --- a/package.json +++ b/package.json @@ -316,7 +316,7 @@ "@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:packages/core/i18n/core-i18n-server", + "@kbn/core-i18n-server": "link:src/core/packages/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", 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/core/i18n/core-i18n-server/jest.config.js b/src/core/packages/i18n/server/jest.config.js similarity index 85% rename from packages/core/i18n/core-i18n-server/jest.config.js rename to src/core/packages/i18n/server/jest.config.js index 9e0622d6f8389..d8e4c3d082114 100644 --- a/packages/core/i18n/core-i18n-server/jest.config.js +++ b/src/core/packages/i18n/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/i18n/core-i18n-server'], + 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/packages/core/i18n/core-i18n-server/tsconfig.json b/src/core/packages/i18n/server/tsconfig.json similarity index 78% rename from packages/core/i18n/core-i18n-server/tsconfig.json rename to src/core/packages/i18n/server/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/i18n/core-i18n-server/tsconfig.json +++ b/src/core/packages/i18n/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index befd51780464c..f15339d18f933 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -424,8 +424,8 @@ "@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": ["src/core/packages/i18n/server"], + "@kbn/core-i18n-server/*": ["src/core/packages/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-mocks": ["packages/core/i18n/core-i18n-server-mocks"], diff --git a/yarn.lock b/yarn.lock index df3f34f5cf161..3d866c4ea4303 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4669,7 +4669,7 @@ 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 "" From 2bf49ab717dce6c5723d7fdbba3ef08ba9aa2b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:49:42 +0100 Subject: [PATCH 073/183] Relocating module `@kbn/core-i18n-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/i18n/server-internal}/README.md | 0 .../core/packages/i18n/server-internal}/index.ts | 0 .../core/packages/i18n/server-internal}/jest.config.js | 4 ++-- .../core/packages/i18n/server-internal}/kibana.jsonc | 0 .../core/packages/i18n/server-internal}/package.json | 0 .../core/packages/i18n/server-internal}/src/constants.ts | 0 .../server-internal}/src/get_kibana_translation_files.test.ts | 0 .../i18n/server-internal}/src/get_kibana_translation_files.ts | 0 .../server-internal}/src/get_translation_paths.test.mocks.ts | 0 .../i18n/server-internal}/src/get_translation_paths.test.ts | 0 .../i18n/server-internal}/src/get_translation_paths.ts | 0 .../core/packages/i18n/server-internal}/src/i18n_config.ts | 0 .../i18n/server-internal}/src/i18n_service.test.mocks.ts | 0 .../packages/i18n/server-internal}/src/i18n_service.test.ts | 0 .../core/packages/i18n/server-internal}/src/i18n_service.ts | 0 .../core/packages/i18n/server-internal}/src/index.ts | 0 .../packages/i18n/server-internal}/src/init_translations.ts | 0 .../core/packages/i18n/server-internal}/src/routes/index.ts | 0 .../i18n/server-internal}/src/routes/translations.test.ts | 0 .../packages/i18n/server-internal}/src/routes/translations.ts | 0 .../core/packages/i18n/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 25 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/i18n/core-i18n-server-internal => src/core/packages/i18n/server-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8511c3dbf9430..082b421a1d180 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -86,7 +86,6 @@ packages/core/http/core-http-resources-server-mocks @elastic/kibana-core packages/core/http/core-http-router-server-mocks @elastic/kibana-core packages/core/http/core-http-server-mocks @elastic/kibana-core packages/core/i18n/core-i18n-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 417727295dc49..3c45c2514e99d 100644 --- a/package.json +++ b/package.json @@ -317,7 +317,7 @@ "@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:packages/core/i18n/core-i18n-server-internal", + "@kbn/core-i18n-server-internal": "link:src/core/packages/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", 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/packages/core/i18n/core-i18n-server-internal/jest.config.js b/src/core/packages/i18n/server-internal/jest.config.js similarity index 84% rename from packages/core/i18n/core-i18n-server-internal/jest.config.js rename to src/core/packages/i18n/server-internal/jest.config.js index 561d36c0739d2..ab999bb98113a 100644 --- a/packages/core/i18n/core-i18n-server-internal/jest.config.js +++ b/src/core/packages/i18n/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/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/tsconfig.base.json b/tsconfig.base.json index f15339d18f933..7c529dc193369 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -426,8 +426,8 @@ "@kbn/core-i18n-browser-mocks/*": ["packages/core/i18n/core-i18n-browser-mocks/*"], "@kbn/core-i18n-server": ["src/core/packages/i18n/server"], "@kbn/core-i18n-server/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index 3d866c4ea4303..c08712d24fd22 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4661,7 +4661,7 @@ 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 "" From 9896161ed6cd1ed4a2497151e32f68b1a03d36d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:51:27 +0100 Subject: [PATCH 074/183] Relocating module `@kbn/core-injected-metadata-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/injected-metadata/browser-internal}/README.md | 0 .../packages/injected-metadata/browser-internal}/index.ts | 0 .../injected-metadata/browser-internal}/jest.config.js | 4 ++-- .../packages/injected-metadata/browser-internal}/kibana.jsonc | 0 .../packages/injected-metadata/browser-internal}/package.json | 0 .../browser-internal}/src/injected_metadata_service.test.ts | 0 .../browser-internal}/src/injected_metadata_service.ts | 0 .../packages/injected-metadata/browser-internal}/src/types.ts | 0 .../injected-metadata/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/injected-metadata/core-injected-metadata-browser-internal => src/core/packages/injected-metadata/browser-internal}/jest.config.js (80%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 082b421a1d180..40c4336ee8d04 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -87,7 +87,6 @@ packages/core/http/core-http-router-server-mocks @elastic/kibana-core packages/core/http/core-http-server-mocks @elastic/kibana-core packages/core/i18n/core-i18n-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 3c45c2514e99d..a7453022ed8c7 100644 --- a/package.json +++ b/package.json @@ -318,7 +318,7 @@ "@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:packages/core/injected-metadata/core-injected-metadata-browser-internal", + "@kbn/core-injected-metadata-browser-internal": "link:src/core/packages/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", 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/packages/core/injected-metadata/core-injected-metadata-browser-internal/jest.config.js b/src/core/packages/injected-metadata/browser-internal/jest.config.js similarity index 80% rename from packages/core/injected-metadata/core-injected-metadata-browser-internal/jest.config.js rename to src/core/packages/injected-metadata/browser-internal/jest.config.js index df07bb9aa5f60..df73a086f114e 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser-internal/jest.config.js +++ b/src/core/packages/injected-metadata/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/injected-metadata/core-injected-metadata-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 7c529dc193369..cbfc0ff8987fc 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -430,8 +430,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index c08712d24fd22..a79ac50546e8f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4673,7 +4673,7 @@ 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 "" From 217f755bc8b394f0038c4ba27b0a786e94700d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:53:13 +0100 Subject: [PATCH 075/183] Relocating module `@kbn/core-injected-metadata-common-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/injected-metadata/common-internal}/README.md | 0 .../core/packages/injected-metadata/common-internal}/index.ts | 0 .../injected-metadata/common-internal}/jest.config.js | 4 ++-- .../packages/injected-metadata/common-internal}/kibana.jsonc | 0 .../packages/injected-metadata/common-internal}/package.json | 0 .../packages/injected-metadata/common-internal}/src/types.ts | 0 .../packages/injected-metadata/common-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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/injected-metadata/core-injected-metadata-common-internal => src/core/packages/injected-metadata/common-internal}/jest.config.js (80%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 40c4336ee8d04..7b43b48d47887 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -88,7 +88,6 @@ packages/core/http/core-http-server-mocks @elastic/kibana-core packages/core/i18n/core-i18n-browser-mocks @elastic/kibana-core packages/core/i18n/core-i18n-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index a7453022ed8c7..335bb43cb382f 100644 --- a/package.json +++ b/package.json @@ -319,7 +319,7 @@ "@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:packages/core/injected-metadata/core-injected-metadata-common-internal", + "@kbn/core-injected-metadata-common-internal": "link:src/core/packages/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", 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/injected-metadata/core-injected-metadata-common-internal/jest.config.js b/src/core/packages/injected-metadata/common-internal/jest.config.js similarity index 80% rename from packages/core/injected-metadata/core-injected-metadata-common-internal/jest.config.js rename to src/core/packages/injected-metadata/common-internal/jest.config.js index 38dbe1dc8a2d6..31f3ff66a6a01 100644 --- a/packages/core/injected-metadata/core-injected-metadata-common-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/injected-metadata/core-injected-metadata-common-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/tsconfig.base.json b/tsconfig.base.json index cbfc0ff8987fc..377f55cbd3e07 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -434,8 +434,8 @@ "@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-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": ["packages/core/integrations/core-integrations-browser-internal"], "@kbn/core-integrations-browser-internal/*": ["packages/core/integrations/core-integrations-browser-internal/*"], "@kbn/core-integrations-browser-mocks": ["packages/core/integrations/core-integrations-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index a79ac50546e8f..d340c43c0bdc1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4681,7 +4681,7 @@ 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 "" From 128564eaa43bd021e2dd81c9bb6f4729af48909a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:54:45 +0100 Subject: [PATCH 076/183] Relocating module `@kbn/core-integrations-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/integrations/browser-internal}/README.md | 0 .../core/packages/integrations/browser-internal}/index.ts | 0 .../packages/integrations/browser-internal}/jest.config.js | 4 ++-- .../core/packages/integrations/browser-internal}/kibana.jsonc | 0 .../core/packages/integrations/browser-internal}/package.json | 0 .../browser-internal}/src/integrations_service.test.mocks.ts | 0 .../browser-internal}/src/integrations_service.test.ts | 0 .../browser-internal}/src/integrations_service.ts | 0 .../integrations/browser-internal}/src/moment/index.ts | 0 .../browser-internal}/src/moment/moment_service.test.mocks.ts | 0 .../browser-internal}/src/moment/moment_service.test.ts | 0 .../browser-internal}/src/moment/moment_service.ts | 0 .../browser-internal}/src/styles/disable_animations.css | 0 .../integrations/browser-internal}/src/styles/index.ts | 0 .../browser-internal}/src/styles/styles_service.test.ts | 0 .../browser-internal}/src/styles/styles_service.ts | 0 .../packages/integrations/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 21 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/integrations/core-integrations-browser-internal => src/core/packages/integrations/browser-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7b43b48d47887..615a3336b698e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -88,7 +88,6 @@ packages/core/http/core-http-server-mocks @elastic/kibana-core packages/core/i18n/core-i18n-browser-mocks @elastic/kibana-core packages/core/i18n/core-i18n-server-mocks @elastic/kibana-core packages/core/injected-metadata/core-injected-metadata-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 335bb43cb382f..578cd606c5ded 100644 --- a/package.json +++ b/package.json @@ -320,7 +320,7 @@ "@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:packages/core/integrations/core-integrations-browser-internal", + "@kbn/core-integrations-browser-internal": "link:src/core/packages/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", 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/packages/core/integrations/core-integrations-browser-internal/jest.config.js b/src/core/packages/integrations/browser-internal/jest.config.js similarity index 82% rename from packages/core/integrations/core-integrations-browser-internal/jest.config.js rename to src/core/packages/integrations/browser-internal/jest.config.js index b63189d72c7a0..12212c5759826 100644 --- a/packages/core/integrations/core-integrations-browser-internal/jest.config.js +++ b/src/core/packages/integrations/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/integrations/core-integrations-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 377f55cbd3e07..d58ba7dde80dc 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -436,8 +436,8 @@ "@kbn/core-injected-metadata-browser-mocks/*": ["packages/core/injected-metadata/core-injected-metadata-browser-mocks/*"], "@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": ["packages/core/integrations/core-integrations-browser-internal"], - "@kbn/core-integrations-browser-internal/*": ["packages/core/integrations/core-integrations-browser-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"], diff --git a/yarn.lock b/yarn.lock index d340c43c0bdc1..29203bd578405 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4685,7 +4685,7 @@ 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 "" From ce974718419267428f4c3dfdb335aaeee43c32e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:56:28 +0100 Subject: [PATCH 077/183] Relocating module `@kbn/core-lifecycle-browser` --- .github/CODEOWNERS | 2 +- .../architecture/kibana-platform-plugin-api.asciidoc | 2 +- package.json | 2 +- .../core/packages/lifecycle/browser}/README.md | 0 .../core/packages/lifecycle/browser}/index.ts | 0 .../core/packages/lifecycle/browser}/jest.config.js | 4 ++-- .../core/packages/lifecycle/browser}/kibana.jsonc | 0 .../core/packages/lifecycle/browser}/package.json | 0 .../core/packages/lifecycle/browser}/src/core_setup.ts | 0 .../core/packages/lifecycle/browser}/src/core_start.ts | 0 .../core/packages/lifecycle/browser}/src/index.ts | 0 .../core/packages/lifecycle/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 9 insertions(+), 9 deletions(-) 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%) rename {packages/core/lifecycle/core-lifecycle-browser => src/core/packages/lifecycle/browser}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 615a3336b698e..e604756e2f898 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -89,7 +89,6 @@ packages/core/i18n/core-i18n-browser-mocks @elastic/kibana-core packages/core/i18n/core-i18n-server-mocks @elastic/kibana-core packages/core/injected-metadata/core-injected-metadata-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc index 4c23aead9d566..1d051d2541cc4 100644 --- a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc +++ b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc @@ -230,7 +230,7 @@ These are the contracts exposed by the core services for each lifecycle: |_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/browser/src/core_start.ts[CoreStart] |_stop_ | |=== diff --git a/package.json b/package.json index 578cd606c5ded..f557322e3f5cf 100644 --- a/package.json +++ b/package.json @@ -321,7 +321,7 @@ "@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:packages/core/lifecycle/core-lifecycle-browser", + "@kbn/core-lifecycle-browser": "link:src/core/packages/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", 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/packages/core/lifecycle/core-lifecycle-browser/jest.config.js b/src/core/packages/lifecycle/browser/jest.config.js similarity index 84% rename from packages/core/lifecycle/core-lifecycle-browser/jest.config.js rename to src/core/packages/lifecycle/browser/jest.config.js index e9c3cd75591a7..f402e6156b9ae 100644 --- a/packages/core/lifecycle/core-lifecycle-browser/jest.config.js +++ b/src/core/packages/lifecycle/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/lifecycle/core-lifecycle-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index d58ba7dde80dc..8c8c9211b44ca 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -440,8 +440,8 @@ "@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": ["src/core/packages/lifecycle/browser"], + "@kbn/core-lifecycle-browser/*": ["src/core/packages/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-mocks": ["packages/core/lifecycle/core-lifecycle-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 29203bd578405..63135ea197667 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4701,7 +4701,7 @@ 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 "" From 73de5d413aa13c150949d4c8517872d392984ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 02:58:34 +0100 Subject: [PATCH 078/183] Relocating module `@kbn/core-lifecycle-browser-internal` --- .github/CODEOWNERS | 2 +- .../architecture/kibana-platform-plugin-api.asciidoc | 2 +- package.json | 2 +- .../core/packages/lifecycle/browser-internal}/README.md | 0 .../core/packages/lifecycle/browser-internal}/index.ts | 0 .../core/packages/lifecycle/browser-internal}/jest.config.js | 4 ++-- .../core/packages/lifecycle/browser-internal}/kibana.jsonc | 0 .../core/packages/lifecycle/browser-internal}/package.json | 0 .../core/packages/lifecycle/browser-internal}/src/index.ts | 0 .../lifecycle/browser-internal}/src/internal_core_setup.ts | 0 .../lifecycle/browser-internal}/src/internal_core_start.ts | 0 .../core/packages/lifecycle/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 9 insertions(+), 9 deletions(-) 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/lifecycle/core-lifecycle-browser-internal => src/core/packages/lifecycle/browser-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e604756e2f898..0c4dd41701188 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -89,7 +89,6 @@ packages/core/i18n/core-i18n-browser-mocks @elastic/kibana-core packages/core/i18n/core-i18n-server-mocks @elastic/kibana-core packages/core/injected-metadata/core-injected-metadata-browser-mocks @elastic/kibana-core packages/core/integrations/core-integrations-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc index 1d051d2541cc4..b4f3e0cc82297 100644 --- a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc +++ b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc @@ -226,7 +226,7 @@ These are the contracts exposed by the core services for each lifecycle: |_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/browser-internal/src/internal_core_setup.ts[CoreSetup] |_start_ |{kib-repo}blob/{branch}/packages/core/lifecycle/core-lifecycle-server/src/core_start.ts[CoreStart] diff --git a/package.json b/package.json index f557322e3f5cf..e258c3974dc33 100644 --- a/package.json +++ b/package.json @@ -322,7 +322,7 @@ "@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:packages/core/lifecycle/core-lifecycle-browser-internal", + "@kbn/core-lifecycle-browser-internal": "link:src/core/packages/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", 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/lifecycle/core-lifecycle-browser-internal/jest.config.js b/src/core/packages/lifecycle/browser-internal/jest.config.js similarity index 82% rename from packages/core/lifecycle/core-lifecycle-browser-internal/jest.config.js rename to src/core/packages/lifecycle/browser-internal/jest.config.js index 08879ad555f4f..b30487db11950 100644 --- a/packages/core/lifecycle/core-lifecycle-browser-internal/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/lifecycle/core-lifecycle-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 8c8c9211b44ca..04cd7a510d08d 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -442,8 +442,8 @@ "@kbn/core-integrations-browser-mocks/*": ["packages/core/integrations/core-integrations-browser-mocks/*"], "@kbn/core-lifecycle-browser": ["src/core/packages/lifecycle/browser"], "@kbn/core-lifecycle-browser/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index 63135ea197667..021f1e598c6e1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4693,7 +4693,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 "" From 09605329d17aa3edbd95579c16e8e6ab07c6b9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:00:09 +0100 Subject: [PATCH 079/183] Relocating module `@kbn/core-lifecycle-server` --- .github/CODEOWNERS | 2 +- .../architecture/kibana-platform-plugin-api.asciidoc | 4 ++-- package.json | 2 +- .../core/packages/lifecycle/server}/README.md | 0 .../core/packages/lifecycle/server}/index.ts | 0 .../core/packages/lifecycle/server}/jest.config.js | 4 ++-- .../core/packages/lifecycle/server}/kibana.jsonc | 0 .../core/packages/lifecycle/server}/package.json | 0 .../core/packages/lifecycle/server}/src/core_preboot.ts | 0 .../core/packages/lifecycle/server}/src/core_setup.ts | 0 .../core/packages/lifecycle/server}/src/core_start.ts | 0 .../core/packages/lifecycle/server}/src/index.ts | 0 .../core/packages/lifecycle/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 10 insertions(+), 10 deletions(-) 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%) rename {packages/core/lifecycle/core-lifecycle-server => src/core/packages/lifecycle/server}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0c4dd41701188..1e3dcae97b36f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -90,7 +90,6 @@ packages/core/i18n/core-i18n-server-mocks @elastic/kibana-core packages/core/injected-metadata/core-injected-metadata-browser-mocks @elastic/kibana-core packages/core/integrations/core-integrations-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc index b4f3e0cc82297..05a7cf751b391 100644 --- a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc +++ b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc @@ -225,11 +225,11 @@ These are the contracts exposed by the core services for each lifecycle: |{kib-repo}blob/{branch}/packages/core/plugins/core-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}/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}/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_ | diff --git a/package.json b/package.json index e258c3974dc33..47291a5f76723 100644 --- a/package.json +++ b/package.json @@ -323,7 +323,7 @@ "@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:packages/core/lifecycle/core-lifecycle-server", + "@kbn/core-lifecycle-server": "link:src/core/packages/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", 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/packages/core/lifecycle/core-lifecycle-server/jest.config.js b/src/core/packages/lifecycle/server/jest.config.js similarity index 84% rename from packages/core/lifecycle/core-lifecycle-server/jest.config.js rename to src/core/packages/lifecycle/server/jest.config.js index c78af9f60faba..514246a8a9cff 100644 --- a/packages/core/lifecycle/core-lifecycle-server/jest.config.js +++ b/src/core/packages/lifecycle/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/lifecycle/core-lifecycle-server'], + 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/tsconfig.base.json b/tsconfig.base.json index 04cd7a510d08d..89e47c2ac71ef 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -446,8 +446,8 @@ "@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": ["src/core/packages/lifecycle/server"], + "@kbn/core-lifecycle-server/*": ["src/core/packages/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-mocks": ["packages/core/lifecycle/core-lifecycle-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 021f1e598c6e1..684070c71bf6d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4713,7 +4713,7 @@ 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 "" From 051e123c16e0c648e7707ed1675cd1fe371f14de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:01:32 +0100 Subject: [PATCH 080/183] Relocating module `@kbn/core-lifecycle-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/lifecycle/server-internal}/README.md | 0 .../core/packages/lifecycle/server-internal}/index.ts | 0 .../core/packages/lifecycle/server-internal}/jest.config.js | 4 ++-- .../core/packages/lifecycle/server-internal}/kibana.jsonc | 0 .../core/packages/lifecycle/server-internal}/package.json | 0 .../core/packages/lifecycle/server-internal}/src/index.ts | 0 .../lifecycle/server-internal}/src/internal_core_preboot.ts | 0 .../lifecycle/server-internal}/src/internal_core_setup.ts | 0 .../lifecycle/server-internal}/src/internal_core_start.ts | 0 .../core/packages/lifecycle/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/lifecycle/core-lifecycle-server-internal => src/core/packages/lifecycle/server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1e3dcae97b36f..22c69360ee5b1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -90,7 +90,6 @@ packages/core/i18n/core-i18n-server-mocks @elastic/kibana-core packages/core/injected-metadata/core-injected-metadata-browser-mocks @elastic/kibana-core packages/core/integrations/core-integrations-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 47291a5f76723..41fafb625c87f 100644 --- a/package.json +++ b/package.json @@ -324,7 +324,7 @@ "@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:packages/core/lifecycle/core-lifecycle-server-internal", + "@kbn/core-lifecycle-server-internal": "link:src/core/packages/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", 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/packages/core/lifecycle/core-lifecycle-server-internal/jest.config.js b/src/core/packages/lifecycle/server-internal/jest.config.js similarity index 83% rename from packages/core/lifecycle/core-lifecycle-server-internal/jest.config.js rename to src/core/packages/lifecycle/server-internal/jest.config.js index 590ce4aa7a579..672f626f012af 100644 --- a/packages/core/lifecycle/core-lifecycle-server-internal/jest.config.js +++ b/src/core/packages/lifecycle/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/lifecycle/core-lifecycle-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 89e47c2ac71ef..6c3ec61157a94 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -448,8 +448,8 @@ "@kbn/core-lifecycle-browser-mocks/*": ["packages/core/lifecycle/core-lifecycle-browser-mocks/*"], "@kbn/core-lifecycle-server": ["src/core/packages/lifecycle/server"], "@kbn/core-lifecycle-server/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index 684070c71bf6d..d698d9f5f1181 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4705,7 +4705,7 @@ 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 "" From 7fab450d8ce90cc1a23ad2207df83c2db62a3668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:02:53 +0100 Subject: [PATCH 081/183] Relocating module `@kbn/core-logging-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/logging/browser-internal}/README.md | 0 .../core/packages/logging/browser-internal}/index.ts | 0 .../core/packages/logging/browser-internal}/jest.config.js | 4 ++-- .../core/packages/logging/browser-internal}/kibana.jsonc | 0 .../core/packages/logging/browser-internal}/package.json | 0 .../browser-internal}/src/appenders/console_appender.test.ts | 0 .../browser-internal}/src/appenders/console_appender.ts | 0 .../packages/logging/browser-internal}/src/appenders/index.ts | 0 .../core/packages/logging/browser-internal}/src/index.ts | 0 .../src/layouts/__snapshots__/pattern_layout.test.ts.snap | 0 .../packages/logging/browser-internal}/src/layouts/index.ts | 0 .../browser-internal}/src/layouts/pattern_layout.test.ts | 0 .../logging/browser-internal}/src/layouts/pattern_layout.ts | 0 .../packages/logging/browser-internal}/src/logger.test.ts | 0 .../core/packages/logging/browser-internal}/src/logger.ts | 0 .../logging/browser-internal}/src/logging_system.test.ts | 0 .../packages/logging/browser-internal}/src/logging_system.ts | 0 .../core/packages/logging/browser-internal}/src/types.ts | 0 .../core/packages/logging/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 23 files changed, 8 insertions(+), 8 deletions(-) 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/logging/core-logging-browser-internal => src/core/packages/logging/browser-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 22c69360ee5b1..cf1b06366a812 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -91,7 +91,6 @@ packages/core/injected-metadata/core-injected-metadata-browser-mocks @elastic/ki packages/core/integrations/core-integrations-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 41fafb625c87f..e088987342206 100644 --- a/package.json +++ b/package.json @@ -325,7 +325,7 @@ "@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:packages/core/logging/core-logging-browser-internal", + "@kbn/core-logging-browser-internal": "link:src/core/packages/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", 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/logging/core-logging-browser-internal/jest.config.js b/src/core/packages/logging/browser-internal/jest.config.js similarity index 83% rename from packages/core/logging/core-logging-browser-internal/jest.config.js rename to src/core/packages/logging/browser-internal/jest.config.js index e5368b214af83..5aa1dc9e83126 100644 --- a/packages/core/logging/core-logging-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/logging/core-logging-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/tsconfig.base.json b/tsconfig.base.json index 6c3ec61157a94..2740d258a0393 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -452,8 +452,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index d698d9f5f1181..fe89110725a54 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4717,7 +4717,7 @@ 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 "" From fd46ee5e613d22202f6af90dc808681a99dc7eb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:04:10 +0100 Subject: [PATCH 082/183] Relocating module `@kbn/core-logging-common-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/logging/common-internal}/README.md | 0 .../core/packages/logging/common-internal}/index.ts | 0 .../core/packages/logging/common-internal}/jest.config.js | 4 ++-- .../core/packages/logging/common-internal}/kibana.jsonc | 0 .../core/packages/logging/common-internal}/package.json | 0 .../packages/logging/common-internal}/src/browser_config.ts | 0 .../core/packages/logging/common-internal}/src/index.ts | 0 .../src/layouts/__snapshots__/pattern_layout.test.ts.snap | 0 .../logging/common-internal}/src/layouts/conversions/date.ts | 0 .../logging/common-internal}/src/layouts/conversions/index.ts | 0 .../logging/common-internal}/src/layouts/conversions/level.ts | 0 .../common-internal}/src/layouts/conversions/logger.ts | 0 .../common-internal}/src/layouts/conversions/message.test.ts | 0 .../common-internal}/src/layouts/conversions/message.ts | 0 .../logging/common-internal}/src/layouts/conversions/meta.ts | 0 .../logging/common-internal}/src/layouts/conversions/types.ts | 0 .../packages/logging/common-internal}/src/layouts/index.ts | 0 .../common-internal}/src/layouts/pattern_layout.test.ts | 0 .../logging/common-internal}/src/layouts/pattern_layout.ts | 0 .../core/packages/logging/common-internal}/src/logger.test.ts | 0 .../core/packages/logging/common-internal}/src/logger.ts | 0 .../logging/common-internal}/src/logger_context.test.ts | 0 .../packages/logging/common-internal}/src/logger_context.ts | 0 .../core/packages/logging/common-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 28 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/logging/core-logging-common-internal => src/core/packages/logging/common-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index cf1b06366a812..207c149c6a654 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -92,7 +92,6 @@ packages/core/integrations/core-integrations-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index e088987342206..101e047776d63 100644 --- a/package.json +++ b/package.json @@ -326,7 +326,7 @@ "@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:packages/core/logging/core-logging-common-internal", + "@kbn/core-logging-common-internal": "link:src/core/packages/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", 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/packages/core/logging/core-logging-common-internal/jest.config.js b/src/core/packages/logging/common-internal/jest.config.js similarity index 83% rename from packages/core/logging/core-logging-common-internal/jest.config.js rename to src/core/packages/logging/common-internal/jest.config.js index 178b1c8580aeb..05e852c3691a4 100644 --- a/packages/core/logging/core-logging-common-internal/jest.config.js +++ b/src/core/packages/logging/common-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/logging/core-logging-common-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 2740d258a0393..091a97927fedb 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -456,8 +456,8 @@ "@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-common-internal": ["src/core/packages/logging/common-internal"], + "@kbn/core-logging-common-internal/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index fe89110725a54..6c31c330d7a82 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4725,7 +4725,7 @@ 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 "" From 446fc02b03467f7e46aa8c1b2ecc6090c324817b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:05:29 +0100 Subject: [PATCH 083/183] Relocating module `@kbn/core-logging-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/logging/server}/README.md | 0 .../core/packages/logging/server}/index.ts | 0 .../core/packages/logging/server}/jest.config.js | 4 ++-- .../core/packages/logging/server}/kibana.jsonc | 0 .../core/packages/logging/server}/package.json | 0 .../core/packages/logging/server}/src/appenders/console.ts | 0 .../core/packages/logging/server}/src/appenders/file.ts | 0 .../core/packages/logging/server}/src/appenders/index.ts | 0 .../core/packages/logging/server}/src/appenders/rewrite.ts | 0 .../packages/logging/server}/src/appenders/rolling_file.ts | 0 .../core/packages/logging/server}/src/contracts.ts | 0 .../core/packages/logging/server}/src/layout.ts | 0 .../core/packages/logging/server}/src/logger.ts | 0 .../core/packages/logging/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 18 files changed, 8 insertions(+), 8 deletions(-) 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/logging/core-logging-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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 207c149c6a654..224c028349ce5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -92,7 +92,6 @@ packages/core/integrations/core-integrations-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-server-mocks @elastic/kibana-core packages/core/logging/core-logging-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 101e047776d63..7f25834ae5446 100644 --- a/package.json +++ b/package.json @@ -327,7 +327,7 @@ "@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:packages/core/logging/core-logging-server", + "@kbn/core-logging-server": "link:src/core/packages/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", 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/logging/core-logging-server/jest.config.js b/src/core/packages/logging/server/jest.config.js similarity index 85% rename from packages/core/logging/core-logging-server/jest.config.js rename to src/core/packages/logging/server/jest.config.js index b9bb942a43d75..8085d628b6202 100644 --- a/packages/core/logging/core-logging-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/logging/core-logging-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/tsconfig.base.json b/tsconfig.base.json index 091a97927fedb..e92f28b1409a6 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -458,8 +458,8 @@ "@kbn/core-logging-browser-mocks/*": ["packages/core/logging/core-logging-browser-mocks/*"], "@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": ["packages/core/logging/core-logging-server"], - "@kbn/core-logging-server/*": ["packages/core/logging/core-logging-server/*"], + "@kbn/core-logging-server": ["src/core/packages/logging/server"], + "@kbn/core-logging-server/*": ["src/core/packages/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-server-mocks": ["packages/core/logging/core-logging-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 6c31c330d7a82..4eeb19cf861de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4737,7 +4737,7 @@ 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 "" From 908e0e0e980c0ddcdd27d6e339b03f36af77ec99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:06:49 +0100 Subject: [PATCH 084/183] Relocating module `@kbn/core-logging-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/logging/server-internal}/README.md | 0 .../core/packages/logging/server-internal}/index.ts | 0 .../core/packages/logging/server-internal}/jest.config.js | 4 ++-- .../core/packages/logging/server-internal}/kibana.jsonc | 0 .../core/packages/logging/server-internal}/package.json | 0 .../src/__snapshots__/logging_system.test.ts.snap | 0 .../server-internal}/src/appenders/appenders.test.mocks.ts | 0 .../logging/server-internal}/src/appenders/appenders.test.ts | 0 .../logging/server-internal}/src/appenders/appenders.ts | 0 .../src/appenders/buffer/buffer_appender.test.ts | 0 .../server-internal}/src/appenders/buffer/buffer_appender.ts | 0 .../src/appenders/console/console_appender.test.ts | 0 .../src/appenders/console/console_appender.ts | 0 .../src/appenders/file/file_appender.test.mocks.ts | 0 .../server-internal}/src/appenders/file/file_appender.test.ts | 0 .../server-internal}/src/appenders/file/file_appender.ts | 0 .../logging/server-internal}/src/appenders/rewrite/mocks.ts | 0 .../server-internal}/src/appenders/rewrite/policies/index.ts | 0 .../src/appenders/rewrite/policies/meta/index.ts | 0 .../src/appenders/rewrite/policies/meta/meta_policy.test.ts | 0 .../src/appenders/rewrite/policies/meta/meta_policy.ts | 0 .../server-internal}/src/appenders/rewrite/policies/policy.ts | 0 .../src/appenders/rewrite/rewrite_appender.test.mocks.ts | 0 .../src/appenders/rewrite/rewrite_appender.test.ts | 0 .../src/appenders/rewrite/rewrite_appender.ts | 0 .../server-internal}/src/appenders/rolling_file/mocks.ts | 0 .../src/appenders/rolling_file/policies/index.ts | 0 .../src/appenders/rolling_file/policies/policy.ts | 0 .../src/appenders/rolling_file/policies/size_limit/index.ts | 0 .../policies/size_limit/size_limit_policy.test.ts | 0 .../rolling_file/policies/size_limit/size_limit_policy.ts | 0 .../policies/time_interval/get_next_rolling_time.test.ts | 0 .../policies/time_interval/get_next_rolling_time.ts | 0 .../appenders/rolling_file/policies/time_interval/index.ts | 0 .../policies/time_interval/time_interval_policy.test.mocks.ts | 0 .../policies/time_interval/time_interval_policy.test.ts | 0 .../policies/time_interval/time_interval_policy.ts | 0 .../rolling_file/policies/time_interval/utils.test.ts | 0 .../appenders/rolling_file/policies/time_interval/utils.ts | 0 .../rolling_file/retention/create_retention_policy.test.ts | 0 .../rolling_file/retention/create_retention_policy.ts | 0 .../src/appenders/rolling_file/retention/fs.ts | 0 .../src/appenders/rolling_file/retention/index.ts | 0 .../rolling_file/retention/retention_policy.test.mocks.ts | 0 .../appenders/rolling_file/retention/retention_policy.test.ts | 0 .../src/appenders/rolling_file/retention/retention_policy.ts | 0 .../src/appenders/rolling_file/retention/utils.test.mocks.ts | 0 .../src/appenders/rolling_file/retention/utils.test.ts | 0 .../src/appenders/rolling_file/retention/utils.ts | 0 .../rolling_file/rolling_file_appender.test.mocks.ts | 0 .../src/appenders/rolling_file/rolling_file_appender.test.ts | 0 .../src/appenders/rolling_file/rolling_file_appender.ts | 0 .../src/appenders/rolling_file/rolling_file_context.ts | 0 .../src/appenders/rolling_file/rolling_file_manager.ts | 0 .../src/appenders/rolling_file/strategies/index.ts | 0 .../src/appenders/rolling_file/strategies/numeric/index.ts | 0 .../strategies/numeric/numeric_strategy.test.mocks.ts | 0 .../rolling_file/strategies/numeric/numeric_strategy.test.ts | 0 .../rolling_file/strategies/numeric/numeric_strategy.ts | 0 .../rolling_file/strategies/numeric/pattern_matcher.test.ts | 0 .../rolling_file/strategies/numeric/pattern_matcher.ts | 0 .../strategies/numeric/rolling_tasks.test.mocks.ts | 0 .../rolling_file/strategies/numeric/rolling_tasks.test.ts | 0 .../rolling_file/strategies/numeric/rolling_tasks.ts | 0 .../rolling_file/strategies/numeric/utils.test.mocks.ts | 0 .../appenders/rolling_file/strategies/numeric/utils.test.ts | 0 .../src/appenders/rolling_file/strategies/numeric/utils.ts | 0 .../src/appenders/rolling_file/strategies/strategy.ts | 0 .../logging/server-internal}/src/global_context/index.ts | 0 .../src/global_context/merge_global_context.test.ts | 0 .../src/global_context/merge_global_context.ts | 0 .../logging/server-internal}/src/global_context/types.ts | 0 .../src/layouts/__snapshots__/json_layout.test.ts.snap | 0 .../src/layouts/__snapshots__/pattern_layout.test.ts.snap | 0 .../logging/server-internal}/src/layouts/conversions/index.ts | 0 .../logging/server-internal}/src/layouts/conversions/level.ts | 0 .../server-internal}/src/layouts/conversions/logger.ts | 0 .../logging/server-internal}/src/layouts/conversions/pid.ts | 0 .../logging/server-internal}/src/layouts/json_layout.test.ts | 0 .../logging/server-internal}/src/layouts/json_layout.ts | 0 .../logging/server-internal}/src/layouts/layouts.test.ts | 0 .../packages/logging/server-internal}/src/layouts/layouts.ts | 0 .../server-internal}/src/layouts/pattern_layout.test.ts | 0 .../logging/server-internal}/src/layouts/pattern_layout.ts | 0 .../core/packages/logging/server-internal}/src/logger.test.ts | 0 .../core/packages/logging/server-internal}/src/logger.ts | 0 .../logging/server-internal}/src/logger_adapter.test.ts | 0 .../packages/logging/server-internal}/src/logger_adapter.ts | 0 .../logging/server-internal}/src/logging_config.test.ts | 0 .../packages/logging/server-internal}/src/logging_config.ts | 0 .../logging/server-internal}/src/logging_service.test.ts | 0 .../packages/logging/server-internal}/src/logging_service.ts | 0 .../logging/server-internal}/src/logging_system.test.mocks.ts | 0 .../logging/server-internal}/src/logging_system.test.ts | 0 .../packages/logging/server-internal}/src/logging_system.ts | 0 .../core/packages/logging/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 100 files changed, 8 insertions(+), 8 deletions(-) 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/logging/core-logging-server-internal => src/core/packages/logging/server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 224c028349ce5..a16b06bff6bc0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -92,7 +92,6 @@ packages/core/integrations/core-integrations-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-server-mocks @elastic/kibana-core packages/core/logging/core-logging-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 7f25834ae5446..49599c2bd7134 100644 --- a/package.json +++ b/package.json @@ -328,7 +328,7 @@ "@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:packages/core/logging/core-logging-server-internal", + "@kbn/core-logging-server-internal": "link:src/core/packages/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", 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/logging/core-logging-server-internal/jest.config.js b/src/core/packages/logging/server-internal/jest.config.js similarity index 83% rename from packages/core/logging/core-logging-server-internal/jest.config.js rename to src/core/packages/logging/server-internal/jest.config.js index 69794c68e4e3f..e84e50c013952 100644 --- a/packages/core/logging/core-logging-server-internal/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/logging/core-logging-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index e92f28b1409a6..ef52f7340a225 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -460,8 +460,8 @@ "@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": ["packages/core/logging/core-logging-server-internal"], - "@kbn/core-logging-server-internal/*": ["packages/core/logging/core-logging-server-internal/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index 4eeb19cf861de..c5bdb2be28248 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4729,7 +4729,7 @@ 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 "" From 0d6532c5195aea95a7f096660b3f66f5ab5de685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:08:13 +0100 Subject: [PATCH 085/183] Relocating module `@kbn/core-metrics-collectors-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/metrics/collectors-server-internal}/README.md | 0 .../packages/metrics/collectors-server-internal}/index.ts | 0 .../metrics/collectors-server-internal}/jest.config.js | 4 ++-- .../packages/metrics/collectors-server-internal}/kibana.jsonc | 0 .../packages/metrics/collectors-server-internal}/package.json | 0 .../collectors-server-internal}/src/__mocks__/perf_hooks.ts | 0 .../collectors-server-internal}/src/cgroup/cgroup.test.ts | 0 .../metrics/collectors-server-internal}/src/cgroup/cgroup.ts | 0 .../collectors-server-internal}/src/cgroup/constants.ts | 0 .../src/cgroup/gather_info.test.ts | 0 .../collectors-server-internal}/src/cgroup/gather_info.ts | 0 .../metrics/collectors-server-internal}/src/cgroup/index.ts | 0 .../metrics/collectors-server-internal}/src/cgroup/types.ts | 0 .../metrics/collectors-server-internal}/src/cgroup/v1.test.ts | 0 .../metrics/collectors-server-internal}/src/cgroup/v1.ts | 0 .../metrics/collectors-server-internal}/src/cgroup/v2.test.ts | 0 .../metrics/collectors-server-internal}/src/cgroup/v2.ts | 0 .../src/elasticsearch_client.test.ts | 0 .../collectors-server-internal}/src/elasticsearch_client.ts | 0 .../src/event_loop_delays_monitor.test.ts | 0 .../src/event_loop_delays_monitor.ts | 0 .../src/event_loop_utilization_monitor.test.mocks.ts | 0 .../src/event_loop_utilization_monitor.test.ts | 0 .../src/event_loop_utilization_monitor.ts | 0 .../metrics/collectors-server-internal}/src/mocks_internal.ts | 0 .../metrics/collectors-server-internal}/src/os.test.mocks.ts | 0 .../metrics/collectors-server-internal}/src/os.test.ts | 0 .../packages/metrics/collectors-server-internal}/src/os.ts | 0 .../collectors-server-internal}/src/process.test.mocks.ts | 0 .../metrics/collectors-server-internal}/src/process.test.ts | 0 .../metrics/collectors-server-internal}/src/process.ts | 0 .../metrics/collectors-server-internal}/src/server.ts | 0 .../metrics/collectors-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 37 files changed, 8 insertions(+), 8 deletions(-) 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/metrics/core-metrics-collectors-server-internal => src/core/packages/metrics/collectors-server-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a16b06bff6bc0..9a678e56e40bc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -93,7 +93,6 @@ packages/core/lifecycle/core-lifecycle-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-server-mocks @elastic/kibana-core packages/core/logging/core-logging-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 49599c2bd7134..70cd543d78b9b 100644 --- a/package.json +++ b/package.json @@ -329,7 +329,7 @@ "@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:packages/core/metrics/core-metrics-collectors-server-internal", + "@kbn/core-metrics-collectors-server-internal": "link:src/core/packages/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", 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/metrics/core-metrics-collectors-server-internal/jest.config.js b/src/core/packages/metrics/collectors-server-internal/jest.config.js similarity index 82% rename from packages/core/metrics/core-metrics-collectors-server-internal/jest.config.js rename to src/core/packages/metrics/collectors-server-internal/jest.config.js index 8a792577d5973..e67ec2b87b798 100644 --- a/packages/core/metrics/core-metrics-collectors-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/metrics/core-metrics-collectors-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/tsconfig.base.json b/tsconfig.base.json index ef52f7340a225..5a5b9ae0a7fc8 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -464,8 +464,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index c5bdb2be28248..3fd84f4d97402 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4741,7 +4741,7 @@ 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 "" From fa8dca33713cf2125e63d05257e26e82a47781fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:09:33 +0100 Subject: [PATCH 086/183] Relocating module `@kbn/core-metrics-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/metrics/server}/README.md | 0 .../core/packages/metrics/server}/index.ts | 0 .../core/packages/metrics/server}/jest.config.js | 4 ++-- .../core/packages/metrics/server}/kibana.jsonc | 0 .../core/packages/metrics/server}/package.json | 0 .../core/packages/metrics/server}/src/collectors.ts | 0 .../core/packages/metrics/server}/src/contracts.ts | 0 .../core/packages/metrics/server}/src/metrics.ts | 0 .../core/packages/metrics/server}/tsconfig.json | 2 +- .../usage_collection/common/types/stats/core_metrics.ts | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 9 insertions(+), 9 deletions(-) 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/metrics/core-metrics-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/core/metrics/core-metrics-server => src/core/packages/metrics/server}/tsconfig.json (82%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9a678e56e40bc..d8b5194860d36 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -94,7 +94,6 @@ packages/core/lifecycle/core-lifecycle-server-mocks @elastic/kibana-core packages/core/logging/core-logging-browser-mocks @elastic/kibana-core packages/core/logging/core-logging-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 70cd543d78b9b..1caaf9b3085d4 100644 --- a/package.json +++ b/package.json @@ -330,7 +330,7 @@ "@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:packages/core/metrics/core-metrics-server", + "@kbn/core-metrics-server": "link:src/core/packages/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", 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/metrics/core-metrics-server/jest.config.js b/src/core/packages/metrics/server/jest.config.js similarity index 85% rename from packages/core/metrics/core-metrics-server/jest.config.js rename to src/core/packages/metrics/server/jest.config.js index ed815652a90c0..f7e5fb7a706ef 100644 --- a/packages/core/metrics/core-metrics-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/metrics/core-metrics-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/core/metrics/core-metrics-server/tsconfig.json b/src/core/packages/metrics/server/tsconfig.json similarity index 82% rename from packages/core/metrics/core-metrics-server/tsconfig.json rename to src/core/packages/metrics/server/tsconfig.json index 5dccac215ffaf..59554de320901 100644 --- a/packages/core/metrics/core-metrics-server/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/src/plugins/usage_collection/common/types/stats/core_metrics.ts b/src/plugins/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/plugins/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/tsconfig.base.json b/tsconfig.base.json index 5a5b9ae0a7fc8..655104213cc1a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -468,8 +468,8 @@ "@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": ["src/core/packages/metrics/server"], + "@kbn/core-metrics-server/*": ["src/core/packages/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-mocks": ["packages/core/metrics/core-metrics-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 3fd84f4d97402..273c459a44498 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4757,7 +4757,7 @@ 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 "" From 482a6e92c7f6248e7d50268d43dcb030dd078f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:10:51 +0100 Subject: [PATCH 087/183] Relocating module `@kbn/core-metrics-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/metrics/server-internal}/README.md | 0 .../core/packages/metrics/server-internal}/index.ts | 0 .../core/packages/metrics/server-internal}/jest.config.js | 4 ++-- .../core/packages/metrics/server-internal}/kibana.jsonc | 0 .../core/packages/metrics/server-internal}/package.json | 0 .../server-internal}/src/logging/get_ops_metrics_log.test.ts | 0 .../server-internal}/src/logging/get_ops_metrics_log.ts | 0 .../packages/metrics/server-internal}/src/logging/index.ts | 0 .../server-internal}/src/metrics_service.test.mocks.ts | 0 .../metrics/server-internal}/src/metrics_service.test.ts | 0 .../packages/metrics/server-internal}/src/metrics_service.ts | 0 .../core/packages/metrics/server-internal}/src/ops_config.ts | 0 .../server-internal}/src/ops_metrics_collector.test.mocks.ts | 0 .../server-internal}/src/ops_metrics_collector.test.ts | 0 .../metrics/server-internal}/src/ops_metrics_collector.ts | 0 .../metrics/server-internal}/src/routes/elu_history.ts | 0 .../server-internal}/src/routes/history_window.test.ts | 0 .../metrics/server-internal}/src/routes/history_window.ts | 0 .../core/packages/metrics/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 23 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/metrics/core-metrics-server-internal => src/core/packages/metrics/server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d8b5194860d36..a0e8e7ef279a1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -94,7 +94,6 @@ packages/core/lifecycle/core-lifecycle-server-mocks @elastic/kibana-core packages/core/logging/core-logging-browser-mocks @elastic/kibana-core packages/core/logging/core-logging-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-collectors-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 1caaf9b3085d4..4778f35fcff13 100644 --- a/package.json +++ b/package.json @@ -331,7 +331,7 @@ "@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:packages/core/metrics/core-metrics-server-internal", + "@kbn/core-metrics-server-internal": "link:src/core/packages/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", 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/packages/core/metrics/core-metrics-server-internal/jest.config.js b/src/core/packages/metrics/server-internal/jest.config.js similarity index 83% rename from packages/core/metrics/core-metrics-server-internal/jest.config.js rename to src/core/packages/metrics/server-internal/jest.config.js index 3d22a4031f40f..1e8808523903d 100644 --- a/packages/core/metrics/core-metrics-server-internal/jest.config.js +++ b/src/core/packages/metrics/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/metrics/core-metrics-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 655104213cc1a..5a87b5639e252 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -470,8 +470,8 @@ "@kbn/core-metrics-collectors-server-mocks/*": ["packages/core/metrics/core-metrics-collectors-server-mocks/*"], "@kbn/core-metrics-server": ["src/core/packages/metrics/server"], "@kbn/core-metrics-server/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index 273c459a44498..6b07dc664ffeb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4749,7 +4749,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 "" From a11680f4cce09253389ae2038e429095e99426ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:12:15 +0100 Subject: [PATCH 088/183] Relocating module `@kbn/core-mount-utils-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/mount-utils/browser}/README.md | 0 .../core/packages/mount-utils/browser}/index.ts | 0 .../core/packages/mount-utils/browser}/jest.config.js | 4 ++-- .../core/packages/mount-utils/browser}/kibana.jsonc | 0 .../core/packages/mount-utils/browser}/package.json | 0 .../core/packages/mount-utils/browser}/src/mount_point.ts | 0 .../core/packages/mount-utils/browser}/src/overlay_ref.ts | 0 .../core/packages/mount-utils/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/mount-utils/core-mount-utils-browser => src/core/packages/mount-utils/browser}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a0e8e7ef279a1..68211862d21d6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -95,7 +95,6 @@ packages/core/logging/core-logging-browser-mocks @elastic/kibana-core packages/core/logging/core-logging-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-collectors-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 4778f35fcff13..7bda8ed6ea498 100644 --- a/package.json +++ b/package.json @@ -332,7 +332,7 @@ "@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:packages/core/mount-utils/core-mount-utils-browser", + "@kbn/core-mount-utils-browser": "link:src/core/packages/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", 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/packages/core/mount-utils/core-mount-utils-browser/jest.config.js b/src/core/packages/mount-utils/browser/jest.config.js similarity index 83% rename from packages/core/mount-utils/core-mount-utils-browser/jest.config.js rename to src/core/packages/mount-utils/browser/jest.config.js index 155ca552f97f8..acb0a708847ae 100644 --- a/packages/core/mount-utils/core-mount-utils-browser/jest.config.js +++ b/src/core/packages/mount-utils/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/mount-utils/core-mount-utils-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index 5a87b5639e252..089f700a85a67 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -474,8 +474,8 @@ "@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": ["src/core/packages/mount-utils/browser"], + "@kbn/core-mount-utils-browser/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 6b07dc664ffeb..aec53d2d1af30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4765,7 +4765,7 @@ 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 "" From ee93df42f59d5fd9f31806c7d1d291efed835a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:13:40 +0100 Subject: [PATCH 089/183] Relocating module `@kbn/core-mount-utils-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/mount-utils/browser-internal}/README.md | 0 .../core/packages/mount-utils/browser-internal}/index.ts | 0 .../packages/mount-utils/browser-internal}/jest.config.js | 4 ++-- .../core/packages/mount-utils/browser-internal}/kibana.jsonc | 0 .../core/packages/mount-utils/browser-internal}/package.json | 0 .../packages/mount-utils/browser-internal}/src/mount.test.tsx | 0 .../core/packages/mount-utils/browser-internal}/src/mount.tsx | 0 .../mount-utils/browser-internal}/src/mount_wrapper.scss | 0 .../core/packages/mount-utils/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/mount-utils/core-mount-utils-browser-internal => src/core/packages/mount-utils/browser-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 68211862d21d6..cdc722ce32d9d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -95,7 +95,6 @@ packages/core/logging/core-logging-browser-mocks @elastic/kibana-core packages/core/logging/core-logging-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-collectors-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 7bda8ed6ea498..35766f98dbabc 100644 --- a/package.json +++ b/package.json @@ -333,7 +333,7 @@ "@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:packages/core/mount-utils/core-mount-utils-browser-internal", + "@kbn/core-mount-utils-browser-internal": "link:src/core/packages/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", 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/packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js b/src/core/packages/mount-utils/browser-internal/jest.config.js similarity index 82% rename from packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js rename to src/core/packages/mount-utils/browser-internal/jest.config.js index c8177c0890c00..187114de74be5 100644 --- a/packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js +++ b/src/core/packages/mount-utils/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/mount-utils/core-mount-utils-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 089f700a85a67..2f4c04adce222 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -476,8 +476,8 @@ "@kbn/core-metrics-server-mocks/*": ["packages/core/metrics/core-metrics-server-mocks/*"], "@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": ["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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index aec53d2d1af30..7f12c3851cda7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4761,7 +4761,7 @@ 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 "" From b5e385b1ea3edd76d447fc2181f49608fff2a242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:15:04 +0100 Subject: [PATCH 090/183] Relocating module `@kbn/core-node-server` --- .github/CODEOWNERS | 2 +- package.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 .../core/packages/node/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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/core/node/core-node-server => src/core/packages/node/server}/jest.config.js (85%) 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%) rename {packages/core/node/core-node-server => src/core/packages/node/server}/tsconfig.json (78%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index cdc722ce32d9d..daeb9c42c9598 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -95,7 +95,6 @@ packages/core/logging/core-logging-browser-mocks @elastic/kibana-core packages/core/logging/core-logging-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-collectors-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 35766f98dbabc..2902825aadce7 100644 --- a/package.json +++ b/package.json @@ -334,7 +334,7 @@ "@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:packages/core/node/core-node-server", + "@kbn/core-node-server": "link:src/core/packages/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", 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/core/node/core-node-server/jest.config.js b/src/core/packages/node/server/jest.config.js similarity index 85% rename from packages/core/node/core-node-server/jest.config.js rename to src/core/packages/node/server/jest.config.js index bf1865bd1bab0..b2dea786e3899 100644 --- a/packages/core/node/core-node-server/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/core/node/core-node-server'], + 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/packages/core/node/core-node-server/tsconfig.json b/src/core/packages/node/server/tsconfig.json similarity index 78% rename from packages/core/node/core-node-server/tsconfig.json rename to src/core/packages/node/server/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/node/core-node-server/tsconfig.json +++ b/src/core/packages/node/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 2f4c04adce222..22c690c1d953c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -478,8 +478,8 @@ "@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": ["packages/core/node/core-node-server"], - "@kbn/core-node-server/*": ["packages/core/node/core-node-server/*"], + "@kbn/core-node-server": ["src/core/packages/node/server"], + "@kbn/core-node-server/*": ["src/core/packages/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-node-server-mocks": ["packages/core/node/core-node-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 7f12c3851cda7..ddfa4d6692ee0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4777,7 +4777,7 @@ 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 "" From 5d732e3bd63a520cafe7500579cb59197a257cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:16:24 +0100 Subject: [PATCH 091/183] Relocating module `@kbn/core-node-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/node/server-internal}/README.md | 0 .../core/packages/node/server-internal}/index.ts | 0 .../core/packages/node/server-internal}/jest.config.js | 4 ++-- .../core/packages/node/server-internal}/kibana.jsonc | 0 .../core/packages/node/server-internal}/package.json | 0 .../packages/node/server-internal}/src/node_config.test.ts | 0 .../core/packages/node/server-internal}/src/node_config.ts | 0 .../packages/node/server-internal}/src/node_service.test.ts | 0 .../core/packages/node/server-internal}/src/node_service.ts | 0 .../core/packages/node/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/node/core-node-server-internal => src/core/packages/node/server-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index daeb9c42c9598..7534cfce28ad2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -95,7 +95,6 @@ packages/core/logging/core-logging-browser-mocks @elastic/kibana-core packages/core/logging/core-logging-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-collectors-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 2902825aadce7..4aea23e7ab451 100644 --- a/package.json +++ b/package.json @@ -335,7 +335,7 @@ "@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:packages/core/node/core-node-server-internal", + "@kbn/core-node-server-internal": "link:src/core/packages/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", 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/packages/core/node/core-node-server-internal/jest.config.js b/src/core/packages/node/server-internal/jest.config.js similarity index 84% rename from packages/core/node/core-node-server-internal/jest.config.js rename to src/core/packages/node/server-internal/jest.config.js index 5c5ebb4acc407..757a709247a6a 100644 --- a/packages/core/node/core-node-server-internal/jest.config.js +++ b/src/core/packages/node/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/node/core-node-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 22c690c1d953c..7f6d338cec2f1 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -480,8 +480,8 @@ "@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": ["packages/core/node/core-node-server-internal"], - "@kbn/core-node-server-internal/*": ["packages/core/node/core-node-server-internal/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index ddfa4d6692ee0..7a35817cb3b3c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4769,7 +4769,7 @@ 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 "" From 9344452edac681858e5ac8d565d2f86022836325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:17:44 +0100 Subject: [PATCH 092/183] Relocating module `@kbn/core-notifications-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/notifications/browser}/README.md | 0 .../core/packages/notifications/browser}/index.ts | 0 .../core/packages/notifications/browser}/jest.config.js | 4 ++-- .../core/packages/notifications/browser}/kibana.jsonc | 0 .../core/packages/notifications/browser}/package.json | 0 .../core/packages/notifications/browser}/src/contracts.ts | 0 .../core/packages/notifications/browser}/src/types.ts | 0 .../core/packages/notifications/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/notifications/core-notifications-browser => src/core/packages/notifications/browser}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7534cfce28ad2..48c23a8879795 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -96,7 +96,6 @@ packages/core/logging/core-logging-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-collectors-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 4aea23e7ab451..3ded789c1a8b5 100644 --- a/package.json +++ b/package.json @@ -336,7 +336,7 @@ "@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:packages/core/notifications/core-notifications-browser", + "@kbn/core-notifications-browser": "link:src/core/packages/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", 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/packages/core/notifications/core-notifications-browser/jest.config.js b/src/core/packages/notifications/browser/jest.config.js similarity index 83% rename from packages/core/notifications/core-notifications-browser/jest.config.js rename to src/core/packages/notifications/browser/jest.config.js index 12636f77856c5..1b1968033daf1 100644 --- a/packages/core/notifications/core-notifications-browser/jest.config.js +++ b/src/core/packages/notifications/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/notifications/core-notifications-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index 7f6d338cec2f1..483b44b91b018 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -484,8 +484,8 @@ "@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": ["src/core/packages/notifications/browser"], + "@kbn/core-notifications-browser/*": ["src/core/packages/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-mocks": ["packages/core/notifications/core-notifications-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 7a35817cb3b3c..15b2fe380a7f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4789,7 +4789,7 @@ 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 "" From c656817088505ce0cdef03af2eb6c7c677c24b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:19:14 +0100 Subject: [PATCH 093/183] Relocating module `@kbn/core-notifications-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/notifications/browser-internal}/README.md | 0 .../core/packages/notifications/browser-internal}/index.ts | 0 .../packages/notifications/browser-internal}/jest.config.js | 4 ++-- .../packages/notifications/browser-internal}/kibana.jsonc | 0 .../packages/notifications/browser-internal}/package.json | 0 .../browser-internal}/src/notifications_service.ts | 0 .../src/toasts/__snapshots__/deduplicate_toasts.test.tsx.snap | 0 .../src/toasts/__snapshots__/error_toast.test.tsx.snap | 0 .../src/toasts/__snapshots__/toasts_service.test.tsx.snap | 0 .../browser-internal}/src/toasts/deduplicate_toasts.test.tsx | 0 .../browser-internal}/src/toasts/deduplicate_toasts.tsx | 0 .../browser-internal}/src/toasts/error_toast.test.tsx | 0 .../browser-internal}/src/toasts/error_toast.tsx | 0 .../browser-internal}/src/toasts/global_toast_list.test.tsx | 0 .../browser-internal}/src/toasts/global_toast_list.tsx | 0 .../notifications/browser-internal}/src/toasts/index.ts | 0 .../browser-internal}/src/toasts/telemetry/event_reporter.ts | 0 .../browser-internal}/src/toasts/telemetry/event_types.ts | 0 .../browser-internal}/src/toasts/telemetry/index.ts | 0 .../browser-internal}/src/toasts/toasts_api.test.ts | 0 .../notifications/browser-internal}/src/toasts/toasts_api.tsx | 0 .../browser-internal}/src/toasts/toasts_service.test.mocks.ts | 0 .../browser-internal}/src/toasts/toasts_service.test.tsx | 0 .../browser-internal}/src/toasts/toasts_service.tsx | 0 .../packages/notifications/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 29 files changed, 8 insertions(+), 8 deletions(-) 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/notifications/core-notifications-browser-internal => src/core/packages/notifications/browser-internal}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 48c23a8879795..d82b412ce2fa8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -96,7 +96,6 @@ packages/core/logging/core-logging-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-collectors-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-server-mocks @elastic/kibana-core packages/core/node/core-node-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 3ded789c1a8b5..1b70b614731f2 100644 --- a/package.json +++ b/package.json @@ -337,7 +337,7 @@ "@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:packages/core/notifications/core-notifications-browser-internal", + "@kbn/core-notifications-browser-internal": "link:src/core/packages/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-plugin-a-plugin": "link:test/plugin_functional/plugins/core_plugin_a", 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/notifications/core-notifications-browser-internal/jest.config.js b/src/core/packages/notifications/browser-internal/jest.config.js similarity index 81% rename from packages/core/notifications/core-notifications-browser-internal/jest.config.js rename to src/core/packages/notifications/browser-internal/jest.config.js index 262f30ad0dab6..71ce8e953967d 100644 --- a/packages/core/notifications/core-notifications-browser-internal/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/notifications/core-notifications-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 483b44b91b018..a7d791aec52c9 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -486,8 +486,8 @@ "@kbn/core-node-server-mocks/*": ["packages/core/node/core-node-server-mocks/*"], "@kbn/core-notifications-browser": ["src/core/packages/notifications/browser"], "@kbn/core-notifications-browser/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index 15b2fe380a7f4..2c25a3af69c59 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4781,7 +4781,7 @@ 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 "" From d3e95c5cdb1abf5a83ffc8a680740d4e6b162633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:20:46 +0100 Subject: [PATCH 094/183] Relocating module `@kbn/core-overlays-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/overlays/browser}/README.md | 0 .../core/packages/overlays/browser}/index.ts | 0 .../core/packages/overlays/browser}/jest.config.js | 4 ++-- .../core/packages/overlays/browser}/kibana.jsonc | 0 .../core/packages/overlays/browser}/package.json | 0 .../core/packages/overlays/browser}/src/banners.ts | 0 .../core/packages/overlays/browser}/src/flyout.ts | 0 .../core/packages/overlays/browser}/src/modal.ts | 0 .../core/packages/overlays/browser}/src/overlays.ts | 0 .../core/packages/overlays/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) 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/overlays/core-overlays-browser => src/core/packages/overlays/browser}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d82b412ce2fa8..8ae0073ecc29e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -97,7 +97,6 @@ packages/core/metrics/core-metrics-collectors-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-server-mocks @elastic/kibana-core packages/core/node/core-node-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 1b70b614731f2..4523083a45c2f 100644 --- a/package.json +++ b/package.json @@ -338,7 +338,7 @@ "@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:packages/core/overlays/core-overlays-browser", + "@kbn/core-overlays-browser": "link:src/core/packages/overlays/browser", "@kbn/core-overlays-browser-internal": "link:packages/core/overlays/core-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", 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/overlays/core-overlays-browser/jest.config.js b/src/core/packages/overlays/browser/jest.config.js similarity index 84% rename from packages/core/overlays/core-overlays-browser/jest.config.js rename to src/core/packages/overlays/browser/jest.config.js index af2bec17d7949..18a1b0a2ca674 100644 --- a/packages/core/overlays/core-overlays-browser/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/overlays/core-overlays-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index a7d791aec52c9..85473499e9fa9 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -490,8 +490,8 @@ "@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": ["src/core/packages/overlays/browser"], + "@kbn/core-overlays-browser/*": ["src/core/packages/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-mocks": ["packages/core/overlays/core-overlays-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 2c25a3af69c59..e84b847ad5102 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4801,7 +4801,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 "" From a582277f9116d5c1eb534cdfdb83895e3fe41851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:22:16 +0100 Subject: [PATCH 095/183] Relocating module `@kbn/core-overlays-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/overlays/browser-internal}/README.md | 0 .../core/packages/overlays/browser-internal}/index.ts | 0 .../core/packages/overlays/browser-internal}/jest.config.js | 4 ++-- .../core/packages/overlays/browser-internal}/kibana.jsonc | 0 .../core/packages/overlays/browser-internal}/package.json | 0 .../browser-internal}/src/banners/banners_list.test.tsx | 0 .../overlays/browser-internal}/src/banners/banners_list.tsx | 0 .../src/banners/banners_service.test.mocks.ts | 0 .../browser-internal}/src/banners/banners_service.test.ts | 0 .../browser-internal}/src/banners/banners_service.tsx | 0 .../packages/overlays/browser-internal}/src/banners/index.ts | 0 .../browser-internal}/src/banners/priority_map.test.ts | 0 .../overlays/browser-internal}/src/banners/priority_map.ts | 0 .../browser-internal}/src/banners/user_banner_service.test.ts | 0 .../browser-internal}/src/banners/user_banner_service.tsx | 0 .../src/flyout/__snapshots__/flyout_service.test.tsx.snap | 0 .../browser-internal}/src/flyout/flyout_service.test.tsx | 0 .../overlays/browser-internal}/src/flyout/flyout_service.tsx | 0 .../packages/overlays/browser-internal}/src/flyout/index.ts | 0 .../src/modal/__snapshots__/modal_service.test.tsx.snap | 0 .../packages/overlays/browser-internal}/src/modal/index.ts | 0 .../browser-internal}/src/modal/modal_service.test.tsx | 0 .../overlays/browser-internal}/src/modal/modal_service.tsx | 0 .../overlays/browser-internal}/src/overlay.test.mocks.ts | 0 .../overlays/browser-internal}/src/overlay_service.ts | 0 .../core/packages/overlays/browser-internal}/tsconfig.json | 4 ++-- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 30 files changed, 9 insertions(+), 9 deletions(-) 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%) rename {packages/core/overlays/core-overlays-browser-internal => src/core/packages/overlays/browser-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8ae0073ecc29e..85eda1f4da898 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -97,7 +97,6 @@ packages/core/metrics/core-metrics-collectors-server-mocks @elastic/kibana-core packages/core/metrics/core-metrics-server-mocks @elastic/kibana-core packages/core/node/core-node-server-mocks @elastic/kibana-core packages/core/notifications/core-notifications-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 4523083a45c2f..4e22e6fdcdb23 100644 --- a/package.json +++ b/package.json @@ -339,7 +339,7 @@ "@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:packages/core/overlays/core-overlays-browser-internal", + "@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", 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/packages/core/overlays/core-overlays-browser-internal/jest.config.js b/src/core/packages/overlays/browser-internal/jest.config.js similarity index 83% rename from packages/core/overlays/core-overlays-browser-internal/jest.config.js rename to src/core/packages/overlays/browser-internal/jest.config.js index 7e3863eb1df7f..7fd547e4c6406 100644 --- a/packages/core/overlays/core-overlays-browser-internal/jest.config.js +++ b/src/core/packages/overlays/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/overlays/core-overlays-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 85473499e9fa9..31187d0eb9084 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -492,8 +492,8 @@ "@kbn/core-notifications-browser-mocks/*": ["packages/core/notifications/core-notifications-browser-mocks/*"], "@kbn/core-overlays-browser": ["src/core/packages/overlays/browser"], "@kbn/core-overlays-browser/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index e84b847ad5102..0e6b7ff568928 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4793,7 +4793,7 @@ 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 "" From 180302dc45e212217f51d4a3aed45452d88374b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:23:52 +0100 Subject: [PATCH 096/183] Relocating module `@kbn/core-plugins-base-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/plugins/base-server-internal}/README.md | 0 .../core/packages/plugins/base-server-internal}/index.ts | 0 .../packages/plugins/base-server-internal}/jest.config.js | 4 ++-- .../core/packages/plugins/base-server-internal}/kibana.jsonc | 0 .../core/packages/plugins/base-server-internal}/package.json | 0 .../core/packages/plugins/base-server-internal}/src/index.ts | 0 .../core/packages/plugins/base-server-internal}/src/types.ts | 0 .../core/packages/plugins/base-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/plugins/core-plugins-base-server-internal => src/core/packages/plugins/base-server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 85eda1f4da898..4dad803704fc4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -98,7 +98,6 @@ packages/core/metrics/core-metrics-server-mocks @elastic/kibana-core packages/core/node/core-node-server-mocks @elastic/kibana-core packages/core/notifications/core-notifications-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 4e22e6fdcdb23..8da9129fd99fb 100644 --- a/package.json +++ b/package.json @@ -353,7 +353,7 @@ "@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-base-server-internal": "link:src/core/packages/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", 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/packages/core/plugins/core-plugins-base-server-internal/jest.config.js b/src/core/packages/plugins/base-server-internal/jest.config.js similarity index 83% rename from packages/core/plugins/core-plugins-base-server-internal/jest.config.js rename to src/core/packages/plugins/base-server-internal/jest.config.js index 9fe0344b91f2e..dee46df2b70a7 100644 --- a/packages/core/plugins/core-plugins-base-server-internal/jest.config.js +++ b/src/core/packages/plugins/base-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-base-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 31187d0eb9084..736fe46a0449e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -522,8 +522,8 @@ "@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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index 0e6b7ff568928..97cc9fbefff52 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4857,7 +4857,7 @@ 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 "" From f947df424fa4b670449bae13aff79ae8729b401f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:25:19 +0100 Subject: [PATCH 097/183] Relocating module `@kbn/core-plugins-browser` --- .github/CODEOWNERS | 2 +- .../architecture/kibana-platform-plugin-api.asciidoc | 4 ++-- package.json | 2 +- .../core/packages/plugins/browser}/README.md | 0 .../core/packages/plugins/browser}/index.ts | 0 .../core/packages/plugins/browser}/jest.config.js | 4 ++-- .../core/packages/plugins/browser}/kibana.jsonc | 0 .../core/packages/plugins/browser}/package.json | 0 .../core/packages/plugins/browser}/src/index.ts | 0 .../core/packages/plugins/browser}/src/plugin.ts | 0 .../core/packages/plugins/browser}/src/plugin_initializer.ts | 0 .../core/packages/plugins/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 10 insertions(+), 10 deletions(-) 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/plugins/core-plugins-browser => src/core/packages/plugins/browser}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4dad803704fc4..d2574dd8ca41d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -98,7 +98,6 @@ packages/core/metrics/core-metrics-server-mocks @elastic/kibana-core packages/core/node/core-node-server-mocks @elastic/kibana-core packages/core/notifications/core-notifications-browser-mocks @elastic/kibana-core packages/core/overlays/core-overlays-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc index 05a7cf751b391..661f8e313d917 100644 --- a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc +++ b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc @@ -51,7 +51,7 @@ NOTE: `package.json` files are irrelevant to and ignored by {kib} for discoverin *[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. @@ -222,7 +222,7 @@ 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/browser/src/plugin_initializer.ts[PluginInitializerContext] |_setup_ |{kib-repo}blob/{branch}/src/core/packages/lifecycle/server/src/core_setup.ts[CoreSetup] diff --git a/package.json b/package.json index 8da9129fd99fb..5c2e640394238 100644 --- a/package.json +++ b/package.json @@ -354,7 +354,7 @@ "@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:src/core/packages/plugins/base-server-internal", - "@kbn/core-plugins-browser": "link:packages/core/plugins/core-plugins-browser", + "@kbn/core-plugins-browser": "link:src/core/packages/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", 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/plugins/core-plugins-browser/jest.config.js b/src/core/packages/plugins/browser/jest.config.js similarity index 84% rename from packages/core/plugins/core-plugins-browser/jest.config.js rename to src/core/packages/plugins/browser/jest.config.js index 3815ad0fd6b85..46258dbf62123 100644 --- a/packages/core/plugins/core-plugins-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/plugins/core-plugins-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/tsconfig.base.json b/tsconfig.base.json index 736fe46a0449e..df927d17b1ce5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -524,8 +524,8 @@ "@kbn/core-plugin-static-assets-plugin/*": ["test/plugin_functional/plugins/core_plugin_static_assets/*"], "@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": ["packages/core/plugins/core-plugins-browser"], - "@kbn/core-plugins-browser/*": ["packages/core/plugins/core-plugins-browser/*"], + "@kbn/core-plugins-browser": ["src/core/packages/plugins/browser"], + "@kbn/core-plugins-browser/*": ["src/core/packages/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-browser-mocks": ["packages/core/plugins/core-plugins-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 97cc9fbefff52..6e68465f6aad4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4869,7 +4869,7 @@ 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 "" From 6ee6e66ffdad70aca0db8b82d925c95b3b4a17f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:26:46 +0100 Subject: [PATCH 098/183] Relocating module `@kbn/core-plugins-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/plugins/browser-internal}/README.md | 0 .../core/packages/plugins/browser-internal}/index.ts | 0 .../core/packages/plugins/browser-internal}/jest.config.js | 4 ++-- .../core/packages/plugins/browser-internal}/kibana.jsonc | 0 .../core/packages/plugins/browser-internal}/package.json | 0 .../core/packages/plugins/browser-internal}/src/index.ts | 0 .../plugins/browser-internal}/src/plugin.test.mocks.ts | 0 .../packages/plugins/browser-internal}/src/plugin.test.ts | 0 .../core/packages/plugins/browser-internal}/src/plugin.ts | 0 .../plugins/browser-internal}/src/plugin_context.test.ts | 0 .../packages/plugins/browser-internal}/src/plugin_context.ts | 0 .../browser-internal}/src/plugin_contract_resolver.test.ts | 0 .../plugins/browser-internal}/src/plugin_contract_resolver.ts | 0 .../plugins/browser-internal}/src/plugin_reader.test.ts | 0 .../packages/plugins/browser-internal}/src/plugin_reader.ts | 0 .../browser-internal}/src/plugins_service.test.mocks.ts | 0 .../plugins/browser-internal}/src/plugins_service.test.ts | 0 .../packages/plugins/browser-internal}/src/plugins_service.ts | 0 .../plugins/browser-internal}/src/test_helpers/index.ts | 0 .../plugins/browser-internal}/src/test_helpers/mocks.ts | 0 .../src/test_helpers/plugin_contract_resolver.mock.ts | 0 .../core/packages/plugins/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 26 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/plugins/core-plugins-browser-internal => src/core/packages/plugins/browser-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d2574dd8ca41d..ce0283a75ab9f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -98,7 +98,6 @@ packages/core/metrics/core-metrics-server-mocks @elastic/kibana-core packages/core/node/core-node-server-mocks @elastic/kibana-core packages/core/notifications/core-notifications-browser-mocks @elastic/kibana-core packages/core/overlays/core-overlays-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 5c2e640394238..c17c7da3b4c6d 100644 --- a/package.json +++ b/package.json @@ -355,7 +355,7 @@ "@kbn/core-plugin-static-assets-plugin": "link:test/plugin_functional/plugins/core_plugin_static_assets", "@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:packages/core/plugins/core-plugins-browser-internal", + "@kbn/core-plugins-browser-internal": "link:src/core/packages/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", 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/packages/core/plugins/core-plugins-browser-internal/jest.config.js b/src/core/packages/plugins/browser-internal/jest.config.js similarity index 83% rename from packages/core/plugins/core-plugins-browser-internal/jest.config.js rename to src/core/packages/plugins/browser-internal/jest.config.js index 27379c59cd7d6..9af195384cac0 100644 --- a/packages/core/plugins/core-plugins-browser-internal/jest.config.js +++ b/src/core/packages/plugins/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index df927d17b1ce5..adf2ed191541a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -526,8 +526,8 @@ "@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": ["packages/core/plugins/core-plugins-browser-internal"], - "@kbn/core-plugins-browser-internal/*": ["packages/core/plugins/core-plugins-browser-internal/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index 6e68465f6aad4..ebd6dc2ba5a66 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4861,7 +4861,7 @@ 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 "" From c892ded54e9086f6f2b8bfcc052a2cdd3c533588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:28:15 +0100 Subject: [PATCH 099/183] Relocating module `@kbn/core-plugins-contracts-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/plugins/contracts-browser}/README.md | 0 .../core/packages/plugins/contracts-browser}/index.ts | 0 .../core/packages/plugins/contracts-browser}/jest.config.js | 4 ++-- .../core/packages/plugins/contracts-browser}/kibana.jsonc | 0 .../core/packages/plugins/contracts-browser}/package.json | 0 .../core/packages/plugins/contracts-browser}/src/contracts.ts | 0 .../core/packages/plugins/contracts-browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/plugins/core-plugins-contracts-browser => src/core/packages/plugins/contracts-browser}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ce0283a75ab9f..b645442e706cf 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -99,7 +99,6 @@ packages/core/node/core-node-server-mocks @elastic/kibana-core packages/core/notifications/core-notifications-browser-mocks @elastic/kibana-core packages/core/overlays/core-overlays-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index c17c7da3b4c6d..619a862ddf711 100644 --- a/package.json +++ b/package.json @@ -356,7 +356,7 @@ "@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:packages/core/plugins/core-plugins-contracts-browser", + "@kbn/core-plugins-contracts-browser": "link:src/core/packages/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", 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/packages/core/plugins/core-plugins-contracts-browser/jest.config.js b/src/core/packages/plugins/contracts-browser/jest.config.js similarity index 83% rename from packages/core/plugins/core-plugins-contracts-browser/jest.config.js rename to src/core/packages/plugins/contracts-browser/jest.config.js index eda5c2f762548..e5f9df32ebdac 100644 --- a/packages/core/plugins/core-plugins-contracts-browser/jest.config.js +++ b/src/core/packages/plugins/contracts-browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-contracts-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index adf2ed191541a..90a66d3086834 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -530,8 +530,8 @@ "@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-browser": ["src/core/packages/plugins/contracts-browser"], + "@kbn/core-plugins-contracts-browser/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index ebd6dc2ba5a66..f33d095d10dc7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4873,7 +4873,7 @@ 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 "" From f310fdb9c2c1fda858ff41cc768b5976255a5fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:29:47 +0100 Subject: [PATCH 100/183] Relocating module `@kbn/core-plugins-contracts-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/plugins/contracts-server}/README.md | 0 .../core/packages/plugins/contracts-server}/index.ts | 0 .../core/packages/plugins/contracts-server}/jest.config.js | 4 ++-- .../core/packages/plugins/contracts-server}/kibana.jsonc | 0 .../core/packages/plugins/contracts-server}/package.json | 0 .../core/packages/plugins/contracts-server}/src/contracts.ts | 0 .../core/packages/plugins/contracts-server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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/plugins/core-plugins-contracts-server => src/core/packages/plugins/contracts-server}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b645442e706cf..b799fd452d3f4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -99,7 +99,6 @@ packages/core/node/core-node-server-mocks @elastic/kibana-core packages/core/notifications/core-notifications-browser-mocks @elastic/kibana-core packages/core/overlays/core-overlays-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 619a862ddf711..5b3ffe5aa5d8d 100644 --- a/package.json +++ b/package.json @@ -357,7 +357,7 @@ "@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:packages/core/plugins/core-plugins-contracts-server", + "@kbn/core-plugins-contracts-server": "link:src/core/packages/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", 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/plugins/core-plugins-contracts-server/jest.config.js b/src/core/packages/plugins/contracts-server/jest.config.js similarity index 83% rename from packages/core/plugins/core-plugins-contracts-server/jest.config.js rename to src/core/packages/plugins/contracts-server/jest.config.js index 0a3ee38ea23d9..7978e453eddfb 100644 --- a/packages/core/plugins/core-plugins-contracts-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/plugins/core-plugins-contracts-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/tsconfig.base.json b/tsconfig.base.json index 90a66d3086834..b448457d78074 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -532,8 +532,8 @@ "@kbn/core-plugins-browser-mocks/*": ["packages/core/plugins/core-plugins-browser-mocks/*"], "@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": ["packages/core/plugins/core-plugins-contracts-server"], - "@kbn/core-plugins-contracts-server/*": ["packages/core/plugins/core-plugins-contracts-server/*"], + "@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": ["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"], diff --git a/yarn.lock b/yarn.lock index f33d095d10dc7..145b8957949b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4877,7 +4877,7 @@ 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 "" From f25480990ebc5880c272a2eb330034b888d8f357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:31:16 +0100 Subject: [PATCH 101/183] Relocating module `@kbn/core-plugins-server` --- .github/CODEOWNERS | 2 +- .../architecture/kibana-platform-plugin-api.asciidoc | 8 ++++---- package.json | 2 +- .../core/packages/plugins/server}/README.md | 0 .../core/packages/plugins/server}/index.ts | 0 .../core/packages/plugins/server}/jest.config.js | 4 ++-- .../core/packages/plugins/server}/kibana.jsonc | 0 .../core/packages/plugins/server}/package.json | 0 .../core/packages/plugins/server}/src/index.ts | 0 .../packages/plugins/server}/src/shared_global_config.ts | 0 .../core/packages/plugins/server}/src/types.ts | 0 .../core/packages/plugins/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 12 insertions(+), 12 deletions(-) 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/core/plugins/core-plugins-server => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b799fd452d3f4..65f6a871acb9f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -99,7 +99,6 @@ packages/core/node/core-node-server-mocks @elastic/kibana-core packages/core/notifications/core-notifications-browser-mocks @elastic/kibana-core packages/core/overlays/core-overlays-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc index 661f8e313d917..878720812bf4a 100644 --- a/docs/developer/architecture/kibana-platform-plugin-api.asciidoc +++ b/docs/developer/architecture/kibana-platform-plugin-api.asciidoc @@ -44,7 +44,7 @@ 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. @@ -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,7 +221,7 @@ 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}/src/core/packages/plugins/server/src/types.ts[PluginInitializerContext] |{kib-repo}blob/{branch}/src/core/packages/plugins/browser/src/plugin_initializer.ts[PluginInitializerContext] |_setup_ @@ -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/package.json b/package.json index 5b3ffe5aa5d8d..55ee8c3e041f7 100644 --- a/package.json +++ b/package.json @@ -358,7 +358,7 @@ "@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:packages/core/plugins/core-plugins-server", + "@kbn/core-plugins-server": "link:src/core/packages/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", 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/core/plugins/core-plugins-server/jest.config.js b/src/core/packages/plugins/server/jest.config.js similarity index 85% rename from packages/core/plugins/core-plugins-server/jest.config.js rename to src/core/packages/plugins/server/jest.config.js index 76edb6acca526..1d0833c2e4159 100644 --- a/packages/core/plugins/core-plugins-server/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/core/plugins/core-plugins-server'], + 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/tsconfig.base.json b/tsconfig.base.json index b448457d78074..0411dde2c2e08 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -534,8 +534,8 @@ "@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": ["packages/core/plugins/core-plugins-server"], - "@kbn/core-plugins-server/*": ["packages/core/plugins/core-plugins-server/*"], + "@kbn/core-plugins-server": ["src/core/packages/plugins/server"], + "@kbn/core-plugins-server/*": ["src/core/packages/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-server-mocks": ["packages/core/plugins/core-plugins-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 145b8957949b3..c79b588594d08 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4889,7 +4889,7 @@ 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 "" From d1d89ab8c8db85c498a5ff20788b184b1a014f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:32:47 +0100 Subject: [PATCH 102/183] Relocating module `@kbn/core-plugins-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/plugins/server-internal}/README.md | 0 .../core/packages/plugins/server-internal}/index.ts | 0 .../core/packages/plugins/server-internal}/jest.config.js | 4 ++-- .../core/packages/plugins/server-internal}/kibana.jsonc | 0 .../core/packages/plugins/server-internal}/package.json | 0 .../core/packages/plugins/server-internal}/src/constants.ts | 0 .../server-internal}/src/create_browser_config.test.ts | 0 .../plugins/server-internal}/src/create_browser_config.ts | 0 .../packages/plugins/server-internal}/src/discovery/index.ts | 0 .../server-internal}/src/discovery/is_camel_case.test.ts | 0 .../plugins/server-internal}/src/discovery/is_camel_case.ts | 0 .../server-internal}/src/discovery/plugin_discovery_error.ts | 0 .../src/discovery/plugin_manifest_from_plugin_package.test.ts | 0 .../src/discovery/plugin_manifest_from_plugin_package.ts | 0 .../src/discovery/plugin_manifest_parser.test.mocks.ts | 0 .../src/discovery/plugin_manifest_parser.test.ts | 0 .../server-internal}/src/discovery/plugin_manifest_parser.ts | 0 .../src/discovery/plugins_discovery.test.mocks.ts | 0 .../server-internal}/src/discovery/plugins_discovery.test.ts | 0 .../server-internal}/src/discovery/plugins_discovery.ts | 0 .../src/discovery/scan_plugin_search_paths.test.ts | 0 .../src/discovery/scan_plugin_search_paths.ts | 0 .../core/packages/plugins/server-internal}/src/index.ts | 0 .../plugins/server-internal}/src/legacy_config.test.ts | 0 .../packages/plugins/server-internal}/src/legacy_config.ts | 0 .../core/packages/plugins/server-internal}/src/plugin.test.ts | 0 .../core/packages/plugins/server-internal}/src/plugin.ts | 0 .../plugins/server-internal}/src/plugin_context.test.ts | 0 .../packages/plugins/server-internal}/src/plugin_context.ts | 0 .../server-internal}/src/plugin_contract_resolver.test.ts | 0 .../plugins/server-internal}/src/plugin_contract_resolver.ts | 0 .../plugins/server-internal}/src/plugins_config.test.ts | 0 .../packages/plugins/server-internal}/src/plugins_config.ts | 0 .../server-internal}/src/plugins_service.test.mocks.ts | 0 .../plugins/server-internal}/src/plugins_service.test.ts | 0 .../packages/plugins/server-internal}/src/plugins_service.ts | 0 .../plugins/server-internal}/src/plugins_system.test.mocks.ts | 0 .../plugins/server-internal}/src/plugins_system.test.ts | 0 .../packages/plugins/server-internal}/src/plugins_system.ts | 0 .../test_helpers/create_core_context_config_service.mock.ts | 0 .../plugins/server-internal}/src/test_helpers/index.ts | 0 .../src/test_helpers/plugin_contract_resolver.mock.ts | 0 .../core/packages/plugins/server-internal}/src/types.test.ts | 0 .../core/packages/plugins/server-internal}/src/types.ts | 0 .../core/packages/plugins/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 49 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/plugins/core-plugins-server-internal => src/core/packages/plugins/server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 65f6a871acb9f..bbfe854e0dd9d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -99,7 +99,6 @@ packages/core/node/core-node-server-mocks @elastic/kibana-core packages/core/notifications/core-notifications-browser-mocks @elastic/kibana-core packages/core/overlays/core-overlays-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 55ee8c3e041f7..7efca684eee7a 100644 --- a/package.json +++ b/package.json @@ -359,7 +359,7 @@ "@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:packages/core/plugins/core-plugins-server-internal", + "@kbn/core-plugins-server-internal": "link:src/core/packages/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-provider-plugin": "link:test/plugin_functional/plugins/core_provider_plugin", 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/packages/core/plugins/core-plugins-server-internal/jest.config.js b/src/core/packages/plugins/server-internal/jest.config.js similarity index 83% rename from packages/core/plugins/core-plugins-server-internal/jest.config.js rename to src/core/packages/plugins/server-internal/jest.config.js index bb4f033b12383..5028d05dc8b9c 100644 --- a/packages/core/plugins/core-plugins-server-internal/jest.config.js +++ b/src/core/packages/plugins/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/plugins/core-plugins-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 0411dde2c2e08..a4ee77df165b0 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -536,8 +536,8 @@ "@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": ["packages/core/plugins/core-plugins-server-internal"], - "@kbn/core-plugins-server-internal/*": ["packages/core/plugins/core-plugins-server-internal/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index c79b588594d08..6d977176decad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4881,7 +4881,7 @@ 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 "" From 7aee83ad779eb6eceebea3b6ce5018733528e5ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:34:18 +0100 Subject: [PATCH 103/183] Relocating module `@kbn/core-preboot-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/preboot/server}/README.md | 0 .../core/packages/preboot/server}/index.ts | 0 .../core/packages/preboot/server}/jest.config.js | 4 ++-- .../core/packages/preboot/server}/kibana.jsonc | 0 .../core/packages/preboot/server}/package.json | 0 .../core/packages/preboot/server}/src/contracts.ts | 0 .../core/packages/preboot/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/preboot/core-preboot-server => src/core/packages/preboot/server}/jest.config.js (85%) 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%) rename {packages/core/preboot/core-preboot-server => src/core/packages/preboot/server}/tsconfig.json (78%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index bbfe854e0dd9d..5612cea28ab25 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -100,7 +100,6 @@ packages/core/notifications/core-notifications-browser-mocks @elastic/kibana-cor packages/core/overlays/core-overlays-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 7efca684eee7a..2699e0f419e39 100644 --- a/package.json +++ b/package.json @@ -360,7 +360,7 @@ "@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:packages/core/preboot/core-preboot-server", + "@kbn/core-preboot-server": "link:src/core/packages/preboot/server", "@kbn/core-preboot-server-internal": "link:packages/core/preboot/core-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", 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/packages/core/preboot/core-preboot-server/jest.config.js b/src/core/packages/preboot/server/jest.config.js similarity index 85% rename from packages/core/preboot/core-preboot-server/jest.config.js rename to src/core/packages/preboot/server/jest.config.js index d8ad56f1ea400..3cf123c9c082a 100644 --- a/packages/core/preboot/core-preboot-server/jest.config.js +++ b/src/core/packages/preboot/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/preboot/core-preboot-server'], + 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/packages/core/preboot/core-preboot-server/tsconfig.json b/src/core/packages/preboot/server/tsconfig.json similarity index 78% rename from packages/core/preboot/core-preboot-server/tsconfig.json rename to src/core/packages/preboot/server/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/preboot/core-preboot-server/tsconfig.json +++ b/src/core/packages/preboot/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index a4ee77df165b0..ac00888bd1c1b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -540,8 +540,8 @@ "@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": ["src/core/packages/preboot/server"], + "@kbn/core-preboot-server/*": ["src/core/packages/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-mocks": ["packages/core/preboot/core-preboot-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 6d977176decad..4f6a0b3338390 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4901,7 +4901,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 "" From e0a35454bbd0bb3bfa2cb21fbbd9646c8b26993d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:35:48 +0100 Subject: [PATCH 104/183] Relocating module `@kbn/core-preboot-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/preboot/server-internal}/README.md | 0 .../core/packages/preboot/server-internal}/index.ts | 0 .../core/packages/preboot/server-internal}/jest.config.js | 4 ++-- .../core/packages/preboot/server-internal}/kibana.jsonc | 0 .../core/packages/preboot/server-internal}/package.json | 0 .../preboot/server-internal}/src/preboot_service.test.ts | 0 .../packages/preboot/server-internal}/src/preboot_service.ts | 0 .../core/packages/preboot/server-internal}/src/types.ts | 0 .../core/packages/preboot/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/preboot/core-preboot-server-internal => src/core/packages/preboot/server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5612cea28ab25..335d5265d479b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -100,7 +100,6 @@ packages/core/notifications/core-notifications-browser-mocks @elastic/kibana-cor packages/core/overlays/core-overlays-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 2699e0f419e39..d6efb74936b2d 100644 --- a/package.json +++ b/package.json @@ -361,7 +361,7 @@ "@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:packages/core/preboot/core-preboot-server-internal", + "@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", 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/packages/core/preboot/core-preboot-server-internal/jest.config.js b/src/core/packages/preboot/server-internal/jest.config.js similarity index 83% rename from packages/core/preboot/core-preboot-server-internal/jest.config.js rename to src/core/packages/preboot/server-internal/jest.config.js index 3615bf647f5b6..3201c1ab09ff9 100644 --- a/packages/core/preboot/core-preboot-server-internal/jest.config.js +++ b/src/core/packages/preboot/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/preboot/core-preboot-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index ac00888bd1c1b..7315731728cb5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -542,8 +542,8 @@ "@kbn/core-plugins-server-mocks/*": ["packages/core/plugins/core-plugins-server-mocks/*"], "@kbn/core-preboot-server": ["src/core/packages/preboot/server"], "@kbn/core-preboot-server/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index 4f6a0b3338390..78d33b43df2df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4893,7 +4893,7 @@ 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 "" From 5110d69980f484b1d8c490805f4b512936d595f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:37:18 +0100 Subject: [PATCH 105/183] Relocating module `@kbn/core-rendering-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/rendering/browser}/README.md | 0 .../core/packages/rendering/browser}/index.ts | 0 .../core/packages/rendering/browser}/jest.config.js | 4 ++-- .../core/packages/rendering/browser}/kibana.jsonc | 0 .../core/packages/rendering/browser}/package.json | 0 .../core/packages/rendering/browser}/src/index.ts | 0 .../packages/rendering/browser}/src/use_app_fixed_viewport.ts | 0 .../core/packages/rendering/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/rendering/core-rendering-browser => src/core/packages/rendering/browser}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 335d5265d479b..185cdea72fb2b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -101,7 +101,6 @@ packages/core/overlays/core-overlays-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index d6efb74936b2d..ae39b0be7522e 100644 --- a/package.json +++ b/package.json @@ -363,7 +363,7 @@ "@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": "link:src/core/packages/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", 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/packages/core/rendering/core-rendering-browser/jest.config.js b/src/core/packages/rendering/browser/jest.config.js similarity index 84% rename from packages/core/rendering/core-rendering-browser/jest.config.js rename to src/core/packages/rendering/browser/jest.config.js index 13f1819553812..8d72dd41b7b9e 100644 --- a/packages/core/rendering/core-rendering-browser/jest.config.js +++ b/src/core/packages/rendering/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/rendering/core-rendering-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index 7315731728cb5..02d8a317c0502 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -548,8 +548,8 @@ "@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": ["src/core/packages/rendering/browser"], + "@kbn/core-rendering-browser/*": ["src/core/packages/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-mocks": ["packages/core/rendering/core-rendering-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 78d33b43df2df..d7563ded88fef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4917,7 +4917,7 @@ 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 "" From c747d1410b0df339ee3b3e55cadde571928b31c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:38:42 +0100 Subject: [PATCH 106/183] Relocating module `@kbn/core-rendering-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/rendering/browser-internal}/README.md | 0 .../core/packages/rendering/browser-internal}/index.ts | 0 .../core/packages/rendering/browser-internal}/jest.config.js | 4 ++-- .../core/packages/rendering/browser-internal}/kibana.jsonc | 0 .../core/packages/rendering/browser-internal}/package.json | 0 .../rendering/browser-internal}/src/app_containers.test.tsx | 0 .../rendering/browser-internal}/src/app_containers.tsx | 0 .../core/packages/rendering/browser-internal}/src/index.ts | 0 .../browser-internal}/src/rendering_service.test.tsx | 0 .../rendering/browser-internal}/src/rendering_service.tsx | 0 .../core/packages/rendering/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/rendering/core-rendering-browser-internal => src/core/packages/rendering/browser-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 185cdea72fb2b..3dd7c30fd89ef 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -101,7 +101,6 @@ packages/core/overlays/core-overlays-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-server-mocks @elastic/kibana-core packages/core/preboot/core-preboot-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index ae39b0be7522e..44ba36a78b8a5 100644 --- a/package.json +++ b/package.json @@ -364,7 +364,7 @@ "@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:src/core/packages/rendering/browser", - "@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", "@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", 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/packages/core/rendering/core-rendering-browser-internal/jest.config.js b/src/core/packages/rendering/browser-internal/jest.config.js similarity index 82% rename from packages/core/rendering/core-rendering-browser-internal/jest.config.js rename to src/core/packages/rendering/browser-internal/jest.config.js index 136cceee2f1f2..2eeaeb2608339 100644 --- a/packages/core/rendering/core-rendering-browser-internal/jest.config.js +++ b/src/core/packages/rendering/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/rendering/core-rendering-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 02d8a317c0502..ea4f835a6f7e9 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -550,8 +550,8 @@ "@kbn/core-provider-plugin/*": ["test/plugin_functional/plugins/core_provider_plugin/*"], "@kbn/core-rendering-browser": ["src/core/packages/rendering/browser"], "@kbn/core-rendering-browser/*": ["src/core/packages/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-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"], diff --git a/yarn.lock b/yarn.lock index d7563ded88fef..7f31ab3d106fc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4909,7 +4909,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 "" From f0fa39a5eaf656862a800314d0dbf87b506c7c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:40:08 +0100 Subject: [PATCH 107/183] Relocating module `@kbn/core-rendering-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- src/core/packages/apps/server-internal/assets/legacy_theme.js | 2 +- .../core/packages/rendering/server-internal}/README.md | 0 .../core/packages/rendering/server-internal}/index.ts | 0 .../core/packages/rendering/server-internal}/jest.config.js | 4 ++-- .../core/packages/rendering/server-internal}/kibana.jsonc | 0 .../core/packages/rendering/server-internal}/package.json | 0 .../src/__snapshots__/rendering_service.test.ts.snap | 0 .../src/bootstrap/__snapshots__/render_template.test.ts.snap | 0 .../src/bootstrap/bootstrap_renderer.test.mocks.ts | 0 .../server-internal}/src/bootstrap/bootstrap_renderer.test.ts | 0 .../server-internal}/src/bootstrap/bootstrap_renderer.ts | 0 .../src/bootstrap/get_js_dependency_paths.test.ts | 0 .../server-internal}/src/bootstrap/get_js_dependency_paths.ts | 0 .../src/bootstrap/get_plugin_bundle_paths.test.ts | 0 .../server-internal}/src/bootstrap/get_plugin_bundle_paths.ts | 0 .../server-internal}/src/bootstrap/get_theme_tag.test.ts | 0 .../rendering/server-internal}/src/bootstrap/get_theme_tag.ts | 0 .../rendering/server-internal}/src/bootstrap/index.ts | 0 .../src/bootstrap/register_bootstrap_route.test.ts | 0 .../src/bootstrap/register_bootstrap_route.ts | 0 .../server-internal}/src/bootstrap/render_template.test.ts | 0 .../server-internal}/src/bootstrap/render_template.ts | 0 .../rendering/server-internal}/src/filter_ui_plugins.test.ts | 0 .../rendering/server-internal}/src/filter_ui_plugins.ts | 0 .../server-internal}/src/get_apm_config.test.mocks.ts | 0 .../rendering/server-internal}/src/get_apm_config.test.ts | 0 .../packages/rendering/server-internal}/src/get_apm_config.ts | 0 .../core/packages/rendering/server-internal}/src/index.ts | 0 .../packages/rendering/server-internal}/src/internal_types.ts | 0 .../rendering/server-internal}/src/render_utils.test.ts | 0 .../packages/rendering/server-internal}/src/render_utils.ts | 0 .../server-internal}/src/rendering_service.test.mocks.ts | 0 .../rendering/server-internal}/src/rendering_service.test.ts | 0 .../rendering/server-internal}/src/rendering_service.tsx | 0 .../rendering/server-internal}/src/test_helpers/params.ts | 0 .../server-internal}/src/test_helpers/rendering_service.ts | 0 .../core/packages/rendering/server-internal}/src/types.ts | 0 .../packages/rendering/server-internal}/src/views/fonts.tsx | 0 .../packages/rendering/server-internal}/src/views/index.ts | 0 .../packages/rendering/server-internal}/src/views/logo.tsx | 0 .../packages/rendering/server-internal}/src/views/styles.tsx | 0 .../rendering/server-internal}/src/views/template.tsx | 0 .../core/packages/rendering/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 47 files changed, 9 insertions(+), 9 deletions(-) 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%) rename {packages/core/rendering/core-rendering-server-internal => src/core/packages/rendering/server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3dd7c30fd89ef..1d6f85638af7e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -102,7 +102,6 @@ packages/core/plugins/core-plugins-browser-mocks @elastic/kibana-core packages/core/plugins/core-plugins-server-mocks @elastic/kibana-core packages/core/preboot/core-preboot-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 44ba36a78b8a5..80a5cf61c709f 100644 --- a/package.json +++ b/package.json @@ -365,7 +365,7 @@ "@kbn/core-provider-plugin": "link:test/plugin_functional/plugins/core_provider_plugin", "@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:packages/core/rendering/core-rendering-server-internal", + "@kbn/core-rendering-server-internal": "link:src/core/packages/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", 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/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/packages/core/rendering/core-rendering-server-internal/jest.config.js b/src/core/packages/rendering/server-internal/jest.config.js similarity index 83% rename from packages/core/rendering/core-rendering-server-internal/jest.config.js rename to src/core/packages/rendering/server-internal/jest.config.js index 41a4ff4fb6b8a..702015c88662a 100644 --- a/packages/core/rendering/core-rendering-server-internal/jest.config.js +++ b/src/core/packages/rendering/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/rendering/core-rendering-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index ea4f835a6f7e9..f37f983153202 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -554,8 +554,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index 7f31ab3d106fc..24f61fc3c10c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4921,7 +4921,7 @@ 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 "" From bb14042d0e9c314702d5883dee919b5a5d463190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:41:36 +0100 Subject: [PATCH 108/183] Relocating module `@kbn/core-root-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/root/browser-internal}/README.md | 0 .../core/packages/root/browser-internal}/index.ts | 0 .../core/packages/root/browser-internal}/jest.config.js | 4 ++-- .../core/packages/root/browser-internal}/kibana.jsonc | 0 .../core/packages/root/browser-internal}/package.json | 0 .../root/browser-internal}/src/apm_resource_counter.ts | 0 .../packages/root/browser-internal}/src/apm_system.test.ts | 0 .../core/packages/root/browser-internal}/src/apm_system.ts | 0 .../root/browser-internal}/src/core_system.test.mocks.ts | 0 .../packages/root/browser-internal}/src/core_system.test.ts | 0 .../core/packages/root/browser-internal}/src/core_system.ts | 0 .../core/packages/root/browser-internal}/src/events.ts | 0 .../browser-internal}/src/fetch_optional_memory_info.test.ts | 0 .../root/browser-internal}/src/fetch_optional_memory_info.ts | 0 .../core/packages/root/browser-internal}/src/index.ts | 0 .../root/browser-internal}/src/kbn_bootstrap.test.mocks.ts | 0 .../packages/root/browser-internal}/src/kbn_bootstrap.test.ts | 0 .../core/packages/root/browser-internal}/src/kbn_bootstrap.ts | 0 .../core/packages/root/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 23 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/root/core-root-browser-internal => src/core/packages/root/browser-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1d6f85638af7e..e25b348ad94fe 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -103,7 +103,6 @@ packages/core/plugins/core-plugins-server-mocks @elastic/kibana-core packages/core/preboot/core-preboot-server-mocks @elastic/kibana-core packages/core/rendering/core-rendering-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 80a5cf61c709f..16257931b20cf 100644 --- a/package.json +++ b/package.json @@ -366,7 +366,7 @@ "@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:packages/core/root/core-root-browser-internal", + "@kbn/core-root-browser-internal": "link:src/core/packages/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", 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/packages/core/root/core-root-browser-internal/jest.config.js b/src/core/packages/root/browser-internal/jest.config.js similarity index 84% rename from packages/core/root/core-root-browser-internal/jest.config.js rename to src/core/packages/root/browser-internal/jest.config.js index 354b27cceb18a..f819b1b26a00b 100644 --- a/packages/core/root/core-root-browser-internal/jest.config.js +++ b/src/core/packages/root/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/root/core-root-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index f37f983153202..8641db06acf1a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -558,8 +558,8 @@ "@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-browser-internal": ["src/core/packages/root/browser-internal"], + "@kbn/core-root-browser-internal/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 24f61fc3c10c0..9168d46a4c3e1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4929,7 +4929,7 @@ 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 "" From 7004caeeb029f157ff3cccb7f62f66b292662544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:43:00 +0100 Subject: [PATCH 109/183] Relocating module `@kbn/core-root-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/root/server-internal}/README.md | 0 .../core/packages/root/server-internal}/index.ts | 0 .../core/packages/root/server-internal}/jest.config.js | 4 ++-- .../core/packages/root/server-internal}/kibana.jsonc | 0 .../core/packages/root/server-internal}/package.json | 0 .../core/packages/root/server-internal}/src/bootstrap.ts | 0 .../core/packages/root/server-internal}/src/constants.ts | 0 .../core/packages/root/server-internal}/src/core_config.ts | 0 .../core/packages/root/server-internal}/src/events/index.ts | 0 .../root/server-internal}/src/events/kibana_started.ts | 0 .../core/packages/root/server-internal}/src/index.ts | 0 .../root/server-internal}/src/register_service_config.ts | 0 .../src/root/__snapshots__/index.test.ts.snap | 0 .../packages/root/server-internal}/src/root/elastic_config.ts | 0 .../root/server-internal}/src/root/index.test.mocks.ts | 0 .../packages/root/server-internal}/src/root/index.test.ts | 0 .../core/packages/root/server-internal}/src/root/index.ts | 0 .../root/server-internal}/src/root/serverless_config.ts | 0 .../packages/root/server-internal}/src/server.test.mocks.ts | 0 .../core/packages/root/server-internal}/src/server.test.ts | 0 .../core/packages/root/server-internal}/src/server.ts | 0 .../core/packages/root/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 26 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/root/core-root-server-internal => src/core/packages/root/server-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e25b348ad94fe..6c70f9b4b7f13 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -103,7 +103,6 @@ packages/core/plugins/core-plugins-server-mocks @elastic/kibana-core packages/core/preboot/core-preboot-server-mocks @elastic/kibana-core packages/core/rendering/core-rendering-browser-mocks @elastic/kibana-core packages/core/rendering/core-rendering-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 16257931b20cf..e32e7b02617d8 100644 --- a/package.json +++ b/package.json @@ -367,7 +367,7 @@ "@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:packages/core/root/core-root-server-internal", + "@kbn/core-root-server-internal": "link:src/core/packages/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", 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/packages/core/root/core-root-server-internal/jest.config.js b/src/core/packages/root/server-internal/jest.config.js similarity index 84% rename from packages/core/root/core-root-server-internal/jest.config.js rename to src/core/packages/root/server-internal/jest.config.js index 3bdb94443629c..a9ace28a9b0a6 100644 --- a/packages/core/root/core-root-server-internal/jest.config.js +++ b/src/core/packages/root/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/root/core-root-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 8641db06acf1a..253c01f909c36 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -560,8 +560,8 @@ "@kbn/core-rendering-server-mocks/*": ["packages/core/rendering/core-rendering-server-mocks/*"], "@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": ["packages/core/root/core-root-server-internal"], - "@kbn/core-root-server-internal/*": ["packages/core/root/core-root-server-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": ["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"], diff --git a/yarn.lock b/yarn.lock index 9168d46a4c3e1..c68b1ab2f49ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4933,7 +4933,7 @@ 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 "" From 993292c2d3b8177cc5461124c2a8574388b4d644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:44:26 +0100 Subject: [PATCH 110/183] Relocating module `@kbn/core-saved-objects-api-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/saved-objects/api-browser}/README.md | 0 .../core/packages/saved-objects/api-browser}/index.ts | 0 .../core/packages/saved-objects/api-browser}/jest.config.js | 4 ++-- .../core/packages/saved-objects/api-browser}/kibana.jsonc | 0 .../core/packages/saved-objects/api-browser}/package.json | 0 .../core/packages/saved-objects/api-browser}/src/apis/base.ts | 0 .../saved-objects/api-browser}/src/apis/bulk_create.ts | 0 .../saved-objects/api-browser}/src/apis/bulk_delete.ts | 0 .../saved-objects/api-browser}/src/apis/bulk_resolve.ts | 0 .../saved-objects/api-browser}/src/apis/bulk_update.ts | 0 .../packages/saved-objects/api-browser}/src/apis/create.ts | 0 .../packages/saved-objects/api-browser}/src/apis/delete.ts | 0 .../core/packages/saved-objects/api-browser}/src/apis/find.ts | 0 .../packages/saved-objects/api-browser}/src/apis/index.ts | 0 .../packages/saved-objects/api-browser}/src/apis/resolve.ts | 0 .../packages/saved-objects/api-browser}/src/apis/update.ts | 0 .../saved-objects/api-browser}/src/saved_objects_client.ts | 0 .../saved-objects/api-browser}/src/simple_saved_object.ts | 0 .../core/packages/saved-objects/api-browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 23 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/saved-objects/core-saved-objects-api-browser => src/core/packages/saved-objects/api-browser}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6c70f9b4b7f13..f72b8b8f423c6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -103,7 +103,6 @@ packages/core/plugins/core-plugins-server-mocks @elastic/kibana-core packages/core/preboot/core-preboot-server-mocks @elastic/kibana-core packages/core/rendering/core-rendering-browser-mocks @elastic/kibana-core packages/core/rendering/core-rendering-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index e32e7b02617d8..0f8764ac349e7 100644 --- a/package.json +++ b/package.json @@ -368,7 +368,7 @@ "@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:packages/core/saved-objects/core-saved-objects-api-browser", + "@kbn/core-saved-objects-api-browser": "link:src/core/packages/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", 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/packages/core/saved-objects/core-saved-objects-api-browser/jest.config.js b/src/core/packages/saved-objects/api-browser/jest.config.js similarity index 82% rename from packages/core/saved-objects/core-saved-objects-api-browser/jest.config.js rename to src/core/packages/saved-objects/api-browser/jest.config.js index fe9cc7e366f24..2333ba74b821a 100644 --- a/packages/core/saved-objects/core-saved-objects-api-browser/jest.config.js +++ b/src/core/packages/saved-objects/api-browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-api-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index 253c01f909c36..9b76c650d4475 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -562,8 +562,8 @@ "@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": ["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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index c68b1ab2f49ee..1d2385fd8472e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4937,7 +4937,7 @@ 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 "" From d8ff3f8750cadd8f772f6d87a0ed22156d52b26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:45:59 +0100 Subject: [PATCH 111/183] Relocating module `@kbn/core-saved-objects-api-server` --- .github/CODEOWNERS | 2 +- docs/developer/advanced/sharing-saved-objects.asciidoc | 4 ++-- .../architecture/core/patterns-scoped-services.asciidoc | 2 +- package.json | 2 +- .../core/packages/saved-objects/api-server}/README.md | 0 .../core/packages/saved-objects/api-server}/index.ts | 0 .../core/packages/saved-objects/api-server}/jest.config.js | 4 ++-- .../core/packages/saved-objects/api-server}/kibana.jsonc | 0 .../core/packages/saved-objects/api-server}/package.json | 0 .../core/packages/saved-objects/api-server}/src/apis/base.ts | 0 .../saved-objects/api-server}/src/apis/bulk_create.ts | 0 .../saved-objects/api-server}/src/apis/bulk_delete.ts | 0 .../packages/saved-objects/api-server}/src/apis/bulk_get.ts | 0 .../saved-objects/api-server}/src/apis/bulk_resolve.ts | 0 .../saved-objects/api-server}/src/apis/bulk_update.ts | 0 .../saved-objects/api-server}/src/apis/check_conflicts.ts | 0 .../saved-objects/api-server}/src/apis/close_point_in_time.ts | 0 .../api-server}/src/apis/collect_multinamespace_references.ts | 0 .../packages/saved-objects/api-server}/src/apis/create.ts | 0 .../api-server}/src/apis/create_point_in_time_finder.ts | 0 .../packages/saved-objects/api-server}/src/apis/delete.ts | 0 .../saved-objects/api-server}/src/apis/delete_by_namespace.ts | 0 .../core/packages/saved-objects/api-server}/src/apis/find.ts | 0 .../core/packages/saved-objects/api-server}/src/apis/get.ts | 0 .../saved-objects/api-server}/src/apis/increment_counter.ts | 0 .../core/packages/saved-objects/api-server}/src/apis/index.ts | 0 .../api-server}/src/apis/open_point_in_time_for_type.ts | 0 .../api-server}/src/apis/remove_references_to.ts | 0 .../packages/saved-objects/api-server}/src/apis/resolve.ts | 0 .../packages/saved-objects/api-server}/src/apis/update.ts | 0 .../api-server}/src/apis/update_objects_spaces.ts | 0 .../saved-objects/api-server}/src/saved_objects_client.ts | 0 .../saved-objects/api-server}/src/saved_objects_repository.ts | 0 .../core/packages/saved-objects/api-server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/plugins/fleet/server/services/debug/index.ts | 2 +- yarn.lock | 2 +- 37 files changed, 12 insertions(+), 12 deletions(-) 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/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/jest.config.js (82%) 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 (100%) rename {packages/core/saved-objects/core-saved-objects-api-server => src/core/packages/saved-objects/api-server}/tsconfig.json (83%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f72b8b8f423c6..3a1ed52bc1969 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -103,7 +103,6 @@ packages/core/plugins/core-plugins-server-mocks @elastic/kibana-core packages/core/preboot/core-preboot-server-mocks @elastic/kibana-core packages/core/rendering/core-rendering-browser-mocks @elastic/kibana-core packages/core/rendering/core-rendering-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/advanced/sharing-saved-objects.asciidoc b/docs/developer/advanced/sharing-saved-objects.asciidoc index 27fe81702cd2a..689a2e595b187 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: diff --git a/docs/developer/architecture/core/patterns-scoped-services.asciidoc b/docs/developer/architecture/core/patterns-scoped-services.asciidoc index 94ea598850b84..51b6ecba5cdbe 100644 --- a/docs/developer/architecture/core/patterns-scoped-services.asciidoc +++ b/docs/developer/architecture/core/patterns-scoped-services.asciidoc @@ -18,7 +18,7 @@ async function handler(context, req, res) { 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/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`] diff --git a/package.json b/package.json index 0f8764ac349e7..9ab7aa06325a4 100644 --- a/package.json +++ b/package.json @@ -369,7 +369,7 @@ "@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:packages/core/saved-objects/core-saved-objects-api-server", + "@kbn/core-saved-objects-api-server": "link:src/core/packages/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", 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/saved-objects/core-saved-objects-api-server/jest.config.js b/src/core/packages/saved-objects/api-server/jest.config.js similarity index 82% rename from packages/core/saved-objects/core-saved-objects-api-server/jest.config.js rename to src/core/packages/saved-objects/api-server/jest.config.js index 9851e9c771715..f1724f3a65e80 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/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/saved-objects/core-saved-objects-api-server'], + 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 100% 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 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/tsconfig.base.json b/tsconfig.base.json index 9b76c650d4475..becfa5d4f3681 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -564,8 +564,8 @@ "@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": ["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": ["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": ["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-saved-objects-api-server-mocks": ["packages/core/saved-objects/core-saved-objects-api-server-mocks"], diff --git a/x-pack/plugins/fleet/server/services/debug/index.ts b/x-pack/plugins/fleet/server/services/debug/index.ts index b0e9d7167f1a4..d1239861b33f9 100644 --- a/x-pack/plugins/fleet/server/services/debug/index.ts +++ b/x-pack/plugins/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/yarn.lock b/yarn.lock index 1d2385fd8472e..4b7e821f3042f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4949,7 +4949,7 @@ 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 "" From 756b705c13f9ca92a3b063c69fa559584beeb32f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:47:37 +0100 Subject: [PATCH 112/183] Relocating module `@kbn/core-saved-objects-api-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/saved-objects/api-server-internal}/README.md | 0 .../core/packages/saved-objects/api-server-internal}/index.ts | 0 .../saved-objects/api-server-internal}/jest.config.js | 4 ++-- .../packages/saved-objects/api-server-internal}/kibana.jsonc | 0 .../packages/saved-objects/api-server-internal}/package.json | 0 .../packages/saved-objects/api-server-internal}/src/index.ts | 0 .../api-server-internal}/src/lib/apis/bulk_create.test.ts | 0 .../api-server-internal}/src/lib/apis/bulk_create.ts | 0 .../api-server-internal}/src/lib/apis/bulk_delete.test.ts | 0 .../api-server-internal}/src/lib/apis/bulk_delete.ts | 0 .../src/lib/apis/bulk_get.isolated.test.mocks.ts | 0 .../src/lib/apis/bulk_get.isolated.test.ts | 0 .../api-server-internal}/src/lib/apis/bulk_get.test.ts | 0 .../api-server-internal}/src/lib/apis/bulk_get.ts | 0 .../api-server-internal}/src/lib/apis/bulk_resolve.test.ts | 0 .../api-server-internal}/src/lib/apis/bulk_resolve.ts | 0 .../api-server-internal}/src/lib/apis/bulk_update.test.ts | 0 .../api-server-internal}/src/lib/apis/bulk_update.ts | 0 .../api-server-internal}/src/lib/apis/check_conflicts.test.ts | 0 .../api-server-internal}/src/lib/apis/check_conflicts.ts | 0 .../src/lib/apis/collect_multinamespace_references.test.ts | 0 .../src/lib/apis/collect_multinamespaces_references.ts | 0 .../api-server-internal}/src/lib/apis/create.test.ts | 0 .../saved-objects/api-server-internal}/src/lib/apis/create.ts | 0 .../api-server-internal}/src/lib/apis/delete.test.ts | 0 .../saved-objects/api-server-internal}/src/lib/apis/delete.ts | 0 .../src/lib/apis/delete_by_namespace.test.ts | 0 .../api-server-internal}/src/lib/apis/delete_by_namespace.ts | 0 .../src/lib/apis/find.isolated.test.mocks.ts | 0 .../api-server-internal}/src/lib/apis/find.isolated.test.ts | 0 .../api-server-internal}/src/lib/apis/find.test.ts | 0 .../saved-objects/api-server-internal}/src/lib/apis/find.ts | 0 .../src/lib/apis/get.isolated.test.mocks.ts | 0 .../api-server-internal}/src/lib/apis/get.isolated.test.ts | 0 .../api-server-internal}/src/lib/apis/get.test.ts | 0 .../saved-objects/api-server-internal}/src/lib/apis/get.ts | 0 .../api-server-internal}/src/lib/apis/helpers/common.ts | 0 .../api-server-internal}/src/lib/apis/helpers/encryption.ts | 0 .../api-server-internal}/src/lib/apis/helpers/index.ts | 0 .../src/lib/apis/helpers/migration.test.ts | 0 .../api-server-internal}/src/lib/apis/helpers/migration.ts | 0 .../src/lib/apis/helpers/preflight_check.ts | 0 .../api-server-internal}/src/lib/apis/helpers/serializer.ts | 0 .../api-server-internal}/src/lib/apis/helpers/user.ts | 0 .../src/lib/apis/helpers/validation.test.ts | 0 .../api-server-internal}/src/lib/apis/helpers/validation.ts | 0 .../src/lib/apis/helpers/validation_fixtures.ts | 0 .../src/lib/apis/increment_counter.test.ts | 0 .../api-server-internal}/src/lib/apis/increment_counter.ts | 0 .../saved-objects/api-server-internal}/src/lib/apis/index.ts | 0 .../internals/collect_multi_namespace_references.test.mock.ts | 0 .../apis/internals/collect_multi_namespace_references.test.ts | 0 .../lib/apis/internals/collect_multi_namespace_references.ts | 0 .../lib/apis/internals/delete_legacy_url_aliases.test.mock.ts | 0 .../src/lib/apis/internals/delete_legacy_url_aliases.test.ts | 0 .../src/lib/apis/internals/delete_legacy_url_aliases.ts | 0 .../src/lib/apis/internals/find_legacy_url_aliases.test.ts | 0 .../src/lib/apis/internals/find_legacy_url_aliases.ts | 0 .../src/lib/apis/internals/increment_counter_internal.ts | 0 .../api-server-internal}/src/lib/apis/internals/index.ts | 0 .../src/lib/apis/internals/internal_bulk_resolve.test.mock.ts | 0 .../src/lib/apis/internals/internal_bulk_resolve.test.ts | 0 .../src/lib/apis/internals/internal_bulk_resolve.ts | 0 .../apis/internals/preflight_check_for_create.test.mock.ts | 0 .../src/lib/apis/internals/preflight_check_for_create.test.ts | 0 .../src/lib/apis/internals/preflight_check_for_create.ts | 0 .../apis/internals/repository_bulk_delete_internal_types.ts | 0 .../src/lib/apis/internals/update_objects_spaces.test.mock.ts | 0 .../src/lib/apis/internals/update_objects_spaces.test.ts | 0 .../src/lib/apis/internals/update_objects_spaces.ts | 0 .../src/lib/apis/open_point_in_time.test.ts | 0 .../api-server-internal}/src/lib/apis/open_point_in_time.ts | 0 .../src/lib/apis/remove_references_to.test.ts | 0 .../api-server-internal}/src/lib/apis/remove_references_to.ts | 0 .../api-server-internal}/src/lib/apis/resolve.test.ts | 0 .../api-server-internal}/src/lib/apis/resolve.ts | 0 .../saved-objects/api-server-internal}/src/lib/apis/types.ts | 0 .../api-server-internal}/src/lib/apis/update.test.ts | 0 .../saved-objects/api-server-internal}/src/lib/apis/update.ts | 0 .../src/lib/apis/update_objects_spaces.test.ts | 0 .../src/lib/apis/update_objects_spaces.ts | 0 .../api-server-internal}/src/lib/apis/utils/either.ts | 0 .../api-server-internal}/src/lib/apis/utils/es_responses.ts | 0 .../src/lib/apis/utils/find_shared_origin_objects.test.ts | 0 .../src/lib/apis/utils/find_shared_origin_objects.ts | 0 .../api-server-internal}/src/lib/apis/utils/index.ts | 0 .../src/lib/apis/utils/internal_utils.test.ts | 0 .../api-server-internal}/src/lib/apis/utils/internal_utils.ts | 0 .../src/lib/apis/utils/merge_for_update.test.ts | 0 .../src/lib/apis/utils/merge_for_update.ts | 0 .../saved-objects/api-server-internal}/src/lib/constants.ts | 0 .../saved-objects/api-server-internal}/src/lib/index.ts | 0 .../api-server-internal}/src/lib/point_in_time_finder.test.ts | 0 .../api-server-internal}/src/lib/point_in_time_finder.ts | 0 .../src/lib/repository.encryption_extension.test.ts | 0 .../src/lib/repository.security_extension.test.ts | 0 .../src/lib/repository.spaces_extension.test.ts | 0 .../api-server-internal}/src/lib/repository.test.mock.ts | 0 .../api-server-internal}/src/lib/repository.test.ts | 0 .../saved-objects/api-server-internal}/src/lib/repository.ts | 0 .../src/lib/repository_create_repository.test.ts | 0 .../src/lib/repository_es_client.test.mock.ts | 0 .../api-server-internal}/src/lib/repository_es_client.test.ts | 0 .../api-server-internal}/src/lib/repository_es_client.ts | 0 .../src/lib/scoped_client_provider.test.ts | 0 .../api-server-internal}/src/lib/scoped_client_provider.ts | 0 .../src/lib/search/aggregations/aggs_types/bucket_aggs.ts | 0 .../src/lib/search/aggregations/aggs_types/common_schemas.ts | 0 .../src/lib/search/aggregations/aggs_types/index.ts | 0 .../src/lib/search/aggregations/aggs_types/metrics_aggs.ts | 0 .../src/lib/search/aggregations/aggs_types/pipeline_aggs.ts | 0 .../src/lib/search/aggregations/aggs_types/schemas.test.ts | 0 .../api-server-internal}/src/lib/search/aggregations/index.ts | 0 .../src/lib/search/aggregations/validation.test.ts | 0 .../src/lib/search/aggregations/validation.ts | 0 .../src/lib/search/aggregations/validation_utils.test.ts | 0 .../src/lib/search/aggregations/validation_utils.ts | 0 .../api-server-internal}/src/lib/search/index.ts | 0 .../search_dsl/__snapshots__/sorting_params.test.ts.snap | 0 .../api-server-internal}/src/lib/search/search_dsl/index.ts | 0 .../src/lib/search/search_dsl/pit_params.test.ts | 0 .../src/lib/search/search_dsl/pit_params.ts | 0 .../src/lib/search/search_dsl/query_params.test.ts | 0 .../src/lib/search/search_dsl/query_params.tests.mocks.ts | 0 .../src/lib/search/search_dsl/query_params.ts | 0 .../src/lib/search/search_dsl/references_filter.test.ts | 0 .../src/lib/search/search_dsl/references_filter.ts | 0 .../src/lib/search/search_dsl/search_dsl.test.ts | 0 .../src/lib/search/search_dsl/search_dsl.ts | 0 .../src/lib/search/search_dsl/sorting_params.test.ts | 0 .../src/lib/search/search_dsl/sorting_params.ts | 0 .../src/lib/search/utils/filter_utils.test.ts | 0 .../api-server-internal}/src/lib/search/utils/filter_utils.ts | 0 .../api-server-internal}/src/lib/search/utils/index.ts | 0 .../api-server-internal}/src/lib/utils/create_helpers.ts | 0 .../src/lib/utils/decorate_es_error.test.ts | 0 .../api-server-internal}/src/lib/utils/decorate_es_error.ts | 0 .../src/lib/utils/included_fields.test.ts | 0 .../api-server-internal}/src/lib/utils/included_fields.ts | 0 .../saved-objects/api-server-internal}/src/lib/utils/index.ts | 0 .../api-server-internal}/src/lib/utils/update_utils.ts | 0 .../api-server-internal}/src/mocks/api_context.mock.ts | 0 .../api-server-internal}/src/mocks/api_helpers.mocks.ts | 0 .../saved-objects/api-server-internal}/src/mocks/helpers.ts | 0 .../saved-objects/api-server-internal}/src/mocks/index.ts | 0 .../api-server-internal}/src/mocks/kibana_migrator.mock.ts | 0 .../api-server-internal}/src/mocks/migrator.mock.ts | 0 .../src/mocks/point_in_time_finder.mock.ts | 0 .../api-server-internal}/src/mocks/repository.mock.ts | 0 .../src/mocks/saved_objects_extensions.mock.ts | 0 .../api-server-internal}/src/saved_objects_client.test.ts | 0 .../api-server-internal}/src/saved_objects_client.ts | 0 .../src/test_helpers/repository.test.common.ts | 0 .../packages/saved-objects/api-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 158 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/saved-objects/core-saved-objects-api-server-internal => src/core/packages/saved-objects/api-server-internal}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3a1ed52bc1969..1b27e9f88a0eb 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -103,7 +103,6 @@ packages/core/plugins/core-plugins-server-mocks @elastic/kibana-core packages/core/preboot/core-preboot-server-mocks @elastic/kibana-core packages/core/rendering/core-rendering-browser-mocks @elastic/kibana-core packages/core/rendering/core-rendering-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 9ab7aa06325a4..a02f2f0d753ae 100644 --- a/package.json +++ b/package.json @@ -370,7 +370,7 @@ "@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: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", "@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", 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/packages/core/saved-objects/core-saved-objects-api-server-internal/jest.config.js b/src/core/packages/saved-objects/api-server-internal/jest.config.js similarity index 81% rename from packages/core/saved-objects/core-saved-objects-api-server-internal/jest.config.js rename to src/core/packages/saved-objects/api-server-internal/jest.config.js index 5c1a922b47336..66d06749ceb7b 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-internal/jest.config.js +++ b/src/core/packages/saved-objects/api-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-api-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index becfa5d4f3681..853d118f49778 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -566,8 +566,8 @@ "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 4b7e821f3042f..90e8aa69ed70d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4941,7 +4941,7 @@ 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 "" From 97b9a8e47e95c9c3772ef808d2f5656fea6ac770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:49:11 +0100 Subject: [PATCH 113/183] Relocating module `@kbn/core-saved-objects-base-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/saved-objects/base-server-internal}/README.md | 0 .../packages/saved-objects/base-server-internal}/index.ts | 0 .../saved-objects/base-server-internal}/jest.config.js | 4 ++-- .../packages/saved-objects/base-server-internal}/kibana.jsonc | 0 .../packages/saved-objects/base-server-internal}/package.json | 0 .../saved-objects/base-server-internal}/src/constants.ts | 0 .../base-server-internal}/src/legacy_alias/constants.ts | 0 .../base-server-internal}/src/legacy_alias/index.ts | 0 .../base-server-internal}/src/legacy_alias/types.ts | 0 .../saved-objects/base-server-internal}/src/mappings/index.ts | 0 .../src/mappings/lib/get_property.test.ts | 0 .../base-server-internal}/src/mappings/lib/get_property.ts | 0 .../src/mappings/lib/get_root_properties.ts | 0 .../src/mappings/lib/get_root_properties_objects.test.ts | 0 .../src/mappings/lib/get_root_properties_objects.ts | 0 .../base-server-internal}/src/mappings/lib/get_types.ts | 0 .../base-server-internal}/src/mappings/lib/index.ts | 0 .../saved-objects/base-server-internal}/src/mappings/types.ts | 0 .../base-server-internal}/src/migration/document_migrator.ts | 0 .../base-server-internal}/src/migration/index.ts | 0 .../base-server-internal}/src/migration/kibana_migrator.ts | 0 .../src/model_version/aggregate_model_changes.test.ts | 0 .../src/model_version/aggregate_model_changes.ts | 0 .../src/model_version/backward_conversion_schema.test.ts | 0 .../src/model_version/backward_conversion_schema.ts | 0 .../src/model_version/build_transform_fn.test.ts | 0 .../src/model_version/build_transform_fn.ts | 0 .../base-server-internal}/src/model_version/constants.ts | 0 .../src/model_version/conversion.test.ts | 0 .../base-server-internal}/src/model_version/conversion.ts | 0 .../src/model_version/get_version_delta.test.ts | 0 .../src/model_version/get_version_delta.ts | 0 .../base-server-internal}/src/model_version/index.ts | 0 .../src/model_version/model_version_from_mappings.test.ts | 0 .../src/model_version/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 .../base-server-internal}/src/model_version/version_map.ts | 0 .../src/model_version/version_mapping_changes.test.ts | 0 .../src/model_version/version_mapping_changes.ts | 0 .../base-server-internal}/src/saved_objects_config.ts | 0 .../src/saved_objects_type_registry.test.ts | 0 .../base-server-internal}/src/saved_objects_type_registry.ts | 0 .../base-server-internal}/src/serialization/index.ts | 0 .../src/serialization/serializer.test.ts | 0 .../base-server-internal}/src/serialization/serializer.ts | 0 .../base-server-internal}/src/utils/get_field_list.test.ts | 0 .../base-server-internal}/src/utils/get_field_list.ts | 0 .../src/utils/get_index_for_type.test.ts | 0 .../base-server-internal}/src/utils/get_index_for_type.ts | 0 .../saved-objects/base-server-internal}/src/utils/index.ts | 0 .../base-server-internal}/src/utils/object_key.test.ts | 0 .../base-server-internal}/src/utils/object_key.ts | 0 .../base-server-internal}/src/validation/index.ts | 0 .../base-server-internal}/src/validation/schema.test.ts | 0 .../base-server-internal}/src/validation/schema.ts | 0 .../base-server-internal}/src/validation/validator.test.ts | 0 .../base-server-internal}/src/validation/validator.ts | 0 .../saved-objects/base-server-internal}/src/version/base64.ts | 0 .../src/version/decode_request_version.test.ts | 0 .../src/version/decode_request_version.ts | 0 .../base-server-internal}/src/version/decode_version.test.ts | 0 .../base-server-internal}/src/version/decode_version.ts | 0 .../src/version/encode_hit_version.test.ts | 0 .../base-server-internal}/src/version/encode_hit_version.ts | 0 .../base-server-internal}/src/version/encode_version.test.ts | 0 .../base-server-internal}/src/version/encode_version.ts | 0 .../saved-objects/base-server-internal}/src/version/index.ts | 0 .../saved-objects/base-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 74 files changed, 8 insertions(+), 8 deletions(-) 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/saved-objects/core-saved-objects-base-server-internal => src/core/packages/saved-objects/base-server-internal}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1b27e9f88a0eb..3e0272a7cbbde 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -104,7 +104,6 @@ packages/core/preboot/core-preboot-server-mocks @elastic/kibana-core packages/core/rendering/core-rendering-browser-mocks @elastic/kibana-core packages/core/rendering/core-rendering-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index a02f2f0d753ae..913332b0df2d7 100644 --- a/package.json +++ b/package.json @@ -371,7 +371,7 @@ "@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: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", "@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", 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/saved-objects/core-saved-objects-base-server-internal/jest.config.js b/src/core/packages/saved-objects/base-server-internal/jest.config.js similarity index 81% rename from packages/core/saved-objects/core-saved-objects-base-server-internal/jest.config.js rename to src/core/packages/saved-objects/base-server-internal/jest.config.js index 5fe7fa0dd07b2..89d3b4c405584 100644 --- a/packages/core/saved-objects/core-saved-objects-base-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/saved-objects/core-saved-objects-base-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/tsconfig.base.json b/tsconfig.base.json index 853d118f49778..bbc09c50c0082 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -570,8 +570,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index 90e8aa69ed70d..099647d9fc606 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4953,7 +4953,7 @@ 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 "" From cd65e5844f39eb7b7e06cbe052a6897f40208b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:50:50 +0100 Subject: [PATCH 114/183] Relocating module `@kbn/core-saved-objects-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/saved-objects/browser}/README.md | 0 .../core/packages/saved-objects/browser}/index.ts | 0 .../core/packages/saved-objects/browser}/jest.config.js | 4 ++-- .../core/packages/saved-objects/browser}/kibana.jsonc | 0 .../core/packages/saved-objects/browser}/package.json | 0 .../core/packages/saved-objects/browser}/src/contracts.ts | 0 .../core/packages/saved-objects/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/saved-objects/core-saved-objects-browser => src/core/packages/saved-objects/browser}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3e0272a7cbbde..885bb649293e9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -105,7 +105,6 @@ packages/core/rendering/core-rendering-browser-mocks @elastic/kibana-core packages/core/rendering/core-rendering-server-mocks @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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 913332b0df2d7..4313bb69aaaaf 100644 --- a/package.json +++ b/package.json @@ -372,7 +372,7 @@ "@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:packages/core/saved-objects/core-saved-objects-browser", + "@kbn/core-saved-objects-browser": "link:src/core/packages/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", 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/packages/core/saved-objects/core-saved-objects-browser/jest.config.js b/src/core/packages/saved-objects/browser/jest.config.js similarity index 83% rename from packages/core/saved-objects/core-saved-objects-browser/jest.config.js rename to src/core/packages/saved-objects/browser/jest.config.js index 65b640763e840..c62c6007cd6e1 100644 --- a/packages/core/saved-objects/core-saved-objects-browser/jest.config.js +++ b/src/core/packages/saved-objects/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index bbc09c50c0082..4150feb876c1c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -574,8 +574,8 @@ "@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": ["src/core/packages/saved-objects/browser"], + "@kbn/core-saved-objects-browser/*": ["src/core/packages/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-mocks": ["packages/core/saved-objects/core-saved-objects-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 099647d9fc606..1339e3ffef654 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4969,7 +4969,7 @@ 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 "" From 12eb04171e0d767719428fce2bc6721e45d581fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:52:27 +0100 Subject: [PATCH 115/183] Relocating module `@kbn/core-saved-objects-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/saved-objects/browser-internal}/README.md | 0 .../core/packages/saved-objects/browser-internal}/index.ts | 0 .../packages/saved-objects/browser-internal}/jest.config.js | 4 ++-- .../packages/saved-objects/browser-internal}/kibana.jsonc | 0 .../packages/saved-objects/browser-internal}/package.json | 0 .../browser-internal}/src/saved_objects_client.test.ts | 0 .../browser-internal}/src/saved_objects_client.ts | 0 .../browser-internal}/src/saved_objects_service.ts | 0 .../browser-internal}/src/simple_saved_object.test.ts | 0 .../browser-internal}/src/simple_saved_object.ts | 0 .../packages/saved-objects/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/saved-objects/core-saved-objects-browser-internal => src/core/packages/saved-objects/browser-internal}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 885bb649293e9..067a7c6d57c86 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -105,7 +105,6 @@ packages/core/rendering/core-rendering-browser-mocks @elastic/kibana-core packages/core/rendering/core-rendering-server-mocks @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-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 4313bb69aaaaf..fe49dde77f05b 100644 --- a/package.json +++ b/package.json @@ -373,7 +373,7 @@ "@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:packages/core/saved-objects/core-saved-objects-browser-internal", + "@kbn/core-saved-objects-browser-internal": "link:src/core/packages/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", 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/packages/core/saved-objects/core-saved-objects-browser-internal/jest.config.js b/src/core/packages/saved-objects/browser-internal/jest.config.js similarity index 81% rename from packages/core/saved-objects/core-saved-objects-browser-internal/jest.config.js rename to src/core/packages/saved-objects/browser-internal/jest.config.js index a56574b5d5db3..55dad3a27978d 100644 --- a/packages/core/saved-objects/core-saved-objects-browser-internal/jest.config.js +++ b/src/core/packages/saved-objects/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 4150feb876c1c..af68974d6c22e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -576,8 +576,8 @@ "@kbn/core-saved-objects-base-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-base-server-mocks/*"], "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 1339e3ffef654..d98ddcfa49df5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4961,7 +4961,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 "" From 4c6a4752e432fe21f7287df6e70442e9fa6ac6e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:54:02 +0100 Subject: [PATCH 116/183] Relocating module `@kbn/core-saved-objects-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/saved-objects/common}/README.md | 0 .../core/packages/saved-objects/common}/index.ts | 0 .../core/packages/saved-objects/common}/jest.config.js | 4 ++-- .../core/packages/saved-objects/common}/kibana.jsonc | 0 .../core/packages/saved-objects/common}/package.json | 0 .../core/packages/saved-objects/common}/src/saved_objects.ts | 0 .../saved-objects/common}/src/saved_objects_imports.ts | 0 .../core/packages/saved-objects/common}/src/server_types.ts | 0 .../core/packages/saved-objects/common}/src/types.ts | 0 .../core/packages/saved-objects/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/jest.config.js (83%) 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%) rename {packages/core/saved-objects/core-saved-objects-common => src/core/packages/saved-objects/common}/tsconfig.json (78%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 067a7c6d57c86..fe0d58dea2e6c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -106,7 +106,6 @@ packages/core/rendering/core-rendering-server-mocks @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-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index fe49dde77f05b..88791af8c9f38 100644 --- a/package.json +++ b/package.json @@ -374,7 +374,7 @@ "@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:packages/core/saved-objects/core-saved-objects-common", + "@kbn/core-saved-objects-common": "link:src/core/packages/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", 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/packages/core/saved-objects/core-saved-objects-common/jest.config.js b/src/core/packages/saved-objects/common/jest.config.js similarity index 83% rename from packages/core/saved-objects/core-saved-objects-common/jest.config.js rename to src/core/packages/saved-objects/common/jest.config.js index d35aa938edac9..8e6d138939682 100644 --- a/packages/core/saved-objects/core-saved-objects-common/jest.config.js +++ b/src/core/packages/saved-objects/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-common'], + 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/packages/core/saved-objects/core-saved-objects-common/tsconfig.json b/src/core/packages/saved-objects/common/tsconfig.json similarity index 78% rename from packages/core/saved-objects/core-saved-objects-common/tsconfig.json rename to src/core/packages/saved-objects/common/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/saved-objects/core-saved-objects-common/tsconfig.json +++ b/src/core/packages/saved-objects/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index af68974d6c22e..aa101e01b8aac 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -580,8 +580,8 @@ "@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-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": ["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-import-export-server-mocks": ["packages/core/saved-objects/core-saved-objects-import-export-server-mocks"], diff --git a/yarn.lock b/yarn.lock index d98ddcfa49df5..84fb41d4c8b3f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4973,7 +4973,7 @@ 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 "" From 4d968f1cda0e0c7501ae71a9ccb988a80fd1ee2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:55:36 +0100 Subject: [PATCH 117/183] Relocating module `@kbn/core-saved-objects-import-export-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../saved-objects/import-export-server-internal}/README.md | 0 .../saved-objects/import-export-server-internal}/index.ts | 0 .../import-export-server-internal}/jest.config.js | 4 ++-- .../saved-objects/import-export-server-internal}/kibana.jsonc | 0 .../saved-objects/import-export-server-internal}/package.json | 0 .../src/export/apply_export_transforms.test.ts | 0 .../src/export/apply_export_transforms.ts | 0 .../src/export/collect_exported_objects.test.mocks.ts | 0 .../src/export/collect_exported_objects.test.ts | 0 .../src/export/collect_exported_objects.ts | 0 .../import-export-server-internal}/src/export/constants.ts | 0 .../import-export-server-internal}/src/export/errors.ts | 0 .../import-export-server-internal}/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 .../import-export-server-internal}/src/export/sort_objects.ts | 0 .../import-export-server-internal}/src/export/utils.test.ts | 0 .../import-export-server-internal}/src/export/utils.ts | 0 .../import-export-server-internal}/src/import/errors.ts | 0 .../src/import/import_saved_objects.test.mock.ts | 0 .../src/import/import_saved_objects.test.ts | 0 .../src/import/import_saved_objects.ts | 0 .../import-export-server-internal}/src/import/index.ts | 0 .../src/import/lib/check_conflicts.test.ts | 0 .../src/import/lib/check_conflicts.ts | 0 .../src/import/lib/check_origin_conflicts.test.mock.ts | 0 .../src/import/lib/check_origin_conflicts.test.ts | 0 .../src/import/lib/check_origin_conflicts.ts | 0 .../src/import/lib/check_reference_origins.test.mock.ts | 0 .../src/import/lib/check_reference_origins.test.ts | 0 .../src/import/lib/check_reference_origins.ts | 0 .../src/import/lib/collect_saved_objects.test.ts | 0 .../src/import/lib/collect_saved_objects.ts | 0 .../src/import/lib/create_limit_stream.test.ts | 0 .../src/import/lib/create_limit_stream.ts | 0 .../src/import/lib/create_objects_filter.test.ts | 0 .../src/import/lib/create_objects_filter.ts | 0 .../src/import/lib/create_saved_objects.test.ts | 0 .../src/import/lib/create_saved_objects.ts | 0 .../src/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 .../src/import/lib/get_import_state_map_for_retries.test.ts | 0 .../src/import/lib/get_import_state_map_for_retries.ts | 0 .../src/import/lib/get_non_unique_entries.test.ts | 0 .../src/import/lib/get_non_unique_entries.ts | 0 .../import-export-server-internal}/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 .../import-export-server-internal}/src/import/lib/types.ts | 0 .../src/import/lib/utils.test.ts | 0 .../import-export-server-internal}/src/import/lib/utils.ts | 0 .../src/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 .../src/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 .../import-export-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 69 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/saved-objects/core-saved-objects-import-export-server-internal => src/core/packages/saved-objects/import-export-server-internal}/jest.config.js (80%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fe0d58dea2e6c..7303260413e9d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -106,7 +106,6 @@ packages/core/rendering/core-rendering-server-mocks @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-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 88791af8c9f38..8f949fa58d242 100644 --- a/package.json +++ b/package.json @@ -375,7 +375,7 @@ "@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: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", "@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", 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/packages/core/saved-objects/core-saved-objects-import-export-server-internal/jest.config.js b/src/core/packages/saved-objects/import-export-server-internal/jest.config.js similarity index 80% rename from packages/core/saved-objects/core-saved-objects-import-export-server-internal/jest.config.js rename to src/core/packages/saved-objects/import-export-server-internal/jest.config.js index 7ba02dc3f6782..2dc64cd3d45ce 100644 --- a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/jest.config.js +++ b/src/core/packages/saved-objects/import-export-server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-import-export-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index aa101e01b8aac..7066a76aa7e58 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -582,8 +582,8 @@ "@kbn/core-saved-objects-browser-mocks/*": ["packages/core/saved-objects/core-saved-objects-browser-mocks/*"], "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 84fb41d4c8b3f..de525598fbe4a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4977,7 +4977,7 @@ 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 "" From 8c1842c6521e0f560b1dfef9b97cbc1f2a4ce87d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:57:02 +0100 Subject: [PATCH 118/183] Relocating module `@kbn/core-saved-objects-migration-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../saved-objects/migration-server-internal}/README.md | 0 .../saved-objects/migration-server-internal}/index.ts | 0 .../saved-objects/migration-server-internal}/jest.config.js | 4 ++-- .../saved-objects/migration-server-internal}/kibana.jsonc | 0 .../saved-objects/migration-server-internal}/package.json | 0 .../saved-objects/migration-server-internal}/src/README.md | 0 .../__snapshots__/get_outdated_documents_query.test.ts.snap | 0 .../src/__snapshots__/kibana_migrator.test.ts.snap | 0 .../migrations_state_action_machine.test.ts.snap | 0 .../src/actions/bulk_overwrite_transformed_documents.test.ts | 0 .../src/actions/bulk_overwrite_transformed_documents.ts | 0 .../src/actions/calculate_exclude_filters.test.ts | 0 .../src/actions/calculate_exclude_filters.ts | 0 .../src/actions/catch_retryable_es_client_errors.test.ts | 0 .../src/actions/catch_retryable_es_client_errors.ts | 0 .../src/actions/check_cluster_routing_allocation.test.ts | 0 .../src/actions/check_cluster_routing_allocation.ts | 0 .../src/actions/check_for_unknown_docs.mocks.ts | 0 .../src/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 .../src/actions/cleanup_unknown_and_excluded.mocks.ts | 0 .../src/actions/cleanup_unknown_and_excluded.test.ts | 0 .../src/actions/cleanup_unknown_and_excluded.ts | 0 .../src/actions/clone_index.test.ts | 0 .../migration-server-internal}/src/actions/clone_index.ts | 0 .../migration-server-internal}/src/actions/close_pit.test.ts | 0 .../migration-server-internal}/src/actions/close_pit.ts | 0 .../migration-server-internal}/src/actions/constants.ts | 0 .../src/actions/create_index.test.ts | 0 .../migration-server-internal}/src/actions/create_index.ts | 0 .../src/actions/delete_by_query.test.ts | 0 .../migration-server-internal}/src/actions/delete_by_query.ts | 0 .../migration-server-internal}/src/actions/es_errors.test.ts | 0 .../migration-server-internal}/src/actions/es_errors.ts | 0 .../src/actions/fetch_indices.test.ts | 0 .../migration-server-internal}/src/actions/fetch_indices.ts | 0 .../migration-server-internal}/src/actions/index.ts | 0 .../migration-server-internal}/src/actions/open_pit.test.ts | 0 .../migration-server-internal}/src/actions/open_pit.ts | 0 .../src/actions/pickup_updated_mappings.test.ts | 0 .../src/actions/pickup_updated_mappings.ts | 0 .../src/actions/read_with_pit.test.ts | 0 .../migration-server-internal}/src/actions/read_with_pit.ts | 0 .../src/actions/refresh_index.test.ts | 0 .../migration-server-internal}/src/actions/refresh_index.ts | 0 .../migration-server-internal}/src/actions/reindex.test.ts | 0 .../migration-server-internal}/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 .../migration-server-internal}/src/actions/set_write_block.ts | 0 .../src/actions/synchronize_migrators.test.ts | 0 .../src/actions/synchronize_migrators.ts | 0 .../migration-server-internal}/src/actions/transform_docs.ts | 0 .../src/actions/update_aliases.test.ts | 0 .../migration-server-internal}/src/actions/update_aliases.ts | 0 .../src/actions/update_and_pickup_mappings.test.ts | 0 .../src/actions/update_and_pickup_mappings.ts | 0 .../src/actions/update_mappings.test.ts | 0 .../migration-server-internal}/src/actions/update_mappings.ts | 0 .../src/actions/update_source_mappings_properties.test.ts | 0 .../src/actions/update_source_mappings_properties.ts | 0 .../src/actions/wait_for_delete_by_query_task.test.ts | 0 .../src/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 .../src/actions/wait_for_pickup_updated_mappings_task.test.ts | 0 .../src/actions/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 .../migration-server-internal}/src/actions/wait_for_task.ts | 0 .../migration-server-internal}/src/common/constants.ts | 0 .../migration-server-internal}/src/common/redact_state.ts | 0 .../migration-server-internal}/src/common/utils/delay.test.ts | 0 .../migration-server-internal}/src/common/utils/delay.ts | 0 .../migration-server-internal}/src/common/utils/index.ts | 0 .../migration-server-internal}/src/common/utils/logs.test.ts | 0 .../migration-server-internal}/src/common/utils/logs.ts | 0 .../src/core/__snapshots__/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 .../migration-server-internal}/src/core/build_index_map.ts | 0 .../src/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 .../migration-server-internal}/src/core/compare_mappings.ts | 0 .../migration-server-internal}/src/core/diff_mappings.test.ts | 0 .../migration-server-internal}/src/core/diff_mappings.ts | 0 .../migration-server-internal}/src/core/index.ts | 0 .../src/core/migrate_raw_docs.test.ts | 0 .../migration-server-internal}/src/core/migrate_raw_docs.ts | 0 .../migration-server-internal}/src/core/migration_logger.ts | 0 .../src/core/regenerate_object_id.ts | 0 .../src/core/transform_saved_object_document_error.test.ts | 0 .../src/core/transform_saved_object_document_error.ts | 0 .../migration-server-internal}/src/core/unused_types.ts | 0 .../document_migrator/build_active_migrations.test.mocks.ts | 0 .../src/document_migrator/build_active_migrations.test.ts | 0 .../src/document_migrator/build_active_migrations.ts | 0 .../src/document_migrator/document_migrator.test.mock.ts | 0 .../src/document_migrator/document_migrator.test.ts | 0 .../src/document_migrator/document_migrator.ts | 0 .../migration-server-internal}/src/document_migrator/index.ts | 0 .../src/document_migrator/internal_transforms.ts | 0 .../src/document_migrator/migrations/index.ts | 0 .../migrations/transform_migration_version.test.ts | 0 .../migrations/transform_migration_version.ts | 0 .../migrations/transform_set_managed_default.test.ts | 0 .../migrations/transform_set_managed_default.ts | 0 .../src/document_migrator/model_version.test.mocks.ts | 0 .../src/document_migrator/model_version.test.ts | 0 .../src/document_migrator/model_version.ts | 0 .../document_migrator/pipelines/downgrade_pipeline.test.ts | 0 .../src/document_migrator/pipelines/downgrade_pipeline.ts | 0 .../src/document_migrator/pipelines/index.ts | 0 .../src/document_migrator/pipelines/types.ts | 0 .../src/document_migrator/pipelines/upgrade_pipeline.test.ts | 0 .../src/document_migrator/pipelines/upgrade_pipeline.ts | 0 .../src/document_migrator/pipelines/utils.ts | 0 .../migration-server-internal}/src/document_migrator/types.ts | 0 .../src/document_migrator/utils.test.ts | 0 .../migration-server-internal}/src/document_migrator/utils.ts | 0 .../src/document_migrator/validate_migration.test.ts | 0 .../src/document_migrator/validate_migrations.ts | 0 .../src/get_outdated_documents_query.test.ts | 0 .../src/get_outdated_documents_query.ts | 0 .../saved-objects/migration-server-internal}/src/index.ts | 0 .../migration-server-internal}/src/initial_state.test.ts | 0 .../migration-server-internal}/src/initial_state.ts | 0 .../migration-server-internal}/src/kibana_migrator.test.ts | 0 .../migration-server-internal}/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 .../migration-server-internal}/src/kibana_migrator_utils.ts | 0 .../src/migrations_state_action_machine.test.ts | 0 .../src/migrations_state_action_machine.ts | 0 .../src/migrations_state_machine_cleanup.mocks.ts | 0 .../src/migrations_state_machine_cleanup.ts | 0 .../src/model/create_batches.test.ts | 0 .../migration-server-internal}/src/model/create_batches.ts | 0 .../src/model/extract_errors.test.ts | 0 .../migration-server-internal}/src/model/extract_errors.ts | 0 .../migration-server-internal}/src/model/helpers.test.ts | 0 .../migration-server-internal}/src/model/helpers.ts | 0 .../migration-server-internal}/src/model/index.ts | 0 .../migration-server-internal}/src/model/model.test.ts | 0 .../migration-server-internal}/src/model/model.ts | 0 .../migration-server-internal}/src/model/progress.test.ts | 0 .../migration-server-internal}/src/model/progress.ts | 0 .../migration-server-internal}/src/model/retry_state.test.ts | 0 .../migration-server-internal}/src/model/retry_state.ts | 0 .../migration-server-internal}/src/model/types.ts | 0 .../saved-objects/migration-server-internal}/src/next.test.ts | 0 .../saved-objects/migration-server-internal}/src/next.ts | 0 .../src/run_resilient_migrator.fixtures.ts | 0 .../src/run_resilient_migrator.test.ts | 0 .../migration-server-internal}/src/run_resilient_migrator.ts | 0 .../migration-server-internal}/src/run_v2_migration.test.ts | 0 .../migration-server-internal}/src/run_v2_migration.ts | 0 .../saved-objects/migration-server-internal}/src/state.ts | 0 .../src/state_action_machine.test.ts | 0 .../migration-server-internal}/src/state_action_machine.ts | 0 .../saved-objects/migration-server-internal}/src/types.ts | 0 .../migration-server-internal}/src/zdt/actions/index.ts | 0 .../src/zdt/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 .../migration-server-internal}/src/zdt/context/index.ts | 0 .../migration-server-internal}/src/zdt/context/types.ts | 0 .../saved-objects/migration-server-internal}/src/zdt/index.ts | 0 .../migration-server-internal}/src/zdt/migrate_index.ts | 0 .../src/zdt/migration_state_action_machine.ts | 0 .../migration-server-internal}/src/zdt/model/index.ts | 0 .../src/zdt/model/model.test.mocks.ts | 0 .../migration-server-internal}/src/zdt/model/model.test.ts | 0 .../migration-server-internal}/src/zdt/model/model.ts | 0 .../model/stages/cleanup_unknown_and_excluded_docs.test.ts | 0 .../src/zdt/model/stages/cleanup_unknown_and_excluded_docs.ts | 0 .../stages/cleanup_unknown_and_excluded_docs_refresh.test.ts | 0 .../model/stages/cleanup_unknown_and_excluded_docs_refresh.ts | 0 .../cleanup_unknown_and_excluded_docs_wait_for_task.test.ts | 0 .../stages/cleanup_unknown_and_excluded_docs_wait_for_task.ts | 0 .../src/zdt/model/stages/create_target_index.test.ts | 0 .../src/zdt/model/stages/create_target_index.ts | 0 .../src/zdt/model/stages/documents_update_init.test.mocks.ts | 0 .../src/zdt/model/stages/documents_update_init.test.ts | 0 .../src/zdt/model/stages/documents_update_init.ts | 0 .../migration-server-internal}/src/zdt/model/stages/index.ts | 0 .../src/zdt/model/stages/index_state_update_done.test.ts | 0 .../src/zdt/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 .../migration-server-internal}/src/zdt/model/stages/init.ts | 0 .../model/stages/outdated_documents_search_bulk_index.test.ts | 0 .../zdt/model/stages/outdated_documents_search_bulk_index.ts | 0 .../model/stages/outdated_documents_search_close_pit.test.ts | 0 .../zdt/model/stages/outdated_documents_search_close_pit.ts | 0 .../model/stages/outdated_documents_search_open_pit.test.ts | 0 .../zdt/model/stages/outdated_documents_search_open_pit.ts | 0 .../zdt/model/stages/outdated_documents_search_read.test.ts | 0 .../src/zdt/model/stages/outdated_documents_search_read.ts | 0 .../model/stages/outdated_documents_search_refresh.test.ts | 0 .../src/zdt/model/stages/outdated_documents_search_refresh.ts | 0 .../model/stages/outdated_documents_search_transform.test.ts | 0 .../zdt/model/stages/outdated_documents_search_transform.ts | 0 .../src/zdt/model/stages/set_doc_migration_started.test.ts | 0 .../src/zdt/model/stages/set_doc_migration_started.ts | 0 .../set_doc_migration_started_wait_for_instances.test.ts | 0 .../stages/set_doc_migration_started_wait_for_instances.ts | 0 .../src/zdt/model/stages/update_aliases.test.ts | 0 .../src/zdt/model/stages/update_aliases.ts | 0 .../zdt/model/stages/update_document_model_version.test.ts | 0 .../src/zdt/model/stages/update_document_model_version.ts | 0 .../update_document_model_version_wait_for_instance.test.ts | 0 .../update_document_model_version_wait_for_instances.ts | 0 .../src/zdt/model/stages/update_index_mappings.test.ts | 0 .../src/zdt/model/stages/update_index_mappings.ts | 0 .../model/stages/update_index_mappings_wait_for_task.test.ts | 0 .../zdt/model/stages/update_index_mappings_wait_for_task.ts | 0 .../src/zdt/model/stages/update_mapping_model_version.test.ts | 0 .../src/zdt/model/stages/update_mapping_model_version.ts | 0 .../migration-server-internal}/src/zdt/model/types.ts | 0 .../migration-server-internal}/src/zdt/next.test.mocks.ts | 0 .../migration-server-internal}/src/zdt/next.test.ts | 0 .../saved-objects/migration-server-internal}/src/zdt/next.ts | 0 .../migration-server-internal}/src/zdt/run_zdt_migration.ts | 0 .../src/zdt/state/create_initial_state.test.ts | 0 .../src/zdt/state/create_initial_state.ts | 0 .../migration-server-internal}/src/zdt/state/index.ts | 0 .../migration-server-internal}/src/zdt/state/types.ts | 0 .../src/zdt/test_helpers/context.ts | 0 .../src/zdt/test_helpers/document_migrator.ts | 0 .../migration-server-internal}/src/zdt/test_helpers/index.ts | 0 .../src/zdt/test_helpers/saved_object.ts | 0 .../src/zdt/test_helpers/saved_object_type.ts | 0 .../migration-server-internal}/src/zdt/test_helpers/state.ts | 0 .../src/zdt/utils/build_index_mappings.test.ts | 0 .../src/zdt/utils/build_index_mappings.ts | 0 .../src/zdt/utils/check_index_algorithm.test.ts | 0 .../src/zdt/utils/check_index_algorithm.ts | 0 .../src/zdt/utils/check_version_compatibility.test.mocks.ts | 0 .../src/zdt/utils/check_version_compatibility.test.ts | 0 .../src/zdt/utils/check_version_compatibility.ts | 0 .../zdt/utils/generate_additive_mapping_diff.test.mocks.ts | 0 .../src/zdt/utils/generate_additive_mapping_diff.test.ts | 0 .../src/zdt/utils/generate_additive_mapping_diff.ts | 0 .../src/zdt/utils/get_alias_actions.test.ts | 0 .../src/zdt/utils/get_alias_actions.ts | 0 .../src/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 .../migration-server-internal}/src/zdt/utils/index.ts | 0 .../src/zdt/utils/outdated_documents_query.test.ts | 0 .../src/zdt/utils/outdated_documents_query.ts | 0 .../src/zdt/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 .../saved-objects/migration-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 277 files changed, 8 insertions(+), 8 deletions(-) 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/saved-objects/core-saved-objects-migration-server-internal => src/core/packages/saved-objects/migration-server-internal}/jest.config.js (80%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7303260413e9d..3189b4519679a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -107,7 +107,6 @@ packages/core/saved-objects/core-saved-objects-api-server-mocks @elastic/kibana- packages/core/saved-objects/core-saved-objects-base-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-browser-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 8f949fa58d242..a6deec67b7102 100644 --- a/package.json +++ b/package.json @@ -376,7 +376,7 @@ "@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: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", "@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", 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/saved-objects/core-saved-objects-migration-server-internal/jest.config.js b/src/core/packages/saved-objects/migration-server-internal/jest.config.js similarity index 80% rename from packages/core/saved-objects/core-saved-objects-migration-server-internal/jest.config.js rename to src/core/packages/saved-objects/migration-server-internal/jest.config.js index aa15bbb4e44b6..03f89e6fdaa75 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-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/saved-objects/core-saved-objects-migration-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/tsconfig.base.json b/tsconfig.base.json index 7066a76aa7e58..50e3d56afa64d 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -586,8 +586,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index de525598fbe4a..7c91283d38cb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4985,7 +4985,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 "" From 2b58fe5f543c90e6f66b76a231267f45ab0bd9ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:58:29 +0100 Subject: [PATCH 119/183] Relocating module `@kbn/core-saved-objects-server` --- .github/CODEOWNERS | 2 +- .../advanced/sharing-saved-objects.asciidoc | 2 +- .../core/saved-objects-service.asciidoc | 16 ++++++++-------- package.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 | 4 ++-- .../packages/saved-objects/server}/kibana.jsonc | 0 .../packages/saved-objects/server}/package.json | 0 .../saved-objects/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 .../server}/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 .../server}/src/saved_objects_error_helpers.ts | 0 .../server}/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 .../saved-objects/server}/src/serialization.ts | 0 .../saved-objects/server}/src/type_registry.ts | 0 .../saved-objects/server}/src/validation.ts | 0 .../saved-objects/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- .../server/connectors/cases/retry_service.ts | 2 +- .../server/create_model_version.ts | 2 +- .../prebuilt_rules_customization.md | 2 +- yarn.lock | 2 +- 42 files changed, 27 insertions(+), 27 deletions(-) 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%) rename {packages/core/saved-objects/core-saved-objects-server => src/core/packages/saved-objects/server}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3189b4519679a..c9a4dd1cbde80 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -108,7 +108,6 @@ packages/core/saved-objects/core-saved-objects-base-server-mocks @elastic/kibana packages/core/saved-objects/core-saved-objects-browser-mocks @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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/docs/developer/advanced/sharing-saved-objects.asciidoc b/docs/developer/advanced/sharing-saved-objects.asciidoc index 689a2e595b187..32bfd8685e86b 100644 --- a/docs/developer/advanced/sharing-saved-objects.asciidoc +++ b/docs/developer/advanced/sharing-saved-objects.asciidoc @@ -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/saved-objects-service.asciidoc b/docs/developer/architecture/core/saved-objects-service.asciidoc index 71ece4ae3d735..7693189829f14 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/package.json b/package.json index a6deec67b7102..7f25b7f464bcb 100644 --- a/package.json +++ b/package.json @@ -377,7 +377,7 @@ "@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:packages/core/saved-objects/core-saved-objects-server", + "@kbn/core-saved-objects-server": "link:src/core/packages/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", 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/packages/core/saved-objects/core-saved-objects-server/jest.config.js b/src/core/packages/saved-objects/server/jest.config.js similarity index 83% rename from packages/core/saved-objects/core-saved-objects-server/jest.config.js rename to src/core/packages/saved-objects/server/jest.config.js index f30d24eb5919c..78eb06f85f28e 100644 --- a/packages/core/saved-objects/core-saved-objects-server/jest.config.js +++ b/src/core/packages/saved-objects/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-server'], + 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/tsconfig.base.json b/tsconfig.base.json index 50e3d56afa64d..6dd3640398a3c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -590,8 +590,8 @@ "@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": ["src/core/packages/saved-objects/server"], + "@kbn/core-saved-objects-server/*": ["src/core/packages/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-mocks": ["packages/core/saved-objects/core-saved-objects-server-mocks"], diff --git a/x-pack/plugins/cases/server/connectors/cases/retry_service.ts b/x-pack/plugins/cases/server/connectors/cases/retry_service.ts index bffb5d10c5b9f..1aba265af20b1 100644 --- a/x-pack/plugins/cases/server/connectors/cases/retry_service.ts +++ b/x-pack/plugins/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/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/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 7ebf8a464df5f..ac06c71854548 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/plugins/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/yarn.lock b/yarn.lock index 7c91283d38cb7..bddeaa4d732ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5001,7 +5001,7 @@ 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 "" From 6503a292a18631f1658860982d15fdbd0fe708d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 03:59:59 +0100 Subject: [PATCH 120/183] Relocating module `@kbn/core-saved-objects-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/saved-objects/server-internal}/README.md | 0 .../core/packages/saved-objects/server-internal}/index.ts | 0 .../packages/saved-objects/server-internal}/jest.config.js | 4 ++-- .../core/packages/saved-objects/server-internal}/kibana.jsonc | 0 .../core/packages/saved-objects/server-internal}/package.json | 0 .../server-internal}/src/apply_type_defaults.test.ts | 0 .../saved-objects/server-internal}/src/apply_type_defaults.ts | 0 .../packages/saved-objects/server-internal}/src/constants.ts | 0 .../server-internal}/src/deprecations/deprecation_factory.ts | 0 .../saved-objects/server-internal}/src/deprecations/index.ts | 0 .../src/deprecations/unknown_object_types.test.mocks.ts | 0 .../src/deprecations/unknown_object_types.test.ts | 0 .../server-internal}/src/deprecations/unknown_object_types.ts | 0 .../core/packages/saved-objects/server-internal}/src/index.ts | 0 .../saved-objects/server-internal}/src/internal_types.ts | 0 .../server-internal}/src/mocks/internal_mocks.ts | 0 .../saved-objects/server-internal}/src/object_types/index.ts | 0 .../server-internal}/src/object_types/registration.test.ts | 0 .../server-internal}/src/object_types/registration.ts | 0 .../saved-objects/server-internal}/src/routes/bulk_create.ts | 0 .../saved-objects/server-internal}/src/routes/bulk_delete.ts | 0 .../saved-objects/server-internal}/src/routes/bulk_get.ts | 0 .../saved-objects/server-internal}/src/routes/bulk_resolve.ts | 0 .../saved-objects/server-internal}/src/routes/bulk_update.ts | 0 .../saved-objects/server-internal}/src/routes/create.ts | 0 .../saved-objects/server-internal}/src/routes/delete.ts | 0 .../src/routes/deprecations/delete_unknown_types.ts | 0 .../server-internal}/src/routes/deprecations/index.ts | 0 .../saved-objects/server-internal}/src/routes/export.ts | 0 .../saved-objects/server-internal}/src/routes/find.ts | 0 .../packages/saved-objects/server-internal}/src/routes/get.ts | 0 .../saved-objects/server-internal}/src/routes/import.ts | 0 .../saved-objects/server-internal}/src/routes/index.ts | 0 .../src/routes/legacy_import_export/export.ts | 0 .../src/routes/legacy_import_export/import.ts | 0 .../legacy_import_export/lib/collect_references_deep.test.ts | 0 .../legacy_import_export/lib/collect_references_deep.ts | 0 .../src/routes/legacy_import_export/lib/export_dashboards.ts | 0 .../routes/legacy_import_export/lib/import_dashboards.test.ts | 0 .../src/routes/legacy_import_export/lib/import_dashboards.ts | 0 .../src/routes/legacy_import_export/lib/index.ts | 0 .../saved-objects/server-internal}/src/routes/migrate.ts | 0 .../saved-objects/server-internal}/src/routes/resolve.ts | 0 .../server-internal}/src/routes/resolve_import_errors.ts | 0 .../saved-objects/server-internal}/src/routes/update.ts | 0 .../saved-objects/server-internal}/src/routes/utils.test.ts | 0 .../saved-objects/server-internal}/src/routes/utils.ts | 0 .../src/saved_objects_route_handler_context.ts | 0 .../server-internal}/src/saved_objects_service.test.mocks.ts | 0 .../server-internal}/src/saved_objects_service.test.ts | 0 .../server-internal}/src/saved_objects_service.ts | 0 .../saved-objects/server-internal}/src/status.test.ts | 0 .../packages/saved-objects/server-internal}/src/status.ts | 0 .../server-internal}/src/utils/get_all_indices.test.ts | 0 .../server-internal}/src/utils/get_all_indices.ts | 0 .../saved-objects/server-internal}/src/utils/index.ts | 0 .../packages/saved-objects/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 61 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/saved-objects/core-saved-objects-server-internal => src/core/packages/saved-objects/server-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c9a4dd1cbde80..a01d0cf038da3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -108,7 +108,6 @@ packages/core/saved-objects/core-saved-objects-base-server-mocks @elastic/kibana packages/core/saved-objects/core-saved-objects-browser-mocks @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-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 7f25b7f464bcb..492443549ac73 100644 --- a/package.json +++ b/package.json @@ -378,7 +378,7 @@ "@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:packages/core/saved-objects/core-saved-objects-server-internal", + "@kbn/core-saved-objects-server-internal": "link:src/core/packages/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", 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/packages/core/saved-objects/core-saved-objects-server-internal/jest.config.js b/src/core/packages/saved-objects/server-internal/jest.config.js similarity index 82% rename from packages/core/saved-objects/core-saved-objects-server-internal/jest.config.js rename to src/core/packages/saved-objects/server-internal/jest.config.js index d7700d6ed78cb..a39534a81e908 100644 --- a/packages/core/saved-objects/core-saved-objects-server-internal/jest.config.js +++ b/src/core/packages/saved-objects/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 6dd3640398a3c..afbc886a23c4a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -592,8 +592,8 @@ "@kbn/core-saved-objects-migration-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-migration-server-mocks/*"], "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index bddeaa4d732ee..f125f4027c383 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4993,7 +4993,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 "" From 3e936d041781d1638a5a189d18c9caec49eccaef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:01:33 +0100 Subject: [PATCH 121/183] Relocating module `@kbn/core-saved-objects-utils-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/saved-objects/utils-server}/README.md | 0 .../core/packages/saved-objects/utils-server}/index.ts | 0 .../core/packages/saved-objects/utils-server}/jest.config.js | 4 ++-- .../core/packages/saved-objects/utils-server}/kibana.jsonc | 0 .../core/packages/saved-objects/utils-server}/package.json | 0 .../saved-objects/utils-server}/src/merge_migrations.test.ts | 0 .../saved-objects/utils-server}/src/merge_migrations.ts | 0 .../utils-server}/src/saved_objects_test_utils.test.ts | 0 .../utils-server}/src/saved_objects_test_utils.ts | 0 .../utils-server}/src/saved_objects_utils.test.mock.ts | 0 .../utils-server}/src/saved_objects_utils.test.ts | 0 .../saved-objects/utils-server}/src/saved_objects_utils.ts | 0 .../core/packages/saved-objects/utils-server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 17 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/saved-objects/core-saved-objects-utils-server => src/core/packages/saved-objects/utils-server}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a01d0cf038da3..2a13836bc2746 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @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 @@ -559,6 +558,7 @@ src/core/packages/saved-objects/import-export-server-internal @elastic/kibana-co 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 492443549ac73..187b8462e090f 100644 --- a/package.json +++ b/package.json @@ -379,7 +379,7 @@ "@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:packages/core/saved-objects/core-saved-objects-utils-server", + "@kbn/core-saved-objects-utils-server": "link:src/core/packages/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", 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/packages/core/saved-objects/core-saved-objects-utils-server/jest.config.js b/src/core/packages/saved-objects/utils-server/jest.config.js similarity index 82% rename from packages/core/saved-objects/core-saved-objects-utils-server/jest.config.js rename to src/core/packages/saved-objects/utils-server/jest.config.js index a5d1cb100bda7..39e1ecc94a42f 100644 --- a/packages/core/saved-objects/core-saved-objects-utils-server/jest.config.js +++ b/src/core/packages/saved-objects/utils-server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/saved-objects/core-saved-objects-utils-server'], + 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/tsconfig.base.json b/tsconfig.base.json index afbc886a23c4a..d3f5f13d230ac 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -596,8 +596,8 @@ "@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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index f125f4027c383..3df7a740bb724 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5005,7 +5005,7 @@ 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 "" From a88bf1dbb7fceca079f0d4626ab858528473d9fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:03:08 +0100 Subject: [PATCH 122/183] Relocating module `@kbn/core-security-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/security/browser}/README.md | 0 .../core/packages/security/browser}/index.ts | 0 .../core/packages/security/browser}/jest.config.js | 4 ++-- .../core/packages/security/browser}/kibana.jsonc | 0 .../core/packages/security/browser}/package.json | 0 .../core/packages/security/browser}/src/api_provider.ts | 0 .../core/packages/security/browser}/src/authc.ts | 0 .../core/packages/security/browser}/src/contracts.ts | 0 .../core/packages/security/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/security/core-security-browser => src/core/packages/security/browser}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2a13836bc2746..512d93e160ca3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 187b8462e090f..a39235a64526f 100644 --- a/package.json +++ b/package.json @@ -380,7 +380,7 @@ "@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:packages/core/security/core-security-browser", + "@kbn/core-security-browser": "link:src/core/packages/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", 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/packages/core/security/core-security-browser/jest.config.js b/src/core/packages/security/browser/jest.config.js similarity index 84% rename from packages/core/security/core-security-browser/jest.config.js rename to src/core/packages/security/browser/jest.config.js index 6f79f0c76f2b7..3b7b1dcd7d569 100644 --- a/packages/core/security/core-security-browser/jest.config.js +++ b/src/core/packages/security/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index d3f5f13d230ac..0e11c33c2a49f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -598,8 +598,8 @@ "@kbn/core-saved-objects-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-server-mocks/*"], "@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": ["packages/core/security/core-security-browser"], - "@kbn/core-security-browser/*": ["packages/core/security/core-security-browser/*"], + "@kbn/core-security-browser": ["src/core/packages/security/browser"], + "@kbn/core-security-browser/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 3df7a740bb724..eb278641825a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5017,7 +5017,7 @@ 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 "" From c3f9c5d3ebbd355ede7f44a4e8f5d75e8cde31e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:04:45 +0100 Subject: [PATCH 123/183] Relocating module `@kbn/core-security-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/security/browser-internal}/README.md | 0 .../core/packages/security/browser-internal}/index.ts | 0 .../core/packages/security/browser-internal}/jest.config.js | 4 ++-- .../core/packages/security/browser-internal}/kibana.jsonc | 0 .../core/packages/security/browser-internal}/package.json | 0 .../security/browser-internal}/src/internal_contracts.ts | 0 .../browser-internal}/src/security_service.test.mocks.ts | 0 .../security/browser-internal}/src/security_service.test.ts | 0 .../security/browser-internal}/src/security_service.ts | 0 .../browser-internal}/src/utils/convert_security_api.test.ts | 0 .../browser-internal}/src/utils/convert_security_api.ts | 0 .../src/utils/default_implementation.test.ts | 0 .../browser-internal}/src/utils/default_implementation.ts | 0 .../packages/security/browser-internal}/src/utils/index.ts | 0 .../core/packages/security/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 19 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/security/core-security-browser-internal => src/core/packages/security/browser-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 512d93e160ca3..e42d84708d44a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index a39235a64526f..e1d7c94299588 100644 --- a/package.json +++ b/package.json @@ -381,7 +381,7 @@ "@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:packages/core/security/core-security-browser-internal", + "@kbn/core-security-browser-internal": "link:src/core/packages/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", 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/packages/core/security/core-security-browser-internal/jest.config.js b/src/core/packages/security/browser-internal/jest.config.js similarity index 83% rename from packages/core/security/core-security-browser-internal/jest.config.js rename to src/core/packages/security/browser-internal/jest.config.js index 50d4054f67f06..44b52e3999acd 100644 --- a/packages/core/security/core-security-browser-internal/jest.config.js +++ b/src/core/packages/security/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 0e11c33c2a49f..b90602329c0ea 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -600,8 +600,8 @@ "@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": ["packages/core/security/core-security-browser-internal"], - "@kbn/core-security-browser-internal/*": ["packages/core/security/core-security-browser-internal/*"], + "@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": ["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"], diff --git a/yarn.lock b/yarn.lock index eb278641825a1..04902d2535ba5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5009,7 +5009,7 @@ 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 "" From bf308cfade7829851b5524994ec02f4b7c9a68b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:06:29 +0100 Subject: [PATCH 124/183] Relocating module `@kbn/core-security-browser-mocks` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/security/browser-mocks}/README.md | 0 .../core/packages/security/browser-mocks}/index.ts | 0 .../core/packages/security/browser-mocks}/jest.config.js | 4 ++-- .../core/packages/security/browser-mocks}/kibana.jsonc | 0 .../core/packages/security/browser-mocks}/package.json | 0 .../security/browser-mocks}/src/security_service.mock.ts | 0 .../core/packages/security/browser-mocks}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/security/core-security-browser-mocks => src/core/packages/security/browser-mocks}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e42d84708d44a..5f665359aa18f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index e1d7c94299588..7a94b1508e529 100644 --- a/package.json +++ b/package.json @@ -382,7 +382,7 @@ "@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:packages/core/security/core-security-browser-mocks", + "@kbn/core-security-browser-mocks": "link:src/core/packages/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", 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/packages/core/security/core-security-browser-mocks/jest.config.js b/src/core/packages/security/browser-mocks/jest.config.js similarity index 83% rename from packages/core/security/core-security-browser-mocks/jest.config.js rename to src/core/packages/security/browser-mocks/jest.config.js index 9c1675c8e50fc..b51482959871b 100644 --- a/packages/core/security/core-security-browser-mocks/jest.config.js +++ b/src/core/packages/security/browser-mocks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-browser-mocks'], + 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/tsconfig.base.json b/tsconfig.base.json index b90602329c0ea..828d2ac773c55 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -602,8 +602,8 @@ "@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": ["packages/core/security/core-security-browser-mocks"], - "@kbn/core-security-browser-mocks/*": ["packages/core/security/core-security-browser-mocks/*"], + "@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": ["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"], diff --git a/yarn.lock b/yarn.lock index 04902d2535ba5..94eebb8ae7621 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5013,7 +5013,7 @@ 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 "" From ef333662d6631b50bd1f3519a431849dbbf65dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:08:09 +0100 Subject: [PATCH 125/183] Relocating module `@kbn/core-security-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/security/common}/README.md | 0 .../core/packages/security/common}/index.ts | 0 .../core/packages/security/common}/jest.config.js | 4 ++-- .../core/packages/security/common}/kibana.jsonc | 0 .../core/packages/security/common}/mocks.ts | 0 .../core/packages/security/common}/package.json | 0 .../common}/src/authentication/authenticated_user.mock.ts | 0 .../security/common}/src/authentication/authenticated_user.ts | 0 .../common}/src/authentication/authentication_provider.ts | 0 .../packages/security/common}/src/authentication/index.ts | 0 .../core/packages/security/common}/src/authentication/user.ts | 0 .../core/packages/security/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 16 files changed, 8 insertions(+), 8 deletions(-) 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/security/core-security-common => src/core/packages/security/common}/jest.config.js (84%) 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/security/core-security-common => src/core/packages/security/common}/tsconfig.json (82%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5f665359aa18f..d76c9b77ff6fb 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 7a94b1508e529..80e3f0531fa2e 100644 --- a/package.json +++ b/package.json @@ -383,7 +383,7 @@ "@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:packages/core/security/core-security-common", + "@kbn/core-security-common": "link:src/core/packages/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", 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/security/core-security-common/jest.config.js b/src/core/packages/security/common/jest.config.js similarity index 84% rename from packages/core/security/core-security-common/jest.config.js rename to src/core/packages/security/common/jest.config.js index 0ffac7e5d321c..270bc08613d3b 100644 --- a/packages/core/security/core-security-common/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/security/core-security-common'], + 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/security/core-security-common/tsconfig.json b/src/core/packages/security/common/tsconfig.json similarity index 82% rename from packages/core/security/core-security-common/tsconfig.json rename to src/core/packages/security/common/tsconfig.json index b05325b824a67..447899d604592 100644 --- a/packages/core/security/core-security-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/tsconfig.base.json b/tsconfig.base.json index 828d2ac773c55..39a046dbd6478 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -604,8 +604,8 @@ "@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": ["packages/core/security/core-security-common"], - "@kbn/core-security-common/*": ["packages/core/security/core-security-common/*"], + "@kbn/core-security-common": ["src/core/packages/security/common"], + "@kbn/core-security-common/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 94eebb8ae7621..44278641e7fb6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5021,7 +5021,7 @@ 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 "" From 0bf940f6f818b184fd64e36a4bffa9bc66d916ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:09:44 +0100 Subject: [PATCH 126/183] Relocating module `@kbn/core-security-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/security/server}/README.md | 0 .../core/packages/security/server}/index.ts | 0 .../core/packages/security/server}/jest.config.js | 4 ++-- .../core/packages/security/server}/kibana.jsonc | 0 .../core/packages/security/server}/package.json | 0 .../core/packages/security/server}/src/api_provider.ts | 0 .../core/packages/security/server}/src/audit.ts | 0 .../security/server}/src/audit_logging/audit_events.ts | 0 .../security/server}/src/audit_logging/audit_logger.ts | 0 .../core/packages/security/server}/src/authc.ts | 0 .../security/server}/src/authentication/api_keys/api_keys.ts | 0 .../server}/src/authentication/api_keys/api_keys_context.ts | 0 .../security/server}/src/authentication/api_keys/index.ts | 0 .../core/packages/security/server}/src/contracts.ts | 0 .../core/packages/security/server}/src/fips.ts | 0 .../packages/security/server}/src/request_handler_context.ts | 0 .../core/packages/security/server}/src/roles/index.ts | 0 .../core/packages/security/server}/src/roles/schema.ts | 0 .../core/packages/security/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 23 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/security/core-security-server => src/core/packages/security/server}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d76c9b77ff6fb..f294a93bbe94d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @elastic/kibana-core -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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 80e3f0531fa2e..28a27f1e55ab9 100644 --- a/package.json +++ b/package.json @@ -384,7 +384,7 @@ "@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:packages/core/security/core-security-server", + "@kbn/core-security-server": "link:src/core/packages/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", 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/packages/core/security/core-security-server/jest.config.js b/src/core/packages/security/server/jest.config.js similarity index 84% rename from packages/core/security/core-security-server/jest.config.js rename to src/core/packages/security/server/jest.config.js index b414a597f7666..150c6a567ba55 100644 --- a/packages/core/security/core-security-server/jest.config.js +++ b/src/core/packages/security/server/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/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/tsconfig.base.json b/tsconfig.base.json index 39a046dbd6478..bcc2f281e1edc 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -606,8 +606,8 @@ "@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": ["packages/core/security/core-security-server"], - "@kbn/core-security-server/*": ["packages/core/security/core-security-server/*"], + "@kbn/core-security-server": ["src/core/packages/security/server"], + "@kbn/core-security-server/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 44278641e7fb6..cb0d7484828ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5033,7 +5033,7 @@ 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 "" From a5699753d55c42b6e30de546a543321aaeda624e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:11:19 +0100 Subject: [PATCH 127/183] Relocating module `@kbn/core-security-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/security/server-internal}/README.md | 0 .../core/packages/security/server-internal}/index.ts | 0 .../core/packages/security/server-internal}/jest.config.js | 4 ++-- .../core/packages/security/server-internal}/kibana.jsonc | 0 .../core/packages/security/server-internal}/package.json | 0 .../packages/security/server-internal}/src/fips/fips.test.ts | 0 .../core/packages/security/server-internal}/src/fips/fips.ts | 0 .../security/server-internal}/src/internal_contracts.ts | 0 .../server-internal}/src/security_route_handler_context.ts | 0 .../server-internal}/src/security_service.test.mocks.ts | 0 .../security/server-internal}/src/security_service.test.ts | 0 .../security/server-internal}/src/security_service.ts | 0 .../src/test_helpers/create_audit_logger.mock.ts | 0 .../server-internal}/src/utils/convert_security_api.test.ts | 0 .../server-internal}/src/utils/convert_security_api.ts | 0 .../server-internal}/src/utils/default_implementation.test.ts | 0 .../server-internal}/src/utils/default_implementation.ts | 0 .../packages/security/server-internal}/src/utils/index.ts | 0 .../core/packages/security/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 23 files changed, 8 insertions(+), 8 deletions(-) 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/security/core-security-server-internal => src/core/packages/security/server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f294a93bbe94d..67f21e7de9681 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 28a27f1e55ab9..45a185c4edab3 100644 --- a/package.json +++ b/package.json @@ -385,7 +385,7 @@ "@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:packages/core/security/core-security-server-internal", + "@kbn/core-security-server-internal": "link:src/core/packages/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", 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/security/core-security-server-internal/jest.config.js b/src/core/packages/security/server-internal/jest.config.js similarity index 83% rename from packages/core/security/core-security-server-internal/jest.config.js rename to src/core/packages/security/server-internal/jest.config.js index ded6d8ca05904..8e43af5a1c504 100644 --- a/packages/core/security/core-security-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/security/core-security-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/tsconfig.base.json b/tsconfig.base.json index bcc2f281e1edc..644ebffc16439 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -608,8 +608,8 @@ "@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": ["packages/core/security/core-security-server-internal"], - "@kbn/core-security-server-internal/*": ["packages/core/security/core-security-server-internal/*"], + "@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": ["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"], diff --git a/yarn.lock b/yarn.lock index cb0d7484828ba..caf1599d855f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5025,7 +5025,7 @@ 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 "" From bbfcc2ecd97eb7ea282e5dbd2796e3326ff774e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:12:58 +0100 Subject: [PATCH 128/183] Relocating module `@kbn/core-security-server-mocks` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/security/server-mocks}/README.md | 0 .../core/packages/security/server-mocks}/index.ts | 0 .../core/packages/security/server-mocks}/jest.config.js | 4 ++-- .../core/packages/security/server-mocks}/kibana.jsonc | 0 .../core/packages/security/server-mocks}/package.json | 0 .../core/packages/security/server-mocks}/src/api_keys.mock.ts | 0 .../core/packages/security/server-mocks}/src/audit.mock.ts | 0 .../security/server-mocks}/src/security_service.mock.ts | 0 .../core/packages/security/server-mocks}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/security/core-security-server-mocks => src/core/packages/security/server-mocks}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 67f21e7de9681..894c71619cfef 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 45a185c4edab3..3597cdaeaf920 100644 --- a/package.json +++ b/package.json @@ -386,7 +386,7 @@ "@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:packages/core/security/core-security-server-mocks", + "@kbn/core-security-server-mocks": "link:src/core/packages/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", 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/packages/core/security/core-security-server-mocks/jest.config.js b/src/core/packages/security/server-mocks/jest.config.js similarity index 83% rename from packages/core/security/core-security-server-mocks/jest.config.js rename to src/core/packages/security/server-mocks/jest.config.js index c9162f4512309..59a4f4172873c 100644 --- a/packages/core/security/core-security-server-mocks/jest.config.js +++ b/src/core/packages/security/server-mocks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/security/core-security-server-mocks'], + 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/tsconfig.base.json b/tsconfig.base.json index 644ebffc16439..3bb022a2baeba 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -610,8 +610,8 @@ "@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": ["packages/core/security/core-security-server-mocks"], - "@kbn/core-security-server-mocks/*": ["packages/core/security/core-security-server-mocks/*"], + "@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": ["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"], diff --git a/yarn.lock b/yarn.lock index caf1599d855f9..3cc665a17d727 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5029,7 +5029,7 @@ 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 "" From ea6c2d0982df073348c161fb9d9388c6458a192e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:14:39 +0100 Subject: [PATCH 129/183] Relocating module `@kbn/core-status-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/status/common}/README.md | 0 .../core/packages/status/common}/index.ts | 0 .../core/packages/status/common}/jest.config.js | 4 ++-- .../core/packages/status/common}/kibana.jsonc | 0 .../core/packages/status/common}/package.json | 0 .../core/packages/status/common}/src/core_status.ts | 0 .../core/packages/status/common}/src/service_status.ts | 0 .../core/packages/status/common}/src/status.ts | 0 .../core/packages/status/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/status/core-status-common => src/core/packages/status/common}/jest.config.js (85%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 894c71619cfef..9b62a9d6f9665 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 3597cdaeaf920..1e62680c4f527 100644 --- a/package.json +++ b/package.json @@ -387,7 +387,7 @@ "@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:packages/core/status/core-status-common", + "@kbn/core-status-common": "link:src/core/packages/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", 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/packages/core/status/core-status-common/jest.config.js b/src/core/packages/status/common/jest.config.js similarity index 85% rename from packages/core/status/core-status-common/jest.config.js rename to src/core/packages/status/common/jest.config.js index 48ce844bb7d3f..a85918b7e4256 100644 --- a/packages/core/status/core-status-common/jest.config.js +++ b/src/core/packages/status/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/status/core-status-common'], + 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/tsconfig.base.json b/tsconfig.base.json index 3bb022a2baeba..490435ed58375 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -612,8 +612,8 @@ "@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": ["packages/core/status/core-status-common"], - "@kbn/core-status-common/*": ["packages/core/status/core-status-common/*"], + "@kbn/core-status-common": ["src/core/packages/status/common"], + "@kbn/core-status-common/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 3cc665a17d727..3ff6388ebaa82 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5037,7 +5037,7 @@ 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 "" From ea7d02bd5e822877179d62bcf67be950f235adbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:16:16 +0100 Subject: [PATCH 130/183] Relocating module `@kbn/core-status-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/status/server}/README.md | 0 .../core/packages/status/server}/index.ts | 0 .../core/packages/status/server}/jest.config.js | 4 ++-- .../core/packages/status/server}/kibana.jsonc | 0 .../core/packages/status/server}/package.json | 0 .../core/packages/status/server}/src/contracts.ts | 0 .../core/packages/status/server}/src/index.ts | 0 .../core/packages/status/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) 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/core/status/core-status-server => src/core/packages/status/server}/jest.config.js (85%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9b62a9d6f9665..238572ae578f8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 1e62680c4f527..94c99738556c3 100644 --- a/package.json +++ b/package.json @@ -388,7 +388,7 @@ "@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:packages/core/status/core-status-server", + "@kbn/core-status-server": "link:src/core/packages/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", 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/core/status/core-status-server/jest.config.js b/src/core/packages/status/server/jest.config.js similarity index 85% rename from packages/core/status/core-status-server/jest.config.js rename to src/core/packages/status/server/jest.config.js index 35c6f76da67d4..1fbf49df94ba5 100644 --- a/packages/core/status/core-status-server/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/core/status/core-status-server'], + 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/tsconfig.base.json b/tsconfig.base.json index 490435ed58375..57c3df7a41816 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -614,8 +614,8 @@ "@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": ["packages/core/status/core-status-server"], - "@kbn/core-status-server/*": ["packages/core/status/core-status-server/*"], + "@kbn/core-status-server": ["src/core/packages/status/server"], + "@kbn/core-status-server/*": ["src/core/packages/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-status-server-mocks": ["packages/core/status/core-status-server-mocks"], diff --git a/yarn.lock b/yarn.lock index 3ff6388ebaa82..811ddad7c1201 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5049,7 +5049,7 @@ 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 "" From b05af4a78d7627dca48126e2da01cde4703f6fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:17:55 +0100 Subject: [PATCH 131/183] Relocating module `@kbn/core-status-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/status/server-internal}/README.md | 0 .../core/packages/status/server-internal}/index.ts | 0 .../core/packages/status/server-internal}/jest.config.js | 4 ++-- .../core/packages/status/server-internal}/kibana.jsonc | 0 .../core/packages/status/server-internal}/package.json | 0 .../status/server-internal}/src/cached_plugins_status.ts | 0 .../status/server-internal}/src/get_summary_status.test.ts | 0 .../status/server-internal}/src/get_summary_status.ts | 0 .../core/packages/status/server-internal}/src/index.ts | 0 .../status/server-internal}/src/legacy_status.test.ts | 0 .../packages/status/server-internal}/src/legacy_status.ts | 0 .../server-internal}/src/log_core_services_status.test.ts | 0 .../status/server-internal}/src/log_core_services_status.ts | 0 .../status/server-internal}/src/log_overall_status.test.ts | 0 .../status/server-internal}/src/log_overall_status.ts | 0 .../status/server-internal}/src/log_plugins_status.test.ts | 0 .../status/server-internal}/src/log_plugins_status.ts | 0 .../status/server-internal}/src/plugins_status.test.ts | 0 .../packages/status/server-internal}/src/plugins_status.ts | 0 .../core/packages/status/server-internal}/src/routes/index.ts | 0 .../packages/status/server-internal}/src/routes/status.ts | 0 .../status/server-internal}/src/routes/status_preboot.ts | 0 .../server-internal}/src/routes/status_response_schemas.ts | 0 .../packages/status/server-internal}/src/status_config.ts | 0 .../status/server-internal}/src/status_service.test.mocks.ts | 0 .../status/server-internal}/src/status_service.test.ts | 0 .../packages/status/server-internal}/src/status_service.ts | 0 .../status/server-internal}/src/test_helpers/index.ts | 0 .../status/server-internal}/src/test_helpers/test_utils.ts | 0 .../core/packages/status/server-internal}/src/types.ts | 0 .../core/packages/status/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 35 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/status/core-status-server-internal => src/core/packages/status/server-internal}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 238572ae578f8..b44f6f19260a1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -109,7 +109,6 @@ packages/core/saved-objects/core-saved-objects-browser-mocks @elastic/kibana-cor packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 94c99738556c3..363b26b4f9a7e 100644 --- a/package.json +++ b/package.json @@ -389,7 +389,7 @@ "@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:packages/core/status/core-status-server-internal", + "@kbn/core-status-server-internal": "link:src/core/packages/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", 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/packages/core/status/core-status-server-internal/jest.config.js b/src/core/packages/status/server-internal/jest.config.js similarity index 84% rename from packages/core/status/core-status-server-internal/jest.config.js rename to src/core/packages/status/server-internal/jest.config.js index 441483ccd584c..28641e77736e3 100644 --- a/packages/core/status/core-status-server-internal/jest.config.js +++ b/src/core/packages/status/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/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/tsconfig.base.json b/tsconfig.base.json index 57c3df7a41816..687999f533f99 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -616,8 +616,8 @@ "@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": ["packages/core/status/core-status-server-internal"], - "@kbn/core-status-server-internal/*": ["packages/core/status/core-status-server-internal/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index 811ddad7c1201..8d4fc7b168316 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5041,7 +5041,7 @@ 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 "" From 1e4b0a8811807699eab27686c7daea73aeda5293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:19:28 +0100 Subject: [PATCH 132/183] Relocating module `@kbn/core-test-helpers-deprecations-getters` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/test-helpers/deprecations-getters}/README.md | 0 .../core/packages/test-helpers/deprecations-getters}/index.ts | 0 .../test-helpers/deprecations-getters}/jest.config.js | 4 ++-- .../packages/test-helpers/deprecations-getters}/kibana.jsonc | 0 .../packages/test-helpers/deprecations-getters}/package.json | 0 .../deprecations-getters}/src/deprecations_getters.ts | 0 .../packages/test-helpers/deprecations-getters}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/test-helpers/core-test-helpers-deprecations-getters => src/core/packages/test-helpers/deprecations-getters}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b44f6f19260a1..6d7a9136b1f46 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -110,7 +110,6 @@ packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elast packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 363b26b4f9a7e..214ac533df6ff 100644 --- a/package.json +++ b/package.json @@ -390,7 +390,7 @@ "@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:packages/core/test-helpers/core-test-helpers-deprecations-getters", + "@kbn/core-test-helpers-deprecations-getters": "link:src/core/packages/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", 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/packages/core/test-helpers/core-test-helpers-deprecations-getters/jest.config.js b/src/core/packages/test-helpers/deprecations-getters/jest.config.js similarity index 81% rename from packages/core/test-helpers/core-test-helpers-deprecations-getters/jest.config.js rename to src/core/packages/test-helpers/deprecations-getters/jest.config.js index 0665db7a6eb5f..0f55cdadc7687 100644 --- a/packages/core/test-helpers/core-test-helpers-deprecations-getters/jest.config.js +++ b/src/core/packages/test-helpers/deprecations-getters/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/test-helpers/core-test-helpers-deprecations-getters'], + 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/tsconfig.base.json b/tsconfig.base.json index 687999f533f99..9e88e5c938ae2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -620,8 +620,8 @@ "@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-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": ["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-kbn-server": ["packages/core/test-helpers/core-test-helpers-kbn-server"], diff --git a/yarn.lock b/yarn.lock index 8d4fc7b168316..027bdc90e4898 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5053,7 +5053,7 @@ 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 "" From 0e2b1fc8041866ae821f7bc387b5b2704797be5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:21:04 +0100 Subject: [PATCH 133/183] Relocating module `@kbn/core-test-helpers-http-setup-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/test-helpers/http-setup-browser}/README.md | 0 .../core/packages/test-helpers/http-setup-browser}/index.ts | 0 .../packages/test-helpers/http-setup-browser}/jest.config.js | 4 ++-- .../packages/test-helpers/http-setup-browser}/kibana.jsonc | 0 .../packages/test-helpers/http-setup-browser}/package.json | 0 .../test-helpers/http-setup-browser}/src/http_test_setup.ts | 0 .../packages/test-helpers/http-setup-browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/test-helpers/core-test-helpers-http-setup-browser => src/core/packages/test-helpers/http-setup-browser}/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6d7a9136b1f46..6d5b6e5aa5169 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -110,7 +110,6 @@ packages/core/saved-objects/core-saved-objects-import-export-server-mocks @elast packages/core/saved-objects/core-saved-objects-migration-server-mocks @elastic/kibana-core packages/core/saved-objects/core-saved-objects-server-mocks @elastic/kibana-core packages/core/status/core-status-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 214ac533df6ff..f136474d8ab35 100644 --- a/package.json +++ b/package.json @@ -391,7 +391,7 @@ "@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: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", "@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", 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/packages/core/test-helpers/core-test-helpers-http-setup-browser/jest.config.js b/src/core/packages/test-helpers/http-setup-browser/jest.config.js similarity index 81% rename from packages/core/test-helpers/core-test-helpers-http-setup-browser/jest.config.js rename to src/core/packages/test-helpers/http-setup-browser/jest.config.js index 8f09a34b560e0..2b08b1f014a16 100644 --- a/packages/core/test-helpers/core-test-helpers-http-setup-browser/jest.config.js +++ b/src/core/packages/test-helpers/http-setup-browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/test-helpers/core-test-helpers-http-setup-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index 9e88e5c938ae2..697942a70cc0b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -622,8 +622,8 @@ "@kbn/core-status-server-mocks/*": ["packages/core/status/core-status-server-mocks/*"], "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 027bdc90e4898..5253fb9fee32c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5057,7 +5057,7 @@ 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 "" From 2ba02467e2558b7e932c9c3d177caa23153c79f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:22:36 +0100 Subject: [PATCH 134/183] Relocating module `@kbn/core-test-helpers-so-type-serializer` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/test-helpers/so-type-serializer}/README.md | 0 .../core/packages/test-helpers/so-type-serializer}/index.ts | 0 .../packages/test-helpers/so-type-serializer}/jest.config.js | 4 ++-- .../packages/test-helpers/so-type-serializer}/kibana.jsonc | 0 .../packages/test-helpers/so-type-serializer}/package.json | 0 .../so-type-serializer}/src/extract_migration_info.test.ts | 0 .../so-type-serializer}/src/extract_migration_info.ts | 0 .../so-type-serializer}/src/get_migration_hash.test.ts | 0 .../so-type-serializer}/src/get_migration_hash.ts | 0 .../packages/test-helpers/so-type-serializer}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) 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/test-helpers/core-test-helpers-so-type-serializer => src/core/packages/test-helpers/so-type-serializer}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6d5b6e5aa5169..43648b750c378 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -112,7 +112,6 @@ packages/core/saved-objects/core-saved-objects-server-mocks @elastic/kibana-core packages/core/status/core-status-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index f136474d8ab35..1518db13cba51 100644 --- a/package.json +++ b/package.json @@ -392,7 +392,7 @@ "@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: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", "@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", 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/test-helpers/core-test-helpers-so-type-serializer/jest.config.js b/src/core/packages/test-helpers/so-type-serializer/jest.config.js similarity index 82% rename from packages/core/test-helpers/core-test-helpers-so-type-serializer/jest.config.js rename to src/core/packages/test-helpers/so-type-serializer/jest.config.js index 3ecbc4098d6a0..e83f3d54e5142 100644 --- a/packages/core/test-helpers/core-test-helpers-so-type-serializer/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/test-helpers/core-test-helpers-so-type-serializer'], + 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/tsconfig.base.json b/tsconfig.base.json index 697942a70cc0b..e1ba9cd67b011 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -628,8 +628,8 @@ "@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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index 5253fb9fee32c..f4f08d4193ae7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5069,7 +5069,7 @@ 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 "" From 15ab7b031bcbd33ba9e18a109ee247228d255458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:24:03 +0100 Subject: [PATCH 135/183] Relocating module `@kbn/core-test-helpers-test-utils` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/test-helpers/test-utils}/README.md | 0 .../core/packages/test-helpers/test-utils}/index.ts | 0 .../core/packages/test-helpers/test-utils}/jest.config.js | 4 ++-- .../core/packages/test-helpers/test-utils}/kibana.jsonc | 0 .../core/packages/test-helpers/test-utils}/package.json | 0 .../test-helpers/test-utils}/src/create_exportable_type.ts | 0 .../test-utils}/src/create_hidden_type_variants.ts | 0 .../packages/test-helpers/test-utils}/src/setup_server.ts | 0 .../core/packages/test-helpers/test-utils}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/test-helpers/core-test-helpers-test-utils => src/core/packages/test-helpers/test-utils}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 43648b750c378..ddb341e3b413c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -112,7 +112,6 @@ packages/core/saved-objects/core-saved-objects-server-mocks @elastic/kibana-core packages/core/status/core-status-server-mocks @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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 1518db13cba51..462000ff497ec 100644 --- a/package.json +++ b/package.json @@ -393,7 +393,7 @@ "@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:packages/core/test-helpers/core-test-helpers-test-utils", + "@kbn/core-test-helpers-test-utils": "link:src/core/packages/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-ui-settings-browser": "link:packages/core/ui-settings/core-ui-settings-browser", 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/packages/core/test-helpers/core-test-helpers-test-utils/jest.config.js b/src/core/packages/test-helpers/test-utils/jest.config.js similarity index 83% rename from packages/core/test-helpers/core-test-helpers-test-utils/jest.config.js rename to src/core/packages/test-helpers/test-utils/jest.config.js index 49e5166902b20..e1c3f460a1163 100644 --- a/packages/core/test-helpers/core-test-helpers-test-utils/jest.config.js +++ b/src/core/packages/test-helpers/test-utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/test-helpers/core-test-helpers-test-utils'], + 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/tsconfig.base.json b/tsconfig.base.json index e1ba9cd67b011..4f827988cd8c5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -630,8 +630,8 @@ "@kbn/core-test-helpers-model-versions/*": ["packages/core/test-helpers/core-test-helpers-model-versions/*"], "@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": ["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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index f4f08d4193ae7..9cd7662035fe8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5073,7 +5073,7 @@ 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 "" From 5a32dcccde32a5a893d0ef1788ac42856697ecae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:25:28 +0100 Subject: [PATCH 136/183] Relocating module `@kbn/core-theme-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/theme/browser}/README.md | 0 .../core/packages/theme/browser}/index.ts | 0 .../core/packages/theme/browser}/jest.config.js | 4 ++-- .../core/packages/theme/browser}/kibana.jsonc | 0 .../core/packages/theme/browser}/package.json | 0 .../core/packages/theme/browser}/src/types.ts | 0 .../core/packages/theme/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/theme/core-theme-browser => src/core/packages/theme/browser}/jest.config.js (85%) 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%) rename {packages/core/theme/core-theme-browser => src/core/packages/theme/browser}/tsconfig.json (78%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ddb341e3b413c..51a086eb2bc94 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -112,7 +112,6 @@ packages/core/saved-objects/core-saved-objects-server-mocks @elastic/kibana-core packages/core/status/core-status-server-mocks @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/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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 462000ff497ec..c414db7d71321 100644 --- a/package.json +++ b/package.json @@ -394,7 +394,7 @@ "@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:packages/core/theme/core-theme-browser", + "@kbn/core-theme-browser": "link:src/core/packages/theme/browser", "@kbn/core-theme-browser-internal": "link:packages/core/theme/core-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", 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/packages/core/theme/core-theme-browser/jest.config.js b/src/core/packages/theme/browser/jest.config.js similarity index 85% rename from packages/core/theme/core-theme-browser/jest.config.js rename to src/core/packages/theme/browser/jest.config.js index a0fda222808ab..b8d8fafa43b16 100644 --- a/packages/core/theme/core-theme-browser/jest.config.js +++ b/src/core/packages/theme/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/theme/core-theme-browser'], + 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/packages/core/theme/core-theme-browser/tsconfig.json b/src/core/packages/theme/browser/tsconfig.json similarity index 78% rename from packages/core/theme/core-theme-browser/tsconfig.json rename to src/core/packages/theme/browser/tsconfig.json index e7513f6481e89..131ff3e6bb433 100644 --- a/packages/core/theme/core-theme-browser/tsconfig.json +++ b/src/core/packages/theme/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 4f827988cd8c5..545ca59e8e626 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -632,8 +632,8 @@ "@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": ["packages/core/theme/core-theme-browser"], - "@kbn/core-theme-browser/*": ["packages/core/theme/core-theme-browser/*"], + "@kbn/core-theme-browser": ["src/core/packages/theme/browser"], + "@kbn/core-theme-browser/*": ["src/core/packages/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-theme-browser-mocks": ["packages/core/theme/core-theme-browser-mocks"], diff --git a/yarn.lock b/yarn.lock index 9cd7662035fe8..eccbde6f2fcd5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5085,7 +5085,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 "" From dc1e6f5fb068a2260dd6fd75aa1549db05f11949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:26:51 +0100 Subject: [PATCH 137/183] Relocating module `@kbn/core-theme-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/theme/browser-internal}/README.md | 0 .../core/packages/theme/browser-internal}/index.ts | 0 .../core/packages/theme/browser-internal}/jest.config.js | 4 ++-- .../core/packages/theme/browser-internal}/kibana.jsonc | 0 .../core/packages/theme/browser-internal}/package.json | 0 .../theme/browser-internal}/src/core_theme_provider.test.tsx | 0 .../theme/browser-internal}/src/core_theme_provider.tsx | 0 .../core/packages/theme/browser-internal}/src/system_theme.ts | 0 .../theme/browser-internal}/src/theme_service.test.mocks.ts | 0 .../theme/browser-internal}/src/theme_service.test.ts | 0 .../packages/theme/browser-internal}/src/theme_service.ts | 0 .../core/packages/theme/browser-internal}/src/utils.ts | 0 .../core/packages/theme/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 17 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/theme/core-theme-browser-internal => src/core/packages/theme/browser-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 51a086eb2bc94..7aafc30e27b24 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -112,7 +112,6 @@ packages/core/saved-objects/core-saved-objects-server-mocks @elastic/kibana-core packages/core/status/core-status-server-mocks @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/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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index c414db7d71321..0070e708f4223 100644 --- a/package.json +++ b/package.json @@ -395,7 +395,7 @@ "@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:packages/core/theme/core-theme-browser-internal", + "@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", 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/packages/core/theme/core-theme-browser-internal/jest.config.js b/src/core/packages/theme/browser-internal/jest.config.js similarity index 83% rename from packages/core/theme/core-theme-browser-internal/jest.config.js rename to src/core/packages/theme/browser-internal/jest.config.js index 8715f3b531934..0fdeacefc9495 100644 --- a/packages/core/theme/core-theme-browser-internal/jest.config.js +++ b/src/core/packages/theme/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/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/tsconfig.base.json b/tsconfig.base.json index 545ca59e8e626..3f7cef0ae3080 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -634,8 +634,8 @@ "@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": ["packages/core/theme/core-theme-browser-internal"], - "@kbn/core-theme-browser-internal/*": ["packages/core/theme/core-theme-browser-internal/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index eccbde6f2fcd5..475383813132f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5077,7 +5077,7 @@ 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 "" From 2fc44ecbf655d7823a3a36edfb953b347c397641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:28:10 +0100 Subject: [PATCH 138/183] Relocating module `@kbn/core-usage-data-base-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/usage-data/base-server-internal}/README.md | 0 .../core/packages/usage-data/base-server-internal}/index.ts | 0 .../packages/usage-data/base-server-internal}/jest.config.js | 4 ++-- .../packages/usage-data/base-server-internal}/kibana.jsonc | 0 .../packages/usage-data/base-server-internal}/package.json | 0 .../usage-data/base-server-internal}/src/constants.ts | 0 .../packages/usage-data/base-server-internal}/src/index.ts | 0 .../usage-data/base-server-internal}/src/internal_contract.ts | 0 .../base-server-internal}/src/usage_stats_client.ts | 0 .../packages/usage-data/base-server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) 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/usage-data/core-usage-data-base-server-internal => src/core/packages/usage-data/base-server-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7aafc30e27b24..0881661088ce2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -120,7 +120,6 @@ 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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 0070e708f4223..ee0a52910bdf9 100644 --- a/package.json +++ b/package.json @@ -401,7 +401,7 @@ "@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-base-server-internal": "link:src/core/packages/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", 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/usage-data/core-usage-data-base-server-internal/jest.config.js b/src/core/packages/usage-data/base-server-internal/jest.config.js similarity index 82% rename from packages/core/usage-data/core-usage-data-base-server-internal/jest.config.js rename to src/core/packages/usage-data/base-server-internal/jest.config.js index 3c324088c0a9b..2bad8ace3cb93 100644 --- a/packages/core/usage-data/core-usage-data-base-server-internal/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/usage-data/core-usage-data-base-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 3f7cef0ae3080..087e4974a2ab3 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -652,8 +652,8 @@ "@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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index 475383813132f..e9c1024399919 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5117,7 +5117,7 @@ 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 "" From dac4605ac1ac3b07d4a054bd03bb5fa41e73c285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:29:28 +0100 Subject: [PATCH 139/183] Relocating module `@kbn/core-usage-data-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/usage-data/server}/README.md | 0 .../core/packages/usage-data/server}/index.ts | 0 .../core/packages/usage-data/server}/jest.config.js | 4 ++-- .../core/packages/usage-data/server}/kibana.jsonc | 0 .../core/packages/usage-data/server}/package.json | 0 .../core/packages/usage-data/server}/src/core_usage_data.ts | 0 .../core/packages/usage-data/server}/src/core_usage_stats.ts | 0 .../core/packages/usage-data/server}/src/index.ts | 0 .../core/packages/usage-data/server}/src/setup_contract.ts | 0 .../core/packages/usage-data/server}/src/start_contract.ts | 0 .../core/packages/usage-data/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/usage-data/core-usage-data-server => src/core/packages/usage-data/server}/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0881661088ce2..fc804cc4933d0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -120,7 +120,6 @@ 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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index ee0a52910bdf9..b011f2680d89f 100644 --- a/package.json +++ b/package.json @@ -402,7 +402,7 @@ "@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:src/core/packages/usage-data/base-server-internal", - "@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", "@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", 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/packages/core/usage-data/core-usage-data-server/jest.config.js b/src/core/packages/usage-data/server/jest.config.js similarity index 84% rename from packages/core/usage-data/core-usage-data-server/jest.config.js rename to src/core/packages/usage-data/server/jest.config.js index 3dc7170da5e9b..30c3499892e64 100644 --- a/packages/core/usage-data/core-usage-data-server/jest.config.js +++ b/src/core/packages/usage-data/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/usage-data/core-usage-data-server'], + 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/tsconfig.base.json b/tsconfig.base.json index 087e4974a2ab3..0b537e1f2c297 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -654,8 +654,8 @@ "@kbn/core-ui-settings-server-mocks/*": ["packages/core/ui-settings/core-ui-settings-server-mocks/*"], "@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": ["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": ["src/core/packages/usage-data/server"], + "@kbn/core-usage-data-server/*": ["src/core/packages/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-server-mocks": ["packages/core/usage-data/core-usage-data-server-mocks"], diff --git a/yarn.lock b/yarn.lock index e9c1024399919..95a80adc9af9e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5129,7 +5129,7 @@ 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 "" From 90c58939a74df51f57177fbcf173409042cc3489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:30:45 +0100 Subject: [PATCH 140/183] Relocating module `@kbn/core-usage-data-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/usage-data/server-internal}/README.md | 0 .../core/packages/usage-data/server-internal}/index.ts | 0 .../core/packages/usage-data/server-internal}/jest.config.js | 4 ++-- .../core/packages/usage-data/server-internal}/kibana.jsonc | 0 .../core/packages/usage-data/server-internal}/package.json | 0 .../server-internal}/src/core_usage_data_service.test.ts | 0 .../server-internal}/src/core_usage_data_service.ts | 0 .../server-internal}/src/core_usage_stats_client.test.ts | 0 .../server-internal}/src/core_usage_stats_client.ts | 0 .../core/packages/usage-data/server-internal}/src/index.ts | 0 .../usage-data/server-internal}/src/is_configured.test.ts | 0 .../packages/usage-data/server-internal}/src/is_configured.ts | 0 .../server-internal}/src/saved_objects/core_usage_stats.ts | 0 .../usage-data/server-internal}/src/saved_objects/index.ts | 0 .../server-internal}/src/saved_objects/migrations.test.ts | 0 .../server-internal}/src/saved_objects/migrations.ts | 0 .../core/packages/usage-data/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 21 files changed, 8 insertions(+), 8 deletions(-) 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/usage-data/core-usage-data-server-internal => src/core/packages/usage-data/server-internal}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fc804cc4933d0..bba3a6aa6ba28 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -120,7 +120,6 @@ 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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index b011f2680d89f..a87035137384d 100644 --- a/package.json +++ b/package.json @@ -403,7 +403,7 @@ "@kbn/core-ui-settings-server-internal": "link:packages/core/ui-settings/core-ui-settings-server-internal", "@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:packages/core/usage-data/core-usage-data-server-internal", + "@kbn/core-usage-data-server-internal": "link:src/core/packages/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", 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/usage-data/core-usage-data-server-internal/jest.config.js b/src/core/packages/usage-data/server-internal/jest.config.js similarity index 83% rename from packages/core/usage-data/core-usage-data-server-internal/jest.config.js rename to src/core/packages/usage-data/server-internal/jest.config.js index 4cf5231c9be3d..88f6f492bf766 100644 --- a/packages/core/usage-data/core-usage-data-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/usage-data/core-usage-data-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/tsconfig.base.json b/tsconfig.base.json index 0b537e1f2c297..9c689460004c2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -656,8 +656,8 @@ "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index 95a80adc9af9e..60568cb8198c3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5121,7 +5121,7 @@ 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 "" From e89e59ccf5e6428f4b7d0552988bb67f011eb98b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:32:00 +0100 Subject: [PATCH 141/183] Relocating module `@kbn/core-user-profile-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/user-profile/browser}/README.md | 0 .../core/packages/user-profile/browser}/index.ts | 0 .../core/packages/user-profile/browser}/jest.config.js | 4 ++-- .../core/packages/user-profile/browser}/kibana.jsonc | 0 .../core/packages/user-profile/browser}/package.json | 0 .../core/packages/user-profile/browser}/src/api_provider.ts | 0 .../core/packages/user-profile/browser}/src/contracts.ts | 0 .../core/packages/user-profile/browser}/src/service.ts | 0 .../core/packages/user-profile/browser}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/user-profile/core-user-profile-browser => src/core/packages/user-profile/browser}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index bba3a6aa6ba28..95089597cfc9c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -121,7 +121,6 @@ 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-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index a87035137384d..853738639ad7b 100644 --- a/package.json +++ b/package.json @@ -404,7 +404,7 @@ "@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:packages/core/user-profile/core-user-profile-browser", + "@kbn/core-user-profile-browser": "link:src/core/packages/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", 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/packages/core/user-profile/core-user-profile-browser/jest.config.js b/src/core/packages/user-profile/browser/jest.config.js similarity index 83% rename from packages/core/user-profile/core-user-profile-browser/jest.config.js rename to src/core/packages/user-profile/browser/jest.config.js index 4f6fadca97fd7..10850230d6612 100644 --- a/packages/core/user-profile/core-user-profile-browser/jest.config.js +++ b/src/core/packages/user-profile/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-browser'], + 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/tsconfig.base.json b/tsconfig.base.json index 9c689460004c2..bac4a6ae8f38a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -660,8 +660,8 @@ "@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": ["src/core/packages/user-profile/browser"], + "@kbn/core-user-profile-browser/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 60568cb8198c3..341ef76570079 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5141,7 +5141,7 @@ 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 "" From 548df445e5e92d3c4e0857ff0e291ba435a34df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:33:20 +0100 Subject: [PATCH 142/183] Relocating module `@kbn/core-user-profile-browser-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/user-profile/browser-internal}/README.md | 0 .../core/packages/user-profile/browser-internal}/index.ts | 0 .../packages/user-profile/browser-internal}/jest.config.js | 4 ++-- .../core/packages/user-profile/browser-internal}/kibana.jsonc | 0 .../core/packages/user-profile/browser-internal}/package.json | 0 .../user-profile/browser-internal}/src/internal_contracts.ts | 0 .../browser-internal}/src/user_profile_service.test.mocks.ts | 0 .../browser-internal}/src/user_profile_service.test.ts | 0 .../browser-internal}/src/user_profile_service.ts | 0 .../browser-internal}/src/utils/convert_api.test.ts | 0 .../user-profile/browser-internal}/src/utils/convert_api.ts | 0 .../src/utils/default_implementation.test.ts | 0 .../browser-internal}/src/utils/default_implementation.ts | 0 .../user-profile/browser-internal}/src/utils/index.ts | 0 .../packages/user-profile/browser-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 19 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/user-profile/core-user-profile-browser-internal => src/core/packages/user-profile/browser-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 95089597cfc9c..391b694cfe402 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -121,7 +121,6 @@ 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-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 853738639ad7b..8a173a7885d1e 100644 --- a/package.json +++ b/package.json @@ -405,7 +405,7 @@ "@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:packages/core/user-profile/core-user-profile-browser-internal", + "@kbn/core-user-profile-browser-internal": "link:src/core/packages/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", 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/packages/core/user-profile/core-user-profile-browser-internal/jest.config.js b/src/core/packages/user-profile/browser-internal/jest.config.js similarity index 82% rename from packages/core/user-profile/core-user-profile-browser-internal/jest.config.js rename to src/core/packages/user-profile/browser-internal/jest.config.js index f646f62e75335..114e8aa2533dd 100644 --- a/packages/core/user-profile/core-user-profile-browser-internal/jest.config.js +++ b/src/core/packages/user-profile/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-browser-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index bac4a6ae8f38a..1f0e13584724b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -662,8 +662,8 @@ "@kbn/core-usage-data-server-mocks/*": ["packages/core/usage-data/core-usage-data-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": ["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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index 341ef76570079..19f7e4a47a886 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5133,7 +5133,7 @@ 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 "" From 6fb4e1957c3af47ccbbe3ef1a5a7f05146413776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:34:35 +0100 Subject: [PATCH 143/183] Relocating module `@kbn/core-user-profile-browser-mocks` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/user-profile/browser-mocks}/README.md | 0 .../core/packages/user-profile/browser-mocks}/index.ts | 0 .../core/packages/user-profile/browser-mocks}/jest.config.js | 4 ++-- .../core/packages/user-profile/browser-mocks}/kibana.jsonc | 0 .../core/packages/user-profile/browser-mocks}/package.json | 0 .../browser-mocks}/src/user_profile_service.mock.ts | 0 .../core/packages/user-profile/browser-mocks}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/user-profile/core-user-profile-browser-mocks => src/core/packages/user-profile/browser-mocks}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 391b694cfe402..0f18d8f44dafb 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -121,7 +121,6 @@ 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-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 8a173a7885d1e..426cc6235c79a 100644 --- a/package.json +++ b/package.json @@ -406,7 +406,7 @@ "@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:packages/core/user-profile/core-user-profile-browser-mocks", + "@kbn/core-user-profile-browser-mocks": "link:src/core/packages/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", 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/packages/core/user-profile/core-user-profile-browser-mocks/jest.config.js b/src/core/packages/user-profile/browser-mocks/jest.config.js similarity index 82% rename from packages/core/user-profile/core-user-profile-browser-mocks/jest.config.js rename to src/core/packages/user-profile/browser-mocks/jest.config.js index b7b723f8f0d07..2c4abe2957b64 100644 --- a/packages/core/user-profile/core-user-profile-browser-mocks/jest.config.js +++ b/src/core/packages/user-profile/browser-mocks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-browser-mocks'], + 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/tsconfig.base.json b/tsconfig.base.json index 1f0e13584724b..f6b2abbeba457 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -664,8 +664,8 @@ "@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": ["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-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": ["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"], diff --git a/yarn.lock b/yarn.lock index 19f7e4a47a886..5101f9eaae115 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5137,7 +5137,7 @@ 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 "" From babb2f455a8d5d3d8fc892756d0fb87b1e0a1cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:35:49 +0100 Subject: [PATCH 144/183] Relocating module `@kbn/core-user-profile-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/user-profile/common}/README.md | 0 .../core/packages/user-profile/common}/index.ts | 0 .../core/packages/user-profile/common}/jest.config.js | 4 ++-- .../core/packages/user-profile/common}/kibana.jsonc | 0 .../core/packages/user-profile/common}/package.json | 0 .../core/packages/user-profile/common}/src/user_profile.ts | 0 .../core/packages/user-profile/common}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/user-profile/core-user-profile-common => src/core/packages/user-profile/common}/jest.config.js (83%) 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/core/user-profile/core-user-profile-common => src/core/packages/user-profile/common}/tsconfig.json (82%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0f18d8f44dafb..ba15ee73213e9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -121,7 +121,6 @@ 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-server-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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 426cc6235c79a..87e91c2ead4ae 100644 --- a/package.json +++ b/package.json @@ -407,7 +407,7 @@ "@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:packages/core/user-profile/core-user-profile-common", + "@kbn/core-user-profile-common": "link:src/core/packages/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", 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/packages/core/user-profile/core-user-profile-common/jest.config.js b/src/core/packages/user-profile/common/jest.config.js similarity index 83% rename from packages/core/user-profile/core-user-profile-common/jest.config.js rename to src/core/packages/user-profile/common/jest.config.js index 9998c354d5624..d7388cd2aef57 100644 --- a/packages/core/user-profile/core-user-profile-common/jest.config.js +++ b/src/core/packages/user-profile/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-common'], + 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/core/user-profile/core-user-profile-common/tsconfig.json b/src/core/packages/user-profile/common/tsconfig.json similarity index 82% rename from packages/core/user-profile/core-user-profile-common/tsconfig.json rename to src/core/packages/user-profile/common/tsconfig.json index b05325b824a67..447899d604592 100644 --- a/packages/core/user-profile/core-user-profile-common/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/tsconfig.base.json b/tsconfig.base.json index f6b2abbeba457..ac99b6801e64e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -666,8 +666,8 @@ "@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": ["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-common": ["src/core/packages/user-profile/common"], + "@kbn/core-user-profile-common/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index 5101f9eaae115..baa42a0a0af12 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5145,7 +5145,7 @@ 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 "" From d3f364f2e553435bec044bf5dfac45d632f987ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:37:03 +0100 Subject: [PATCH 145/183] Relocating module `@kbn/core-user-profile-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/user-profile/server}/README.md | 0 .../core/packages/user-profile/server}/index.ts | 0 .../core/packages/user-profile/server}/jest.config.js | 4 ++-- .../core/packages/user-profile/server}/kibana.jsonc | 0 .../core/packages/user-profile/server}/package.json | 0 .../core/packages/user-profile/server}/src/api_provider.ts | 0 .../core/packages/user-profile/server}/src/contracts.ts | 0 .../user-profile/server}/src/request_handler_context.ts | 0 .../core/packages/user-profile/server}/src/service.ts | 0 .../core/packages/user-profile/server}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/user-profile/core-user-profile-server => src/core/packages/user-profile/server}/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ba15ee73213e9..fe06cb9e093ec 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -121,7 +121,6 @@ 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-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 87e91c2ead4ae..87f4caab0393c 100644 --- a/package.json +++ b/package.json @@ -408,7 +408,7 @@ "@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:packages/core/user-profile/core-user-profile-server", + "@kbn/core-user-profile-server": "link:src/core/packages/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-user-settings-server": "link:packages/core/user-settings/core-user-settings-server", 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/packages/core/user-profile/core-user-profile-server/jest.config.js b/src/core/packages/user-profile/server/jest.config.js similarity index 83% rename from packages/core/user-profile/core-user-profile-server/jest.config.js rename to src/core/packages/user-profile/server/jest.config.js index 2d577fe6f8e11..41691e0c32643 100644 --- a/packages/core/user-profile/core-user-profile-server/jest.config.js +++ b/src/core/packages/user-profile/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-server'], + 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/tsconfig.base.json b/tsconfig.base.json index ac99b6801e64e..6ebb9ca0e2516 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -668,8 +668,8 @@ "@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": ["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": ["src/core/packages/user-profile/server"], + "@kbn/core-user-profile-server/*": ["src/core/packages/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"], diff --git a/yarn.lock b/yarn.lock index baa42a0a0af12..477c9be60d86f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5157,7 +5157,7 @@ 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 "" From df9824d9c2bb49fbeb5d2eae8ee42170f259a0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:38:17 +0100 Subject: [PATCH 146/183] Relocating module `@kbn/core-user-profile-server-internal` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/user-profile/server-internal}/README.md | 0 .../core/packages/user-profile/server-internal}/index.ts | 0 .../packages/user-profile/server-internal}/jest.config.js | 4 ++-- .../core/packages/user-profile/server-internal}/kibana.jsonc | 0 .../core/packages/user-profile/server-internal}/package.json | 0 .../user-profile/server-internal}/src/internal_contracts.ts | 0 .../src/user_profile_route_handler_context.ts | 0 .../server-internal}/src/user_profile_service.test.mocks.ts | 0 .../server-internal}/src/user_profile_service.test.ts | 0 .../user-profile/server-internal}/src/user_profile_service.ts | 0 .../server-internal}/src/utils/convert_api.test.ts | 0 .../user-profile/server-internal}/src/utils/convert_api.ts | 0 .../server-internal}/src/utils/default_implementation.test.ts | 0 .../server-internal}/src/utils/default_implementation.ts | 0 .../packages/user-profile/server-internal}/src/utils/index.ts | 0 .../core/packages/user-profile/server-internal}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 20 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/user-profile/core-user-profile-server-internal => src/core/packages/user-profile/server-internal}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fe06cb9e093ec..22510be9eab06 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -121,7 +121,6 @@ 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-server-mocks @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 @@ -559,6 +558,7 @@ 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/platform/packages/private/analytics/utils/analytics_collection_utils @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 87f4caab0393c..5dd80e96f91e3 100644 --- a/package.json +++ b/package.json @@ -409,7 +409,7 @@ "@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:packages/core/user-profile/core-user-profile-server-internal", + "@kbn/core-user-profile-server-internal": "link:src/core/packages/user-profile/server-internal", "@kbn/core-user-profile-server-mocks": "link:packages/core/user-profile/core-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", 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/packages/core/user-profile/core-user-profile-server-internal/jest.config.js b/src/core/packages/user-profile/server-internal/jest.config.js similarity index 82% rename from packages/core/user-profile/core-user-profile-server-internal/jest.config.js rename to src/core/packages/user-profile/server-internal/jest.config.js index 06a9620cf8f6c..6f9e28037afe3 100644 --- a/packages/core/user-profile/core-user-profile-server-internal/jest.config.js +++ b/src/core/packages/user-profile/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-server-internal'], + 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/tsconfig.base.json b/tsconfig.base.json index 6ebb9ca0e2516..efded436d8008 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -670,8 +670,8 @@ "@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": ["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-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": ["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-settings-server": ["packages/core/user-settings/core-user-settings-server"], diff --git a/yarn.lock b/yarn.lock index 477c9be60d86f..c64ab74431f8d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5149,7 +5149,7 @@ 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 "" From c14394bba2f78c9a0a9af4eb71482056f9833137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:39:33 +0100 Subject: [PATCH 147/183] Relocating module `@kbn/core-user-profile-server-mocks` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../core/packages/user-profile/server-mocks}/README.md | 0 .../core/packages/user-profile/server-mocks}/index.ts | 0 .../core/packages/user-profile/server-mocks}/jest.config.js | 4 ++-- .../core/packages/user-profile/server-mocks}/kibana.jsonc | 0 .../core/packages/user-profile/server-mocks}/package.json | 0 .../server-mocks}/src/user_profile_service.mock.ts | 0 .../core/packages/user-profile/server-mocks}/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages/core/user-profile/core-user-profile-server-mocks => src/core/packages/user-profile/server-mocks}/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 22510be9eab06..663c664010ee7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -121,7 +121,6 @@ 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-server-mocks @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 @@ -559,6 +558,7 @@ 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/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management diff --git a/package.json b/package.json index 5dd80e96f91e3..e786aa8c8c08d 100644 --- a/package.json +++ b/package.json @@ -410,7 +410,7 @@ "@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:packages/core/user-profile/core-user-profile-server-mocks", + "@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", 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/packages/core/user-profile/core-user-profile-server-mocks/jest.config.js b/src/core/packages/user-profile/server-mocks/jest.config.js similarity index 82% rename from packages/core/user-profile/core-user-profile-server-mocks/jest.config.js rename to src/core/packages/user-profile/server-mocks/jest.config.js index 73e694d6867d4..f6c2fd324b130 100644 --- a/packages/core/user-profile/core-user-profile-server-mocks/jest.config.js +++ b/src/core/packages/user-profile/server-mocks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/user-profile/core-user-profile-server-mocks'], + 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/tsconfig.base.json b/tsconfig.base.json index efded436d8008..99dcc1f573e2b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -672,8 +672,8 @@ "@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": ["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-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"], diff --git a/yarn.lock b/yarn.lock index c64ab74431f8d..53aa95f41f3fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5153,7 +5153,7 @@ 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 "" From e28c0936d6db8605f323c95a19ce84fb9fead316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:40:47 +0100 Subject: [PATCH 148/183] Relocating module `@kbn/crypto-browser` --- .github/CODEOWNERS | 2 +- package.json | 2 +- packages/kbn-ui-shared-deps-src/BUILD.bazel | 2 +- .../platform/packages/shared}/kbn-crypto-browser/BUILD.bazel | 0 .../platform/packages/shared}/kbn-crypto-browser/README.md | 0 .../platform/packages/shared}/kbn-crypto-browser/index.ts | 0 .../packages/shared}/kbn-crypto-browser/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-crypto-browser/kibana.jsonc | 0 .../platform/packages/shared}/kbn-crypto-browser/package.json | 0 .../packages/shared}/kbn-crypto-browser/src/sha256.ts | 0 .../packages/shared}/kbn-crypto-browser/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 9 insertions(+), 9 deletions(-) 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%) rename {packages => src/platform/packages/shared}/kbn-crypto-browser/jest.config.js (83%) 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%) rename {packages => src/platform/packages/shared}/kbn-crypto-browser/tsconfig.json (78%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 663c664010ee7..c41d760cc158a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -169,7 +169,6 @@ packages/kbn-code-owners @elastic/appex-qa packages/kbn-coloring @elastic/kibana-visualizations packages/kbn-content-management-utils @elastic/kibana-data-discovery packages/kbn-crypto @elastic/kibana-security -packages/kbn-crypto-browser @elastic/kibana-core packages/kbn-custom-icons @elastic/obs-ux-logs-team packages/kbn-custom-integrations @elastic/obs-ux-logs-team packages/kbn-cypress-config @elastic/kibana-operations @@ -581,6 +580,7 @@ src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows 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-crypto-browser @elastic/kibana-core src/platform/packages/shared/kbn-doc-links @elastic/docs src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql diff --git a/package.json b/package.json index e786aa8c8c08d..f4618023fd03b 100644 --- a/package.json +++ b/package.json @@ -416,7 +416,7 @@ "@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/plugins/custom_branding", "@kbn/custom-icons": "link:packages/kbn-custom-icons", "@kbn/custom-integrations": "link:packages/kbn-custom-integrations", diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index 4206dd039041d..03db3eb8e3c4e 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -29,7 +29,7 @@ webpack_cli( "//packages/kbn-monaco", "//packages/kbn-datemath", "//src/platform/packages/shared/kbn-analytics", - "//packages/kbn-crypto-browser", + "//src/platform/packages/shared/kbn-crypto-browser", "//packages/kbn-es-query", "//packages/kbn-search-errors", "//packages/kbn-std", 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/packages/kbn-crypto-browser/jest.config.js b/src/platform/packages/shared/kbn-crypto-browser/jest.config.js similarity index 83% rename from packages/kbn-crypto-browser/jest.config.js rename to src/platform/packages/shared/kbn-crypto-browser/jest.config.js index 7f549d7ea1ded..0e09faa8380cf 100644 --- a/packages/kbn-crypto-browser/jest.config.js +++ b/src/platform/packages/shared/kbn-crypto-browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-crypto-browser'], + 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/packages/kbn-crypto-browser/tsconfig.json b/src/platform/packages/shared/kbn-crypto-browser/tsconfig.json similarity index 78% rename from packages/kbn-crypto-browser/tsconfig.json rename to src/platform/packages/shared/kbn-crypto-browser/tsconfig.json index 9bd4f35cf62a7..131ff3e6bb433 100644 --- a/packages/kbn-crypto-browser/tsconfig.json +++ b/src/platform/packages/shared/kbn-crypto-browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 99dcc1f573e2b..35eab40c6136b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -684,8 +684,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/plugins/custom_branding"], "@kbn/custom-branding-plugin/*": ["x-pack/plugins/custom_branding/*"], "@kbn/custom-icons": ["packages/kbn-custom-icons"], diff --git a/yarn.lock b/yarn.lock index 53aa95f41f3fd..9ecc779a6aaf7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5181,7 +5181,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 "" From 33da7a3253d80ee3bf6ace935861a7fa1eec06c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:42:02 +0100 Subject: [PATCH 149/183] Relocating module `@kbn/ebt-tools` --- .github/CODEOWNERS | 2 +- package.json | 2 +- packages/kbn-ui-shared-deps-src/BUILD.bazel | 2 +- .../platform/packages/shared}/kbn-ebt-tools/BUILD.bazel | 0 .../platform/packages/shared}/kbn-ebt-tools/README.md | 0 .../platform/packages/shared}/kbn-ebt-tools/index.ts | 0 .../platform/packages/shared}/kbn-ebt-tools/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-ebt-tools/kibana.jsonc | 0 .../platform/packages/shared}/kbn-ebt-tools/package.json | 0 .../src/performance_metric_events/helpers.test.ts | 0 .../kbn-ebt-tools/src/performance_metric_events/helpers.ts | 0 .../kbn-ebt-tools/src/performance_metric_events/index.ts | 0 .../kbn-ebt-tools/src/performance_metric_events/schema.ts | 0 .../performance_metrics/context/measure_interaction/index.ts | 0 .../context/measure_interaction/measure_interaction.test.tsx | 0 .../src/performance_metrics/context/performance_context.tsx | 0 .../src/performance_metrics/context/use_page_ready.ts | 0 .../performance_metrics/context/use_performance_context.tsx | 0 .../shared}/kbn-ebt-tools/src/performance_metrics/index.tsx | 0 .../src/performance_metrics/performance_markers.ts | 0 .../shared}/kbn-ebt-tools/src/types/apm_rum_core.d.ts | 0 .../platform/packages/shared}/kbn-ebt-tools/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 24 files changed, 9 insertions(+), 9 deletions(-) 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%) rename {packages => src/platform/packages/shared}/kbn-ebt-tools/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c41d760cc158a..6a5ce3195bd68 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -185,7 +185,6 @@ packages/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/k packages/kbn-discover-utils @elastic/kibana-data-discovery 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-elastic-agent-utils @elastic/obs-ux-logs-team packages/kbn-es @elastic/kibana-operations packages/kbn-es-archiver @elastic/kibana-operations @elastic/appex-qa @@ -582,6 +581,7 @@ src/platform/packages/shared/kbn-config @elastic/kibana-core src/platform/packages/shared/kbn-config-schema @elastic/kibana-core src/platform/packages/shared/kbn-crypto-browser @elastic/kibana-core src/platform/packages/shared/kbn-doc-links @elastic/docs +src/platform/packages/shared/kbn-ebt-tools @elastic/kibana-core 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 diff --git a/package.json b/package.json index f4618023fd03b..aba1f64a9f494 100644 --- a/package.json +++ b/package.json @@ -462,7 +462,7 @@ "@kbn/discover-utils": "link:packages/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:packages/kbn-elastic-agent-utils", diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index 03db3eb8e3c4e..6686a5c92462e 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -24,7 +24,7 @@ webpack_cli( "//packages/kbn-ui-theme", "//packages/kbn-i18n", "//packages/kbn-i18n-react", - "//packages/kbn-ebt-tools", + "//src/platform/packages/shared/kbn-ebt-tools", "//src/platform/packages/shared/kbn-esql-ast", "//packages/kbn-monaco", "//packages/kbn-datemath", 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/packages/kbn-ebt-tools/jest.config.js b/src/platform/packages/shared/kbn-ebt-tools/jest.config.js similarity index 84% rename from packages/kbn-ebt-tools/jest.config.js rename to src/platform/packages/shared/kbn-ebt-tools/jest.config.js index 0ddeecd9fdb32..7f223abdf2fc6 100644 --- a/packages/kbn-ebt-tools/jest.config.js +++ b/src/platform/packages/shared/kbn-ebt-tools/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-ebt-tools'], + 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/tsconfig.base.json b/tsconfig.base.json index 35eab40c6136b..1ffead3a9dddd 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -792,8 +792,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"], diff --git a/yarn.lock b/yarn.lock index 9ecc779a6aaf7..3fd86da28ef08 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5401,7 +5401,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 "" From a821a1bcc226784c3c3b7e80bf4babc8ca574603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:43:19 +0100 Subject: [PATCH 150/183] Relocating module `@kbn/es-errors` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-es-errors/README.md | 0 .../platform/packages/shared}/kbn-es-errors/index.ts | 0 .../platform/packages/shared}/kbn-es-errors/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-es-errors/kibana.jsonc | 0 .../platform/packages/shared}/kbn-es-errors/package.json | 0 .../packages/shared}/kbn-es-errors/src/errors.test.ts | 0 .../platform/packages/shared}/kbn-es-errors/src/errors.ts | 0 .../platform/packages/shared}/kbn-es-errors/src/types.ts | 0 .../platform/packages/shared}/kbn-es-errors/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/shared}/kbn-es-errors/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-es-errors/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-es-errors/jest.config.js (84%) 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%) rename {packages => src/platform/packages/shared}/kbn-es-errors/tsconfig.json (78%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6a5ce3195bd68..1b8988da10119 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -188,7 +188,6 @@ packages/kbn-dom-drag-drop @elastic/kibana-visualizations @elastic/kibana-data-d packages/kbn-elastic-agent-utils @elastic/obs-ux-logs-team 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-query @elastic/kibana-data-discovery packages/kbn-es-types @elastic/kibana-core @elastic/obs-knowledge-team packages/kbn-eslint-config @elastic/kibana-operations @@ -582,6 +581,7 @@ src/platform/packages/shared/kbn-config-schema @elastic/kibana-core src/platform/packages/shared/kbn-crypto-browser @elastic/kibana-core src/platform/packages/shared/kbn-doc-links @elastic/docs src/platform/packages/shared/kbn-ebt-tools @elastic/kibana-core +src/platform/packages/shared/kbn-es-errors @elastic/kibana-core 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 diff --git a/package.json b/package.json index aba1f64a9f494..ea6ec2cae3234 100644 --- a/package.json +++ b/package.json @@ -483,7 +483,7 @@ "@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:packages/kbn-es-query", "@kbn/es-types": "link:packages/kbn-es-types", "@kbn/es-ui-shared-plugin": "link:src/platform/plugins/shared/es_ui_shared", 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/packages/kbn-es-errors/jest.config.js b/src/platform/packages/shared/kbn-es-errors/jest.config.js similarity index 84% rename from packages/kbn-es-errors/jest.config.js rename to src/platform/packages/shared/kbn-es-errors/jest.config.js index 248fb8e70af56..1366419656112 100644 --- a/packages/kbn-es-errors/jest.config.js +++ b/src/platform/packages/shared/kbn-es-errors/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-es-errors'], + 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/packages/kbn-es-errors/tsconfig.json b/src/platform/packages/shared/kbn-es-errors/tsconfig.json similarity index 78% rename from packages/kbn-es-errors/tsconfig.json rename to src/platform/packages/shared/kbn-es-errors/tsconfig.json index 9bd4f35cf62a7..131ff3e6bb433 100644 --- a/packages/kbn-es-errors/tsconfig.json +++ b/src/platform/packages/shared/kbn-es-errors/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 1ffead3a9dddd..65c1b3b9c0fe0 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -838,8 +838,8 @@ "@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": ["packages/kbn-es-query"], "@kbn/es-query/*": ["packages/kbn-es-query/*"], "@kbn/es-types": ["packages/kbn-es-types"], diff --git a/yarn.lock b/yarn.lock index 3fd86da28ef08..7695ef450bdde 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5489,7 +5489,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 "" From 4a179e35c23879783e5c64d9f1d3b706c8224e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:44:35 +0100 Subject: [PATCH 151/183] Relocating module `@kbn/es-types` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-es-types/README.md | 0 .../platform/packages/shared}/kbn-es-types/index.ts | 0 .../platform/packages/shared}/kbn-es-types/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-es-types/kibana.jsonc | 0 .../platform/packages/shared}/kbn-es-types/package.json | 0 .../platform/packages/shared}/kbn-es-types/src/index.ts | 0 .../platform/packages/shared}/kbn-es-types/src/search.test.ts | 0 .../platform/packages/shared}/kbn-es-types/src/search.ts | 0 .../platform/packages/shared}/kbn-es-types/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/shared}/kbn-es-types/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-es-types/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-es-types/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1b8988da10119..c4aef7e203c8f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -189,7 +189,6 @@ packages/kbn-elastic-agent-utils @elastic/obs-ux-logs-team packages/kbn-es @elastic/kibana-operations packages/kbn-es-archiver @elastic/kibana-operations @elastic/appex-qa packages/kbn-es-query @elastic/kibana-data-discovery -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 @@ -582,6 +581,7 @@ src/platform/packages/shared/kbn-crypto-browser @elastic/kibana-core src/platform/packages/shared/kbn-doc-links @elastic/docs src/platform/packages/shared/kbn-ebt-tools @elastic/kibana-core src/platform/packages/shared/kbn-es-errors @elastic/kibana-core +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 diff --git a/package.json b/package.json index ea6ec2cae3234..cb48495eb0386 100644 --- a/package.json +++ b/package.json @@ -485,7 +485,7 @@ "@kbn/error-boundary-example-plugin": "link:examples/error_boundary", "@kbn/es-errors": "link:src/platform/packages/shared/kbn-es-errors", "@kbn/es-query": "link:packages/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", 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/packages/kbn-es-types/jest.config.js b/src/platform/packages/shared/kbn-es-types/jest.config.js similarity index 84% rename from packages/kbn-es-types/jest.config.js rename to src/platform/packages/shared/kbn-es-types/jest.config.js index de90d5a76ef1f..e9f81f1e10cbd 100644 --- a/packages/kbn-es-types/jest.config.js +++ b/src/platform/packages/shared/kbn-es-types/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-es-types'], + 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/tsconfig.base.json b/tsconfig.base.json index 65c1b3b9c0fe0..51cdbb15bd574 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -842,8 +842,8 @@ "@kbn/es-errors/*": ["src/platform/packages/shared/kbn-es-errors/*"], "@kbn/es-query": ["packages/kbn-es-query"], "@kbn/es-query/*": ["packages/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"], diff --git a/yarn.lock b/yarn.lock index 7695ef450bdde..4d0b904ba25f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5497,7 +5497,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 "" From e26967708e026253c31f2f96de9378af4f636314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:45:53 +0100 Subject: [PATCH 152/183] Relocating module `@kbn/features-plugin` --- .eslintrc.js | 2 +- .github/CODEOWNERS | 4 ++-- .../architecture/security/feature-registration.asciidoc | 8 ++++---- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../src/privileges/feature_privilege_builder/cases.ts | 2 +- .../plugins/shared}/features/README.md | 0 .../shared}/features/common/alerting_kibana_privilege.ts | 0 .../shared}/features/common/elasticsearch_feature.ts | 0 .../features/common/feature_elasticsearch_privileges.ts | 0 .../shared}/features/common/feature_kibana_privileges.ts | 2 +- .../common/feature_kibana_privileges_reference.ts | 0 .../plugins/shared}/features/common/index.ts | 0 .../plugins/shared}/features/common/kibana_feature.ts | 0 .../shared}/features/common/reserved_kibana_privilege.ts | 0 .../plugins/shared}/features/common/sub_feature.ts | 0 .../plugins/shared}/features/jest.config.js | 8 ++++---- .../plugins/shared}/features/kibana.jsonc | 0 .../shared}/features/public/features_api_client.test.ts | 0 .../shared}/features/public/features_api_client.ts | 0 .../plugins/shared}/features/public/index.ts | 0 .../plugins/shared}/features/public/mocks.ts | 0 .../plugins/shared}/features/public/plugin.test.ts | 0 .../plugins/shared}/features/public/plugin.ts | 0 .../server/__snapshots__/feature_registry.test.ts.snap | 0 .../server/__snapshots__/oss_features.test.ts.snap | 0 .../plugins/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 .../features/server/feature_privilege_iterator/index.ts | 0 .../sub_feature_privilege_iterator.ts | 0 .../shared}/features/server/feature_registry.test.ts | 0 .../plugins/shared}/features/server/feature_registry.ts | 0 .../plugins/shared}/features/server/feature_schema.ts | 0 .../plugins/shared}/features/server/index.ts | 0 .../plugins/shared}/features/server/mocks.ts | 0 .../plugins/shared}/features/server/oss_features.test.ts | 0 .../plugins/shared}/features/server/oss_features.ts | 0 .../plugins/shared}/features/server/plugin.test.ts | 0 .../plugins/shared}/features/server/plugin.ts | 0 .../plugins/shared}/features/server/routes/index.test.ts | 0 .../plugins/shared}/features/server/routes/index.ts | 0 .../plugins/shared}/features/server/types.ts | 0 .../features/server/ui_capabilities_for_features.test.ts | 0 .../features/server/ui_capabilities_for_features.ts | 0 .../plugins/shared}/features/tsconfig.json | 2 +- .../observability_ai_assistant/server/plugin.ts | 2 +- .../plugins/observability_solution/apm/server/feature.ts | 2 +- .../observability_solution/inventory/server/feature.ts | 2 +- .../observability_solution/profiling/server/feature.ts | 2 +- yarn.lock | 2 +- 54 files changed, 24 insertions(+), 24 deletions(-) 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 => platform/plugins/shared}/features/jest.config.js (62%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 292fdbc18926a..0f27f68c5035f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1916,7 +1916,7 @@ module.exports = { files: [ // core-team owned code 'src/core/**', - 'x-pack/plugins/features/**', + 'x-pack/platform/plugins/shared/features/**', 'x-pack/plugins/licensing/**', 'x-pack/plugins/global_search/**', 'x-pack/platform/plugins/shared/cloud/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c4aef7e203c8f..32e3f5963ad2b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -862,6 +862,7 @@ x-pack/platform/plugins/shared/aiops @elastic/ml-ui 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/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/features @elastic/kibana-core 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 @@ -885,7 +886,6 @@ x-pack/plugins/embeddable_enhanced @elastic/kibana-presentation x-pack/plugins/encrypted_saved_objects @elastic/kibana-security x-pack/plugins/enterprise_search @elastic/search-kibana x-pack/plugins/event_log @elastic/response-ops -x-pack/plugins/features @elastic/kibana-core x-pack/plugins/fields_metadata @elastic/obs-ux-logs-team x-pack/plugins/file_upload @elastic/kibana-presentation @elastic/ml-ui x-pack/plugins/fleet @elastic/fleet @@ -1826,7 +1826,7 @@ 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/platform/plugins/shared/cloud/ @elastic/kibana-core -#CC# /x-pack/plugins/features/ @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# /x-pack/plugins/global_search_providers/ @elastic/kibana-core 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/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 6c680055ef293..399bb9bd3feda 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -597,7 +597,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. diff --git a/package.json b/package.json index cb48495eb0386..f20243afdb05f 100644 --- a/package.json +++ b/package.json @@ -525,7 +525,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", diff --git a/tsconfig.base.json b/tsconfig.base.json index 51cdbb15bd574..5a98099d27463 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -940,8 +940,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"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 3c193cd457891..2e08502af3a54 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -42,7 +42,7 @@ "xpack.embeddableEnhanced": "plugins/embeddable_enhanced", "xpack.endpoint": "plugins/endpoint", "xpack.enterpriseSearch": "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": "plugins/file_upload", 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 3cf293b935b36..175ec915c09d3 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/plugins/cases/server/authorization/index.ts and here x-pack/plugins/cases/server/connectors/cases/utils.ts 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/features/jest.config.js b/x-pack/platform/plugins/shared/features/jest.config.js similarity index 62% rename from x-pack/plugins/features/jest.config.js rename to x-pack/platform/plugins/shared/features/jest.config.js index 7d333047c491f..f467c256442d0 100644 --- a/x-pack/plugins/features/jest.config.js +++ b/x-pack/platform/plugins/shared/features/jest.config.js @@ -7,9 +7,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/features'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/features', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/features'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/features', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/features/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/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/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/observability_solution/apm/server/feature.ts b/x-pack/plugins/observability_solution/apm/server/feature.ts index 6e129d298e0a7..5fdb4a90bc16d 100644 --- a/x-pack/plugins/observability_solution/apm/server/feature.ts +++ b/x-pack/plugins/observability_solution/apm/server/feature.ts @@ -38,7 +38,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/plugins/observability_solution/inventory/server/feature.ts b/x-pack/plugins/observability_solution/inventory/server/feature.ts index 2b3f2e92a44de..8819341c411c8 100644 --- a/x-pack/plugins/observability_solution/inventory/server/feature.ts +++ b/x-pack/plugins/observability_solution/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/plugins/observability_solution/profiling/server/feature.ts b/x-pack/plugins/observability_solution/profiling/server/feature.ts index 039c6b3af37a1..1bb93b6d2308a 100644 --- a/x-pack/plugins/observability_solution/profiling/server/feature.ts +++ b/x-pack/plugins/observability_solution/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/yarn.lock b/yarn.lock index 4d0b904ba25f3..9d7af5cd7212a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5697,7 +5697,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 "" From 01378e17ae8e51ecbd38a319250f41964ffd230b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:47:09 +0100 Subject: [PATCH 153/183] Relocating module `@kbn/ftr-apis-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/ftr_apis/README.md | 0 .../plugins/private}/ftr_apis/jest.config.js | 8 ++++---- .../plugins/private}/ftr_apis/kibana.jsonc | 0 .../plugins/private}/ftr_apis/server/config.ts | 0 .../plugins/private}/ftr_apis/server/index.ts | 0 .../plugins/private}/ftr_apis/server/plugin.ts | 0 .../plugins/private}/ftr_apis/server/routes/index.ts | 0 .../ftr_apis/server/routes/kbn_client_so/bulk_delete.ts | 0 .../ftr_apis/server/routes/kbn_client_so/clean.ts | 0 .../ftr_apis/server/routes/kbn_client_so/create.ts | 0 .../ftr_apis/server/routes/kbn_client_so/delete.ts | 0 .../private}/ftr_apis/server/routes/kbn_client_so/find.ts | 0 .../private}/ftr_apis/server/routes/kbn_client_so/get.ts | 0 .../ftr_apis/server/routes/kbn_client_so/index.ts | 0 .../ftr_apis/server/routes/kbn_client_so/update.ts | 0 .../ftr_apis/server/routes/kbn_client_so/utils.ts | 0 .../plugins/private}/ftr_apis/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 22 files changed, 11 insertions(+), 11 deletions(-) rename src/{plugins => platform/plugins/private}/ftr_apis/README.md (100%) rename src/{plugins => platform/plugins/private}/ftr_apis/jest.config.js (71%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 32e3f5963ad2b..3f3227c4f6262 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -610,6 +610,7 @@ src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledg src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management +src/platform/plugins/private/ftr_apis @elastic/kibana-core src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/dev_tools @elastic/kibana-management @@ -652,7 +653,6 @@ src/plugins/expressions @elastic/kibana-visualizations src/plugins/field_formats @elastic/kibana-data-discovery src/plugins/files @elastic/appex-sharedux src/plugins/files_management @elastic/appex-sharedux -src/plugins/ftr_apis @elastic/kibana-core src/plugins/guided_onboarding @elastic/appex-sharedux src/plugins/home @elastic/appex-sharedux src/plugins/image_embeddable @elastic/appex-sharedux diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 399bb9bd3feda..6c86f27201360 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -208,7 +208,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. diff --git a/package.json b/package.json index f20243afdb05f..68f0559d0a870 100644 --- a/package.json +++ b/package.json @@ -541,7 +541,7 @@ "@kbn/flot-charts": "link:packages/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", 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/ftr_apis/jest.config.js b/src/platform/plugins/private/ftr_apis/jest.config.js similarity index 71% rename from src/plugins/ftr_apis/jest.config.js rename to src/platform/plugins/private/ftr_apis/jest.config.js index cf6341c420a19..5b20f0a9d5e5b 100644 --- a/src/plugins/ftr_apis/jest.config.js +++ b/src/platform/plugins/private/ftr_apis/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/ftr_apis'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/ftr_apis', + 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/ftr_apis/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: ['/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/tsconfig.base.json b/tsconfig.base.json index 5a98099d27463..af92b36b2528d 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -974,8 +974,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"], diff --git a/yarn.lock b/yarn.lock index 9d7af5cd7212a..47b8790a8e05b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5765,7 +5765,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 "" From 9317f80ab4e4025974c27abdd4dfcc8d9bcdf6d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:48:24 +0100 Subject: [PATCH 154/183] Relocating module `@kbn/hapi-mocks` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/private}/kbn-hapi-mocks/README.md | 0 .../platform/packages/private}/kbn-hapi-mocks/index.ts | 0 .../platform/packages/private}/kbn-hapi-mocks/jest.config.js | 4 ++-- .../platform/packages/private}/kbn-hapi-mocks/kibana.jsonc | 0 .../platform/packages/private}/kbn-hapi-mocks/package.json | 0 .../platform/packages/private}/kbn-hapi-mocks/src/request.ts | 0 .../platform/packages/private}/kbn-hapi-mocks/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/private}/kbn-hapi-mocks/README.md (100%) rename {packages => src/platform/packages/private}/kbn-hapi-mocks/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-hapi-mocks/jest.config.js (84%) 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 => src/platform/packages/private}/kbn-hapi-mocks/tsconfig.json (82%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3f3227c4f6262..7245c54b32527 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -217,7 +217,6 @@ packages/kbn-grid-layout @elastic/kibana-presentation packages/kbn-grouping @elastic/response-ops 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 @@ -562,6 +561,7 @@ 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-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 diff --git a/package.json b/package.json index 68f0559d0a870..c9fd9517228c0 100644 --- a/package.json +++ b/package.json @@ -559,7 +559,7 @@ "@kbn/guided-onboarding-example-plugin": "link:examples/guided_onboarding_example", "@kbn/guided-onboarding-plugin": "link:src/plugins/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/hello-world-plugin": "link:examples/hello_world", 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/packages/kbn-hapi-mocks/jest.config.js b/src/platform/packages/private/kbn-hapi-mocks/jest.config.js similarity index 84% rename from packages/kbn-hapi-mocks/jest.config.js rename to src/platform/packages/private/kbn-hapi-mocks/jest.config.js index fffacc098cdbe..4e0e144aa0da4 100644 --- a/packages/kbn-hapi-mocks/jest.config.js +++ b/src/platform/packages/private/kbn-hapi-mocks/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-hapi-mocks'], + 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/kbn-hapi-mocks/tsconfig.json b/src/platform/packages/private/kbn-hapi-mocks/tsconfig.json similarity index 82% rename from packages/kbn-hapi-mocks/tsconfig.json rename to src/platform/packages/private/kbn-hapi-mocks/tsconfig.json index 11f148d713b3b..59554de320901 100644 --- a/packages/kbn-hapi-mocks/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/tsconfig.base.json b/tsconfig.base.json index af92b36b2528d..12dd45107f6c4 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1022,8 +1022,8 @@ "@kbn/guided-onboarding-plugin/*": ["src/plugins/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"], diff --git a/yarn.lock b/yarn.lock index 47b8790a8e05b..c2691dafed835 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5861,7 +5861,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 "" From 37e6a163bce504db04e513ea005bf23df50d7a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:49:37 +0100 Subject: [PATCH 155/183] Relocating module `@kbn/health-gateway-server` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/private}/kbn-health-gateway-server/.gitignore | 0 .../packages/private}/kbn-health-gateway-server/README.md | 4 ++-- .../packages/private}/kbn-health-gateway-server/index.ts | 0 .../private}/kbn-health-gateway-server/jest.config.js | 4 ++-- .../private}/kbn-health-gateway-server/kibana.jsonc | 0 .../private}/kbn-health-gateway-server/package.json | 0 .../private}/kbn-health-gateway-server/scripts/.env.example | 0 .../kbn-health-gateway-server/scripts/docker-compose.yml | 6 +++--- .../private}/kbn-health-gateway-server/scripts/init.ts | 0 .../src/config/config_service.test.mocks.ts | 0 .../src/config/config_service.test.ts | 0 .../kbn-health-gateway-server/src/config/config_service.ts | 0 .../private}/kbn-health-gateway-server/src/config/index.ts | 0 .../kbn-health-gateway-server/src/config/read_argv.test.ts | 0 .../kbn-health-gateway-server/src/config/read_argv.ts | 0 .../private}/kbn-health-gateway-server/src/index.ts | 0 .../kbn-health-gateway-server/src/kibana/handlers/index.ts | 0 .../src/kibana/handlers/status.test.ts | 0 .../kbn-health-gateway-server/src/kibana/handlers/status.ts | 0 .../private}/kbn-health-gateway-server/src/kibana/index.ts | 0 .../src/kibana/kibana_config.test.ts | 0 .../kbn-health-gateway-server/src/kibana/kibana_config.ts | 0 .../src/kibana/kibana_service.test.mocks.ts | 0 .../src/kibana/kibana_service.test.ts | 0 .../kbn-health-gateway-server/src/kibana/kibana_service.ts | 0 .../private}/kbn-health-gateway-server/src/server/index.ts | 0 .../kbn-health-gateway-server/src/server/server.mock.ts | 0 .../src/server/server.test.mocks.ts | 0 .../kbn-health-gateway-server/src/server/server.test.ts | 0 .../private}/kbn-health-gateway-server/src/server/server.ts | 0 .../src/server/server_config.test.ts | 0 .../kbn-health-gateway-server/src/server/server_config.ts | 0 .../private}/kbn-health-gateway-server/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 37 files changed, 13 insertions(+), 13 deletions(-) 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%) rename {packages => src/platform/packages/private}/kbn-health-gateway-server/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7245c54b32527..06ddaf0e0e580 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -217,7 +217,6 @@ packages/kbn-grid-layout @elastic/kibana-presentation packages/kbn-grouping @elastic/response-ops packages/kbn-guided-onboarding @elastic/appex-sharedux packages/kbn-handlebars @elastic/kibana-security -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 @@ -562,6 +561,7 @@ src/platform/packages/private/kbn-apm-config-loader @elastic/kibana-core @vignes 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 diff --git a/package.json b/package.json index c9fd9517228c0..8eeb4fef3a382 100644 --- a/package.json +++ b/package.json @@ -561,7 +561,7 @@ "@kbn/handlebars": "link:packages/kbn-handlebars", "@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/plugins/home", "@kbn/home-sample-data-card": "link:packages/home/sample_data_card", 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/packages/kbn-health-gateway-server/jest.config.js b/src/platform/packages/private/kbn-health-gateway-server/jest.config.js similarity index 82% rename from packages/kbn-health-gateway-server/jest.config.js rename to src/platform/packages/private/kbn-health-gateway-server/jest.config.js index 25732297279b1..b115c05ab1006 100644 --- a/packages/kbn-health-gateway-server/jest.config.js +++ b/src/platform/packages/private/kbn-health-gateway-server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-health-gateway-server'], + 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/tsconfig.base.json b/tsconfig.base.json index 12dd45107f6c4..9b1fd19805fd5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1026,8 +1026,8 @@ "@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/plugins/home"], diff --git a/yarn.lock b/yarn.lock index c2691dafed835..85b38c5bdda9e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5869,7 +5869,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 "" From 4a8764a2c7b3a12f4fe39dd8527aef24dec30088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:50:54 +0100 Subject: [PATCH 156/183] Relocating module `@kbn/i18n` --- .../scripts/pipelines/pull_request/pipeline.ts | 4 ++-- .github/CODEOWNERS | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 2 +- docs/developer/best-practices/index.asciidoc | 2 +- docs/developer/plugin-list.asciidoc | 2 +- .../plugin/external-plugin-localization.asciidoc | 8 ++++---- package.json | 2 +- packages/README.md | 2 +- packages/kbn-bfetch-error/BUILD.bazel | 2 +- packages/kbn-es-query/BUILD.bazel | 2 +- packages/kbn-flot-charts/BUILD.bazel | 2 +- packages/kbn-i18n-react/BUILD.bazel | 2 +- packages/kbn-monaco/BUILD.bazel | 2 +- packages/kbn-search-errors/BUILD.bazel | 2 +- packages/kbn-ui-shared-deps-src/BUILD.bazel | 2 +- .../extract_untracked_translations.ts | 2 +- .../kbn-esql-validation-autocomplete/BUILD.bazel | 2 +- .../platform/packages/shared}/kbn-i18n/BUILD.bazel | 0 .../platform/packages/shared}/kbn-i18n/GUIDELINE.md | 0 .../platform/packages/shared}/kbn-i18n/README.md | 2 +- .../platform/packages/shared}/kbn-i18n/index.ts | 0 .../packages/shared}/kbn-i18n/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-i18n/kibana.jsonc | 0 .../platform/packages/shared}/kbn-i18n/package.json | 0 .../test_plugin_1/translations/en-US.json | 0 .../__fixtures__/test_plugin_1/translations/en.json | 0 .../__fixtures__/test_plugin_2/translations/en.json | 0 .../__fixtures__/test_plugin_2/translations/fr.json | 0 .../__fixtures__/test_plugin_2/translations/ru.json | 0 .../kbn-i18n/src/__snapshots__/loader.test.ts.snap | 0 .../packages/shared}/kbn-i18n/src/browser.ts | 0 .../src/core/__snapshots__/i18n.test.ts.snap | 12 ++++++------ .../shared}/kbn-i18n/src/core/error_handler.ts | 0 .../packages/shared}/kbn-i18n/src/core/formats.ts | 0 .../packages/shared}/kbn-i18n/src/core/i18n.test.ts | 0 .../packages/shared}/kbn-i18n/src/core/i18n.ts | 0 .../packages/shared}/kbn-i18n/src/core/index.ts | 0 .../packages/shared}/kbn-i18n/src/core/types.ts | 0 .../packages/shared}/kbn-i18n/src/loader.test.ts | 0 .../platform/packages/shared}/kbn-i18n/src/loader.ts | 0 .../packages/shared}/kbn-i18n/src/translation.ts | 0 .../platform/packages/shared}/kbn-i18n/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- .../plugins/private/translations/README.asciidoc | 2 +- x-pack/plugins/canvas/i18n/README.md | 2 +- yarn.lock | 2 +- 46 files changed, 36 insertions(+), 36 deletions(-) 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%) rename {packages => src/platform/packages/shared}/kbn-i18n/jest.config.js (84%) 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%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index c09bf3c212bb8..f9f95bc66f17d 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -297,8 +297,8 @@ const getPipeline = (filename: string, removeSteps = true) => { /^packages\/kbn-doc-links/, /^packages\/kbn-dom-drag-drop/, /^packages\/kbn-es-query/, - /^packages\/kbn-i18n/, - /^packages\/kbn-i18n-react/, + /^src\/platform\/packages\/shared\/kbn-i18n/, + /^src\/platform\/packages\/shared\/kbn-i18n-react/, /^packages\/kbn-grouping/, /^packages\/kbn-resizable-layout/, /^packages\/kbn-rison/, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 06ddaf0e0e580..2e27419e7897f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -217,7 +217,6 @@ packages/kbn-grid-layout @elastic/kibana-presentation packages/kbn-grouping @elastic/response-ops packages/kbn-guided-onboarding @elastic/appex-sharedux packages/kbn-handlebars @elastic/kibana-security -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 @@ -585,6 +584,7 @@ src/platform/packages/shared/kbn-es-types @elastic/kibana-core @elastic/obs-know 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 +src/platform/packages/shared/kbn-i18n @elastic/kibana-core src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-management/cards_navigation @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_input @elastic/kibana-management 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/docs/developer/best-practices/index.asciidoc b/docs/developer/best-practices/index.asciidoc index 57a10ee06a697..e7a783823e1e8 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/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 6c86f27201360..36121c603fc69 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -953,7 +953,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/plugins/triggers_actions_ui/README.md[triggersActionsUi] 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/package.json b/package.json index 8eeb4fef3a382..2945383d20549 100644 --- a/package.json +++ b/package.json @@ -567,7 +567,7 @@ "@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": "link:src/platform/packages/shared/kbn-i18n", "@kbn/i18n-react": "link:packages/kbn-i18n-react", "@kbn/iframe-embedded-plugin": "link:x-pack/test/functional_embedded/plugins/iframe_embedded", "@kbn/image-embeddable-plugin": "link:src/plugins/image_embeddable", 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/kbn-bfetch-error/BUILD.bazel b/packages/kbn-bfetch-error/BUILD.bazel index 88cb5bbe5b9e8..a9ff70594e511 100644 --- a/packages/kbn-bfetch-error/BUILD.bazel +++ b/packages/kbn-bfetch-error/BUILD.bazel @@ -22,7 +22,7 @@ SRCS = glob( ) BUNDLER_DEPS = [ - "//packages/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n", "@npm//tslib", ] diff --git a/packages/kbn-es-query/BUILD.bazel b/packages/kbn-es-query/BUILD.bazel index 8d064f3e1262a..6e57bdfbea513 100644 --- a/packages/kbn-es-query/BUILD.bazel +++ b/packages/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-flot-charts/BUILD.bazel b/packages/kbn-flot-charts/BUILD.bazel index 88b7b4a553e36..a5c98d8f65ded 100644 --- a/packages/kbn-flot-charts/BUILD.bazel +++ b/packages/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/packages/kbn-i18n-react/BUILD.bazel index 96b7ead491a34..38514770d3a62 100644 --- a/packages/kbn-i18n-react/BUILD.bazel +++ b/packages/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-monaco/BUILD.bazel b/packages/kbn-monaco/BUILD.bazel index c21c6b3cbf71d..e97a1f4442b57 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", "//packages/kbn-ui-theme", "//src/platform/packages/shared/kbn-esql-validation-autocomplete", "//src/platform/packages/shared/kbn-esql-ast", diff --git a/packages/kbn-search-errors/BUILD.bazel b/packages/kbn-search-errors/BUILD.bazel index b25a9f900f214..21f37276c31d7 100644 --- a/packages/kbn-search-errors/BUILD.bazel +++ b/packages/kbn-search-errors/BUILD.bazel @@ -23,7 +23,7 @@ SRCS = glob( BUNDLER_DEPS = [ "//packages/kbn-bfetch-error", - "//packages/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n", "@npm//@elastic/elasticsearch", "@npm//@elastic/eui", "@npm//react", diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index 6686a5c92462e..f8311af7f9bad 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -22,7 +22,7 @@ webpack_cli( "//packages/kbn-babel-preset", # packages included in the shared deps src bundle "//packages/kbn-ui-theme", - "//packages/kbn-i18n", + "//src/platform/packages/shared/kbn-i18n", "//packages/kbn-i18n-react", "//src/platform/packages/shared/kbn-ebt-tools", "//src/platform/packages/shared/kbn-esql-ast", 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..8dab99f98f682 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,7 +31,7 @@ export async function* extractUntrackedMessages(rootPath: string, definedPathsFo ...definedPathsForRoot, '**/build/**', '**/__fixtures__/**', - '**/packages/kbn-i18n/**', + '**/src/platform/packages/shared/kbn-i18n/**', '**/packages/kbn-i18n-react/**', '**/packages/kbn-plugin-generator/template/**', '**/test/**', 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/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/packages/kbn-i18n/jest.config.js b/src/platform/packages/shared/kbn-i18n/jest.config.js similarity index 84% rename from packages/kbn-i18n/jest.config.js rename to src/platform/packages/shared/kbn-i18n/jest.config.js index 7e7c5f9bd9e42..306de4e3ec898 100644 --- a/packages/kbn-i18n/jest.config.js +++ b/src/platform/packages/shared/kbn-i18n/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-i18n'], + 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/tsconfig.base.json b/tsconfig.base.json index 9b1fd19805fd5..159f3413d37ec 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1038,8 +1038,8 @@ "@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": ["src/platform/packages/shared/kbn-i18n"], + "@kbn/i18n/*": ["src/platform/packages/shared/kbn-i18n/*"], "@kbn/i18n-react": ["packages/kbn-i18n-react"], "@kbn/i18n-react/*": ["packages/kbn-i18n-react/*"], "@kbn/iframe-embedded-plugin": ["x-pack/test/functional_embedded/plugins/iframe_embedded"], 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/canvas/i18n/README.md b/x-pack/plugins/canvas/i18n/README.md index 42e088abaa320..5a7ed241d5b68 100644 --- a/x-pack/plugins/canvas/i18n/README.md +++ b/x-pack/plugins/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/yarn.lock b/yarn.lock index 85b38c5bdda9e..e386e34d6ce43 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5897,7 +5897,7 @@ 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 "" From 0d6d7cee50c7ac5b14e5e60537e78c1d02f65a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:52:08 +0100 Subject: [PATCH 157/183] Relocating module `@kbn/i18n-react` --- .github/CODEOWNERS | 2 +- package.json | 2 +- packages/kbn-ui-shared-deps-src/BUILD.bazel | 2 +- .../extract_untracked_translations.ts | 2 +- .../platform/packages/shared}/kbn-i18n-react/BUILD.bazel | 0 .../platform/packages/shared}/kbn-i18n-react/README.md | 0 .../platform/packages/shared}/kbn-i18n-react/index.tsx | 0 .../platform/packages/shared}/kbn-i18n-react/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-i18n-react/kibana.jsonc | 0 .../platform/packages/shared}/kbn-i18n-react/package.json | 0 .../kbn-i18n-react/src/__snapshots__/provider.test.tsx.snap | 0 .../shared}/kbn-i18n-react/src/compatiblity_layer.tsx | 0 .../platform/packages/shared}/kbn-i18n-react/src/inject.tsx | 0 .../packages/shared}/kbn-i18n-react/src/provider.test.tsx | 0 .../platform/packages/shared}/kbn-i18n-react/src/provider.tsx | 0 .../platform/packages/shared}/kbn-i18n-react/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 18 files changed, 10 insertions(+), 10 deletions(-) rename {packages => src/platform/packages/shared}/kbn-i18n-react/BUILD.bazel (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-i18n-react/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2e27419e7897f..0de1cfaac0cd0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -217,7 +217,6 @@ packages/kbn-grid-layout @elastic/kibana-presentation packages/kbn-grouping @elastic/response-ops packages/kbn-guided-onboarding @elastic/appex-sharedux packages/kbn-handlebars @elastic/kibana-security -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 @@ -585,6 +584,7 @@ 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 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-management/cards_navigation @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_input @elastic/kibana-management diff --git a/package.json b/package.json index 2945383d20549..1f06c6792ec3d 100644 --- a/package.json +++ b/package.json @@ -568,7 +568,7 @@ "@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:src/platform/packages/shared/kbn-i18n", - "@kbn/i18n-react": "link:packages/kbn-i18n-react", + "@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/plugins/image_embeddable", "@kbn/index-adapter": "link:x-pack/solutions/security/packages/index-adapter", diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index f8311af7f9bad..52897c39676ce 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -23,7 +23,7 @@ webpack_cli( # packages included in the shared deps src bundle "//packages/kbn-ui-theme", "//src/platform/packages/shared/kbn-i18n", - "//packages/kbn-i18n-react", + "//src/platform/packages/shared/kbn-i18n-react", "//src/platform/packages/shared/kbn-ebt-tools", "//src/platform/packages/shared/kbn-esql-ast", "//packages/kbn-monaco", 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 8dab99f98f682..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 @@ -32,7 +32,7 @@ export async function* extractUntrackedMessages(rootPath: string, definedPathsFo '**/build/**', '**/__fixtures__/**', '**/src/platform/packages/shared/kbn-i18n/**', - '**/packages/kbn-i18n-react/**', + '**/src/platform/packages/shared/kbn-i18n-react/**', '**/packages/kbn-plugin-generator/template/**', '**/test/**', '**/scripts/**', diff --git a/packages/kbn-i18n-react/BUILD.bazel b/src/platform/packages/shared/kbn-i18n-react/BUILD.bazel similarity index 100% rename from packages/kbn-i18n-react/BUILD.bazel rename to src/platform/packages/shared/kbn-i18n-react/BUILD.bazel 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/packages/kbn-i18n-react/jest.config.js b/src/platform/packages/shared/kbn-i18n-react/jest.config.js similarity index 84% rename from packages/kbn-i18n-react/jest.config.js rename to src/platform/packages/shared/kbn-i18n-react/jest.config.js index 4efbb8468bbc4..3861b8c93894a 100644 --- a/packages/kbn-i18n-react/jest.config.js +++ b/src/platform/packages/shared/kbn-i18n-react/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-i18n-react'], + 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/tsconfig.base.json b/tsconfig.base.json index 159f3413d37ec..90abb5884c4e7 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1040,8 +1040,8 @@ "@kbn/home-sample-data-types/*": ["packages/home/sample_data_types/*"], "@kbn/i18n": ["src/platform/packages/shared/kbn-i18n"], "@kbn/i18n/*": ["src/platform/packages/shared/kbn-i18n/*"], - "@kbn/i18n-react": ["packages/kbn-i18n-react"], - "@kbn/i18n-react/*": ["packages/kbn-i18n-react/*"], + "@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/plugins/image_embeddable"], diff --git a/yarn.lock b/yarn.lock index e386e34d6ce43..a3585adb56282 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5893,7 +5893,7 @@ 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 "" From 5318d6f9fae1bee0b232a23fbe704845892568d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:53:23 +0100 Subject: [PATCH 158/183] Relocating module `@kbn/kibana-usage-collection-plugin` --- .eslintrc.js | 4 ++-- .github/CODEOWNERS | 2 +- .telemetryrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/kibana_usage_collection/README.md | 0 .../private}/kibana_usage_collection/common/constants.ts | 0 .../private}/kibana_usage_collection/jest.config.js | 8 ++++---- .../kibana_usage_collection/jest.integration.config.js | 4 ++-- .../plugins/private}/kibana_usage_collection/kibana.jsonc | 0 .../kibana_usage_collection/public/ebt_counters/README.md | 0 .../kibana_usage_collection/public/ebt_counters/index.ts | 0 .../public/ebt_counters/register_ebt_counters.test.ts | 0 .../public/ebt_counters/register_ebt_counters.ts | 0 .../private}/kibana_usage_collection/public/index.ts | 0 .../kibana_usage_collection/public/plugin.test.mocks.ts | 0 .../kibana_usage_collection/public/plugin.test.ts | 0 .../private}/kibana_usage_collection/public/plugin.ts | 0 .../server/collectors/application_usage/README.md | 0 .../server/collectors/application_usage/constants.ts | 0 .../server/collectors/application_usage/index.ts | 0 .../server/collectors/application_usage/rollups/index.ts | 0 .../collectors/application_usage/rollups/total.test.ts | 0 .../server/collectors/application_usage/rollups/total.ts | 0 .../server/collectors/application_usage/rollups/utils.ts | 0 .../collectors/application_usage/saved_objects_types.ts | 0 .../server/collectors/application_usage/schema.ts | 0 .../telemetry_application_usage_collector.test.ts | 0 .../telemetry_application_usage_collector.ts | 0 .../server/collectors/application_usage/types.ts | 0 .../cloud/cloud_provider_collector.test.mocks.ts | 0 .../collectors/cloud/cloud_provider_collector.test.ts | 0 .../server/collectors/cloud/cloud_provider_collector.ts | 0 .../server/collectors/cloud/detector/aws.test.ts | 0 .../server/collectors/cloud/detector/aws.ts | 0 .../server/collectors/cloud/detector/azure.test.ts | 0 .../server/collectors/cloud/detector/azure.ts | 0 .../collectors/cloud/detector/cloud_detector.mock.ts | 0 .../collectors/cloud/detector/cloud_detector.test.ts | 0 .../server/collectors/cloud/detector/cloud_detector.ts | 0 .../collectors/cloud/detector/cloud_response.test.ts | 0 .../server/collectors/cloud/detector/cloud_response.ts | 0 .../collectors/cloud/detector/cloud_service.test.ts | 0 .../server/collectors/cloud/detector/cloud_service.ts | 0 .../server/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 .../common/__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 .../config_usage/register_config_usage_collector.test.ts | 0 .../config_usage/register_config_usage_collector.ts | 0 .../server/collectors/core/core_usage_collector.test.ts | 0 .../server/collectors/core/core_usage_collector.ts | 0 .../collectors/core/fetch_deprecated_api_counters.ts | 0 .../server/collectors/core/index.ts | 0 .../server/collectors/csp/csp_collector.test.ts | 0 .../server/collectors/csp/csp_collector.ts | 0 .../server/collectors/csp/index.ts | 0 .../server/collectors/event_loop_delays/constants.ts | 0 .../event_loop_delays_usage_collector.test.ts | 0 .../event_loop_delays_usage_collector.ts | 0 .../server/collectors/event_loop_delays/index.ts | 0 .../collectors/event_loop_delays/rollups/daily.test.ts | 0 .../server/collectors/event_loop_delays/rollups/daily.ts | 0 .../server/collectors/event_loop_delays/rollups/index.ts | 0 .../rollups/integration_tests/daily_rollups.test.ts | 0 .../collectors/event_loop_delays/saved_objects.test.ts | 0 .../server/collectors/event_loop_delays/saved_objects.ts | 0 .../server/collectors/event_loop_delays/schema.ts | 0 .../collectors/event_loop_delays/track_delays.test.ts | 0 .../server/collectors/event_loop_delays/track_delays.ts | 0 .../collectors/event_loop_delays/track_threshold.test.ts | 0 .../collectors/event_loop_delays/track_threshold.ts | 0 .../kibana_usage_collection/server/collectors/index.ts | 0 .../collectors/localization/file_integrity.test.mocks.ts | 0 .../server/collectors/localization/file_integrity.test.ts | 0 .../server/collectors/localization/file_integrity.ts | 0 .../server/collectors/localization/index.ts | 0 .../localization/telemetry_localization_collector.test.ts | 0 .../localization/telemetry_localization_collector.ts | 0 .../server/collectors/management/README.md | 0 .../server/collectors/management/index.ts | 0 .../server/collectors/management/schema.ts | 0 .../management/telemetry_management_collector.test.ts | 0 .../management/telemetry_management_collector.ts | 0 .../server/collectors/management/types.ts | 0 .../__snapshots__/ops_stats_collector.test.ts.snap | 0 .../server/collectors/ops_stats/index.ts | 0 .../collectors/ops_stats/ops_stats_collector.test.ts | 0 .../server/collectors/ops_stats/ops_stats_collector.ts | 0 .../get_saved_object_counts.test.ts | 0 .../get_saved_object_counts/get_saved_object_counts.ts | 0 .../saved_objects_counts/get_saved_object_counts/index.ts | 0 .../server/collectors/saved_objects_counts/index.ts | 0 .../saved_objects_counts/kibana_usage_collector.test.ts | 0 .../saved_objects_counts/kibana_usage_collector.ts | 0 .../saved_objects_count.test.mocks.ts | 0 .../saved_objects_count_collector.test.ts | 0 .../saved_objects_counts/saved_objects_count_collector.ts | 0 .../server/collectors/ui_counters/index.ts | 0 .../ui_counters/register_ui_counters_collector.test.ts | 0 .../ui_counters/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 .../collectors/ui_metric/telemetry_ui_metric_collector.ts | 0 .../server/collectors/usage_counters/index.ts | 0 .../register_usage_counters_collector.test.ts | 0 .../usage_counters/register_usage_counters_collector.ts | 0 .../kibana_usage_collection/server/ebt_counters/README.md | 0 .../kibana_usage_collection/server/ebt_counters/index.ts | 0 .../server/ebt_counters/register_ebt_counters.test.ts | 0 .../server/ebt_counters/register_ebt_counters.ts | 0 .../private}/kibana_usage_collection/server/index.ts | 0 .../kibana_usage_collection/server/plugin.test.mocks.ts | 0 .../kibana_usage_collection/server/plugin.test.ts | 0 .../private}/kibana_usage_collection/server/plugin.ts | 0 .../private}/kibana_usage_collection/tsconfig.json | 4 ++-- tsconfig.base.json | 4 ++-- .../plugins/observability/dev_docs/feature_flags.md | 2 +- .../test_suites/application_usage/index.ts | 2 +- .../test_suites/stack_management_usage/index.ts | 4 ++-- yarn.lock | 2 +- 127 files changed, 21 insertions(+), 21 deletions(-) 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%) rename src/{plugins => platform/plugins/private}/kibana_usage_collection/jest.config.js (71%) rename src/{plugins => 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 (100%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 0f27f68c5035f..ece8c765fea98 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1901,7 +1901,7 @@ module.exports = { files: [ 'src/platform/packages/shared/kbn-analytics/**', // 'packages/kbn-telemetry-tools/**', - 'src/plugins/kibana_usage_collection/**', + 'src/platform/plugins/private/kibana_usage_collection/**', 'src/plugins/usage_collection/**', 'src/plugins/telemetry/**', 'src/plugins/telemetry_collection_manager/**', @@ -1925,7 +1925,7 @@ module.exports = { 'src/plugins/saved_objects_management/**', 'src/platform/packages/shared/kbn-analytics/**', 'packages/kbn-telemetry-tools/**', - 'src/plugins/kibana_usage_collection/**', + 'src/platform/plugins/private/kibana_usage_collection/**', 'src/plugins/usage_collection/**', 'src/plugins/telemetry/**', 'src/plugins/telemetry_collection_manager/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0de1cfaac0cd0..8148d9663204d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -611,6 +611,7 @@ src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-manageme src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/private/ftr_apis @elastic/kibana-core +src/platform/plugins/private/kibana_usage_collection @elastic/kibana-core src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/dev_tools @elastic/kibana-management @@ -661,7 +662,6 @@ src/plugins/inspector @elastic/kibana-presentation src/plugins/interactive_setup @elastic/kibana-security src/plugins/kibana_overview @elastic/appex-sharedux src/plugins/kibana_react @elastic/appex-sharedux -src/plugins/kibana_usage_collection @elastic/kibana-core src/plugins/kibana_utils @elastic/appex-sharedux src/plugins/links @elastic/kibana-presentation src/plugins/maps_ems @elastic/kibana-presentation diff --git a/.telemetryrc.json b/.telemetryrc.json index 2387ef73c88ec..902ae82b6bd28 100644 --- a/.telemetryrc.json +++ b/.telemetryrc.json @@ -3,7 +3,7 @@ "output": "src/plugins/telemetry/schema/oss_plugins.json", "root": "src/plugins/", "exclude": [ - "src/plugins/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts" + "src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts" ] }, { diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 36121c603fc69..9bd7df8c6c249 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -246,7 +246,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. diff --git a/package.json b/package.json index 1f06c6792ec3d..ce7654d404a4e 100644 --- a/package.json +++ b/package.json @@ -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/plugins/kibana_overview", "@kbn/kibana-react-plugin": "link:src/plugins/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/plugins/kibana_utils", "@kbn/kubernetes-security-plugin": "link:x-pack/solutions/security/plugins/kubernetes_security", "@kbn/langchain": "link:x-pack/platform/packages/shared/kbn-langchain", 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/plugins/kibana_usage_collection/jest.config.js b/src/platform/plugins/private/kibana_usage_collection/jest.config.js similarity index 71% rename from src/plugins/kibana_usage_collection/jest.config.js rename to src/platform/plugins/private/kibana_usage_collection/jest.config.js index 71f668d5712e3..e30e3349b1e93 100644 --- a/src/plugins/kibana_usage_collection/jest.config.js +++ b/src/platform/plugins/private/kibana_usage_collection/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/kibana_usage_collection'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/kibana_usage_collection', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/kibana_usage_collection/{common,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/kibana_usage_collection/{common,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/kibana_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/kibana_usage_collection/jest.integration.config.js rename to src/platform/plugins/private/kibana_usage_collection/jest.integration.config.js index ee3d994d886fc..8bf4e92b730a1 100644 --- a/src/plugins/kibana_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/kibana_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 100% 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 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/tsconfig.base.json b/tsconfig.base.json index 90abb5884c4e7..7a54f7f8ef737 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1128,8 +1128,8 @@ "@kbn/kibana-overview-plugin/*": ["src/plugins/kibana_overview/*"], "@kbn/kibana-react-plugin": ["src/plugins/kibana_react"], "@kbn/kibana-react-plugin/*": ["src/plugins/kibana_react/*"], - "@kbn/kibana-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/plugins/kibana_utils"], "@kbn/kibana-utils-plugin/*": ["src/plugins/kibana_utils/*"], "@kbn/kubernetes-security-plugin": ["x-pack/solutions/security/plugins/kubernetes_security"], 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/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 a3585adb56282..8ad221550472b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 "" From 775209aece9552a06c11adcf7f44f33774524d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:54:40 +0100 Subject: [PATCH 159/183] Relocating module `@kbn/licensing-plugin` --- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- legacy_rfcs/text/0007_lifecycle_unblocked.md | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../plugins/shared}/licensing/README.md | 0 .../licensing/common/has_license_info_changed.test.ts | 0 .../shared}/licensing/common/has_license_info_changed.ts | 0 .../plugins/shared}/licensing/common/license.test.ts | 0 .../plugins/shared}/licensing/common/license.ts | 0 .../shared}/licensing/common/license_update.test.ts | 0 .../plugins/shared}/licensing/common/license_update.ts | 0 .../plugins/shared}/licensing/common/licensing.mock.ts | 0 .../common/register_analytics_context_provider.test.ts | 0 .../common/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 .../plugins/shared}/licensing/public/expired_banner.tsx | 0 .../plugins/shared}/licensing/public/index.ts | 0 .../plugins/shared}/licensing/public/mocks.ts | 0 .../plugins/shared}/licensing/public/plugin.test.mocks.ts | 0 .../plugins/shared}/licensing/public/plugin.test.ts | 0 .../plugins/shared}/licensing/public/plugin.ts | 0 .../public/services/feature_usage_service.mock.ts | 0 .../public/services/feature_usage_service.test.ts | 0 .../licensing/public/services/feature_usage_service.ts | 0 .../plugins/shared}/licensing/public/services/index.ts | 0 .../plugins/shared}/licensing/public/types.ts | 0 .../plugins/shared}/licensing/server/index.ts | 0 .../shared}/licensing/server/license_fetcher.test.ts | 0 .../plugins/shared}/licensing/server/license_fetcher.ts | 0 .../plugins/shared}/licensing/server/licensing_config.ts | 0 .../server/licensing_route_handler_context.test.ts | 0 .../licensing/server/licensing_route_handler_context.ts | 0 .../plugins/shared}/licensing/server/mocks.ts | 0 .../licensing/server/on_pre_response_handler.test.ts | 0 .../shared}/licensing/server/on_pre_response_handler.ts | 0 .../plugins/shared}/licensing/server/plugin.test.ts | 0 .../plugins/shared}/licensing/server/plugin.ts | 0 .../shared}/licensing/server/plugin_status.test.ts | 0 .../plugins/shared}/licensing/server/plugin_status.ts | 0 .../shared}/licensing/server/routes/feature_usage.ts | 0 .../plugins/shared}/licensing/server/routes/index.ts | 0 .../plugins/shared}/licensing/server/routes/info.ts | 0 .../shared}/licensing/server/routes/internal/index.ts | 0 .../server/routes/internal/notify_feature_usage.ts | 0 .../licensing/server/routes/internal/register_feature.ts | 0 .../server/services/feature_usage_service.mock.ts | 0 .../server/services/feature_usage_service.test.ts | 0 .../licensing/server/services/feature_usage_service.ts | 0 .../plugins/shared}/licensing/server/services/index.ts | 0 .../plugins/shared}/licensing/server/types.ts | 0 .../server/wrap_route_with_license_check.test.ts | 0 .../licensing/server/wrap_route_with_license_check.ts | 0 .../plugins/shared}/licensing/tsconfig.json | 2 +- yarn.lock | 2 +- 59 files changed, 14 insertions(+), 14 deletions(-) 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 => platform/plugins/shared}/licensing/jest.config.js (61%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index ece8c765fea98..76a23e29db197 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1917,7 +1917,7 @@ module.exports = { // core-team owned code 'src/core/**', 'x-pack/platform/plugins/shared/features/**', - 'x-pack/plugins/licensing/**', + 'x-pack/platform/plugins/shared/licensing/**', 'x-pack/plugins/global_search/**', 'x-pack/platform/plugins/shared/cloud/**', 'src/platform/packages/shared/kbn-config-schema', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8148d9663204d..149ddd44a4683 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -867,6 +867,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/ml @elastic/ml-ui x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows @@ -895,7 +896,6 @@ x-pack/plugins/global_search_providers @elastic/appex-sharedux x-pack/plugins/graph @elastic/kibana-visualizations x-pack/plugins/index_management @elastic/kibana-management x-pack/plugins/lens @elastic/kibana-visualizations -x-pack/plugins/licensing @elastic/kibana-core x-pack/plugins/logstash @elastic/logstash x-pack/plugins/maps @elastic/kibana-presentation x-pack/plugins/monitoring @elastic/stack-monitoring diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 9bd7df8c6c249..5dc30bbcc7531 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -690,7 +690,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. 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 ce7654d404a4e..05f78d4f94db3 100644 --- a/package.json +++ b/package.json @@ -617,7 +617,7 @@ "@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/plugins/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", diff --git a/tsconfig.base.json b/tsconfig.base.json index 7a54f7f8ef737..67b5be34c636a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -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/plugins/links"], "@kbn/links-plugin/*": ["src/plugins/links/*"], "@kbn/lint-packages-cli": ["packages/kbn-lint-packages-cli"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 2e08502af3a54..956d48ffc29c1 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -74,7 +74,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": [ "plugins/logstash" 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/licensing/jest.config.js b/x-pack/platform/plugins/shared/licensing/jest.config.js similarity index 61% rename from x-pack/plugins/licensing/jest.config.js rename to x-pack/platform/plugins/shared/licensing/jest.config.js index 5c5276534ebed..e979e1c62632c 100644 --- a/x-pack/plugins/licensing/jest.config.js +++ b/x-pack/platform/plugins/shared/licensing/jest.config.js @@ -7,9 +7,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/licensing'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/licensing', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/licensing'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/licensing', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/licensing/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/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/yarn.lock b/yarn.lock index 8ad221550472b..a03175a0b3620 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 "" From 260ad7025c3c7036002c3049d0fea3790b2b0d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:55:57 +0100 Subject: [PATCH 160/183] Relocating module `@kbn/logging` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-logging/README.md | 0 .../platform/packages/shared}/kbn-logging/index.ts | 0 .../platform/packages/shared}/kbn-logging/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-logging/kibana.jsonc | 0 .../platform/packages/shared}/kbn-logging/package.json | 0 .../platform/packages/shared}/kbn-logging/src/appenders.ts | 0 .../platform/packages/shared}/kbn-logging/src/layout.ts | 0 .../packages/shared}/kbn-logging/src/log_level.test.ts | 0 .../platform/packages/shared}/kbn-logging/src/log_level.ts | 0 .../platform/packages/shared}/kbn-logging/src/log_meta.ts | 0 .../platform/packages/shared}/kbn-logging/src/log_record.ts | 0 .../platform/packages/shared}/kbn-logging/src/logger.ts | 0 .../packages/shared}/kbn-logging/src/logger_factory.ts | 0 .../platform/packages/shared}/kbn-logging/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 18 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/shared}/kbn-logging/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-logging/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-logging/jest.config.js (84%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 149ddd44a4683..46e17cada2314 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -230,7 +230,6 @@ packages/kbn-lens-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/ 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 @@ -586,6 +585,7 @@ src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-es 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-logging @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 diff --git a/package.json b/package.json index 05f78d4f94db3..d655cc3d3f087 100644 --- a/package.json +++ b/package.json @@ -623,7 +623,7 @@ "@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": "link:src/platform/packages/shared/kbn-logging", "@kbn/logging-mocks": "link:packages/kbn-logging-mocks", "@kbn/logs-data-access-plugin": "link:x-pack/plugins/observability_solution/logs_data_access", "@kbn/logs-explorer-plugin": "link:x-pack/plugins/observability_solution/logs_explorer", 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/packages/kbn-logging/jest.config.js b/src/platform/packages/shared/kbn-logging/jest.config.js similarity index 84% rename from packages/kbn-logging/jest.config.js rename to src/platform/packages/shared/kbn-logging/jest.config.js index e4d766636d9fc..8254c461effc1 100644 --- a/packages/kbn-logging/jest.config.js +++ b/src/platform/packages/shared/kbn-logging/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-logging'], + 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/tsconfig.base.json b/tsconfig.base.json index 67b5be34c636a..206145075d357 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1168,8 +1168,8 @@ "@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": ["src/platform/packages/shared/kbn-logging"], + "@kbn/logging/*": ["src/platform/packages/shared/kbn-logging/*"], "@kbn/logging-mocks": ["packages/kbn-logging-mocks"], "@kbn/logging-mocks/*": ["packages/kbn-logging-mocks/*"], "@kbn/logs-data-access-plugin": ["x-pack/plugins/observability_solution/logs_data_access"], diff --git a/yarn.lock b/yarn.lock index a03175a0b3620..643194f03df0e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6157,7 +6157,7 @@ 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 "" From 5c8ded1680bca06fc08e04ecc7d0eff59c957b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:57:16 +0100 Subject: [PATCH 161/183] Relocating module `@kbn/logging-mocks` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-logging-mocks/index.ts | 0 .../platform/packages/shared}/kbn-logging-mocks/kibana.jsonc | 0 .../platform/packages/shared}/kbn-logging-mocks/package.json | 0 .../packages/shared}/kbn-logging-mocks/src/logger.mock.ts | 0 .../platform/packages/shared}/kbn-logging-mocks/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 9 files changed, 6 insertions(+), 6 deletions(-) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 46e17cada2314..e97be36b4b170 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -230,7 +230,6 @@ packages/kbn-lens-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/ 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-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 @@ -586,6 +585,7 @@ 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-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 diff --git a/package.json b/package.json index d655cc3d3f087..23bbe6ce7f9e0 100644 --- a/package.json +++ b/package.json @@ -624,7 +624,7 @@ "@kbn/locator-examples-plugin": "link:examples/locator_examples", "@kbn/locator-explorer-plugin": "link:examples/locator_explorer", "@kbn/logging": "link:src/platform/packages/shared/kbn-logging", - "@kbn/logging-mocks": "link:packages/kbn-logging-mocks", + "@kbn/logging-mocks": "link:src/platform/packages/shared/kbn-logging-mocks", "@kbn/logs-data-access-plugin": "link:x-pack/plugins/observability_solution/logs_data_access", "@kbn/logs-explorer-plugin": "link:x-pack/plugins/observability_solution/logs_explorer", "@kbn/logs-shared-plugin": "link:x-pack/plugins/observability_solution/logs_shared", 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/tsconfig.base.json b/tsconfig.base.json index 206145075d357..aa10131071837 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1170,8 +1170,8 @@ "@kbn/locator-explorer-plugin/*": ["examples/locator_explorer/*"], "@kbn/logging": ["src/platform/packages/shared/kbn-logging"], "@kbn/logging/*": ["src/platform/packages/shared/kbn-logging/*"], - "@kbn/logging-mocks": ["packages/kbn-logging-mocks"], - "@kbn/logging-mocks/*": ["packages/kbn-logging-mocks/*"], + "@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/plugins/observability_solution/logs_data_access"], "@kbn/logs-data-access-plugin/*": ["x-pack/plugins/observability_solution/logs_data_access/*"], "@kbn/logs-explorer-plugin": ["x-pack/plugins/observability_solution/logs_explorer"], diff --git a/yarn.lock b/yarn.lock index 643194f03df0e..d5495dd2e1bbf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6153,7 +6153,7 @@ 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 "" From 78f9b353e8f1bd19f894249b64fa57fc6075e820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 04:58:38 +0100 Subject: [PATCH 162/183] Relocating module `@kbn/newsfeed-plugin` --- .github/CODEOWNERS | 6 +++--- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/shared}/newsfeed/README.md | 0 .../plugins/shared}/newsfeed/common/constants.ts | 0 .../plugins/shared}/newsfeed/jest.config.js | 8 ++++---- .../plugins/shared}/newsfeed/kibana.jsonc | 0 .../components/__snapshots__/empty_news.test.tsx.snap | 0 .../components/__snapshots__/loading_news.test.tsx.snap | 0 .../newsfeed/public/components/empty_news.test.tsx | 0 .../shared}/newsfeed/public/components/empty_news.tsx | 0 .../shared}/newsfeed/public/components/flyout_list.tsx | 0 .../newsfeed/public/components/loading_news.test.tsx | 0 .../shared}/newsfeed/public/components/loading_news.tsx | 0 .../public/components/newsfeed_header_nav_button.tsx | 0 .../plugins/shared}/newsfeed/public/index.ts | 0 .../plugins/shared}/newsfeed/public/lib/api.test.mocks.ts | 0 .../plugins/shared}/newsfeed/public/lib/api.test.ts | 0 .../plugins/shared}/newsfeed/public/lib/api.ts | 0 .../shared}/newsfeed/public/lib/convert_items.test.ts | 0 .../plugins/shared}/newsfeed/public/lib/convert_items.ts | 0 .../plugins/shared}/newsfeed/public/lib/driver.mock.ts | 0 .../shared}/newsfeed/public/lib/driver.test.mocks.ts | 0 .../plugins/shared}/newsfeed/public/lib/driver.test.ts | 0 .../plugins/shared}/newsfeed/public/lib/driver.ts | 0 .../shared}/newsfeed/public/lib/never_fetch_driver.ts | 0 .../plugins/shared}/newsfeed/public/lib/storage.mock.ts | 0 .../plugins/shared}/newsfeed/public/lib/storage.test.ts | 0 .../plugins/shared}/newsfeed/public/lib/storage.ts | 0 .../plugins/shared}/newsfeed/public/lib/types.ts | 0 .../plugins/shared}/newsfeed/public/plugin.test.ts | 0 .../plugins/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 ++-- test/common/plugins/newsfeed/server/plugin.ts | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 41 files changed, 16 insertions(+), 16 deletions(-) rename src/{plugins => platform/plugins/shared}/newsfeed/README.md (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/newsfeed/jest.config.js (72%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e97be36b4b170..075131f461fe3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -619,6 +619,7 @@ src/platform/plugins/shared/es_ui_shared @elastic/kibana-management src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/management @elastic/kibana-management +src/platform/plugins/shared/newsfeed @elastic/kibana-core src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux src/plugins/chart_expressions/common @elastic/kibana-visualizations @@ -666,7 +667,6 @@ src/plugins/kibana_utils @elastic/appex-sharedux src/plugins/links @elastic/kibana-presentation src/plugins/maps_ems @elastic/kibana-presentation src/plugins/navigation @elastic/appex-sharedux -src/plugins/newsfeed @elastic/kibana-core src/plugins/no_data_page @elastic/appex-sharedux src/plugins/presentation_panel @elastic/kibana-presentation src/plugins/presentation_util @elastic/kibana-presentation @@ -1790,7 +1790,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 @@ -1828,7 +1828,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql #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 diff --git a/.i18nrc.json b/.i18nrc.json index aca90ae181412..2888b594f5db6 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -99,7 +99,7 @@ "monaco": "packages/kbn-monaco/src", "navigation": ["src/plugins/navigation", "packages/solution-nav"], "links": "src/plugins/links", - "newsfeed": "src/plugins/newsfeed", + "newsfeed": "src/platform/plugins/shared/newsfeed", "presentationUtil": "src/plugins/presentation_util", "randomSampling": "x-pack/packages/kbn-random-sampling", "reactPackages": "packages/react", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 5dc30bbcc7531..53be545139e8e 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -273,7 +273,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. diff --git a/package.json b/package.json index 23bbe6ce7f9e0..20e354fa8bb5d 100644 --- a/package.json +++ b/package.json @@ -686,7 +686,7 @@ "@kbn/monitoring-collection-plugin": "link:x-pack/plugins/monitoring_collection", "@kbn/monitoring-plugin": "link:x-pack/plugins/monitoring", "@kbn/navigation-plugin": "link:src/plugins/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/plugins/no_data_page", "@kbn/notifications-plugin": "link:x-pack/plugins/notifications", 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/newsfeed/jest.config.js b/src/platform/plugins/shared/newsfeed/jest.config.js similarity index 72% rename from src/plugins/newsfeed/jest.config.js rename to src/platform/plugins/shared/newsfeed/jest.config.js index 0a3a3c308e507..c97d47e6a159a 100644 --- a/src/plugins/newsfeed/jest.config.js +++ b/src/platform/plugins/shared/newsfeed/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/newsfeed'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/newsfeed', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/newsfeed'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/newsfeed', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/newsfeed/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/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/test/common/plugins/newsfeed/server/plugin.ts b/test/common/plugins/newsfeed/server/plugin.ts index c4c242fa49dcf..80bd84b7d699b 100644 --- a/test/common/plugins/newsfeed/server/plugin.ts +++ b/test/common/plugins/newsfeed/server/plugin.ts @@ -46,7 +46,7 @@ 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/tsconfig.base.json b/tsconfig.base.json index aa10131071837..348c0f491a683 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1306,8 +1306,8 @@ "@kbn/monitoring-plugin/*": ["x-pack/plugins/monitoring/*"], "@kbn/navigation-plugin": ["src/plugins/navigation"], "@kbn/navigation-plugin/*": ["src/plugins/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/plugins/no_data_page"], diff --git a/yarn.lock b/yarn.lock index d5495dd2e1bbf..c54bc8d03e002 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 "" From fca20f8c3191d1e6e68a1c685c7484d7106ec054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:00:01 +0100 Subject: [PATCH 163/183] Relocating module `@kbn/router-to-openapispec` --- .github/CODEOWNERS | 2 +- package.json | 2 +- src/dev/precommit_hook/casing_check_config.js | 2 +- .../packages/shared}/kbn-router-to-openapispec/README.md | 0 .../packages/shared}/kbn-router-to-openapispec/index.ts | 0 .../packages/shared}/kbn-router-to-openapispec/jest.config.js | 4 ++-- .../packages/shared}/kbn-router-to-openapispec/kibana.jsonc | 0 .../shared}/kbn-router-to-openapispec/openapi-types.d.ts | 0 .../packages/shared}/kbn-router-to-openapispec/package.json | 0 .../src/__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 .../kbn-router-to-openapispec/src/generate_oas.test.ts | 0 .../kbn-router-to-openapispec/src/generate_oas.test.util.ts | 0 .../shared}/kbn-router-to-openapispec/src/generate_oas.ts | 0 .../kbn-router-to-openapispec/src/oas_converter/catch_all.ts | 0 .../src/oas_converter/common.test.ts | 0 .../kbn-router-to-openapispec/src/oas_converter/common.ts | 0 .../kbn-router-to-openapispec/src/oas_converter/index.test.ts | 0 .../kbn-router-to-openapispec/src/oas_converter/index.ts | 0 .../src/oas_converter/kbn_config_schema/index.ts | 0 .../src/oas_converter/kbn_config_schema/lib.test.ts | 0 .../src/oas_converter/kbn_config_schema/lib.test.util.ts | 0 .../src/oas_converter/kbn_config_schema/lib.ts | 0 .../src/oas_converter/kbn_config_schema/parse.test.ts | 0 .../src/oas_converter/kbn_config_schema/parse.ts | 0 .../kbn_config_schema/post_process_mutations/context.test.ts | 0 .../kbn_config_schema/post_process_mutations/context.ts | 0 .../kbn_config_schema/post_process_mutations/index.test.ts | 0 .../kbn_config_schema/post_process_mutations/index.ts | 0 .../post_process_mutations/mutations/enum.test.ts | 0 .../post_process_mutations/mutations/enum.ts | 0 .../post_process_mutations/mutations/index.test.ts | 0 .../post_process_mutations/mutations/index.ts | 0 .../post_process_mutations/mutations/object.test.ts | 0 .../post_process_mutations/mutations/object.ts | 0 .../post_process_mutations/mutations/utils.test.ts | 0 .../post_process_mutations/mutations/utils.ts | 0 .../kbn-router-to-openapispec/src/oas_converter/zod/index.ts | 0 .../src/oas_converter/zod/lib.test.ts | 0 .../src/oas_converter/zod/lib.test.util.ts | 0 .../kbn-router-to-openapispec/src/oas_converter/zod/lib.ts | 0 .../kbn-router-to-openapispec/src/process_router.test.ts | 0 .../shared}/kbn-router-to-openapispec/src/process_router.ts | 0 .../src/process_versioned_router.test.ts | 0 .../kbn-router-to-openapispec/src/process_versioned_router.ts | 0 .../packages/shared}/kbn-router-to-openapispec/src/type.ts | 0 .../shared}/kbn-router-to-openapispec/src/util.test.ts | 0 .../packages/shared}/kbn-router-to-openapispec/src/util.ts | 0 .../packages/shared}/kbn-router-to-openapispec/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 53 files changed, 9 insertions(+), 9 deletions(-) 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%) rename {packages => src/platform/packages/shared}/kbn-router-to-openapispec/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 075131f461fe3..048f723c9bc36 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -282,7 +282,6 @@ packages/kbn-reporting/public @elastic/appex-sharedux packages/kbn-reporting/server @elastic/appex-sharedux packages/kbn-resizable-layout @elastic/kibana-data-discovery packages/kbn-rison @elastic/kibana-operations -packages/kbn-router-to-openapispec @elastic/kibana-core packages/kbn-router-utils @elastic/obs-ux-logs-team packages/kbn-rrule @elastic/response-ops packages/kbn-safer-lodash-set @elastic/kibana-security @@ -594,6 +593,7 @@ src/platform/packages/shared/kbn-management/settings/types @elastic/kibana-manag src/platform/packages/shared/kbn-management/settings/utilities @elastic/kibana-management src/platform/packages/shared/kbn-openapi-common @elastic/security-detection-rule-management src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management +src/platform/packages/shared/kbn-router-to-openapispec @elastic/kibana-core src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine diff --git a/package.json b/package.json index 20e354fa8bb5d..1ad28fc811f7b 100644 --- a/package.json +++ b/package.json @@ -769,7 +769,7 @@ "@kbn/rison": "link:packages/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:packages/kbn-router-utils", "@kbn/routing-example-plugin": "link:examples/routing_example", "@kbn/rrule": "link:packages/kbn-rrule", diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index d6b4c60749130..be0de30e2bd28 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.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/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/packages/kbn-router-to-openapispec/jest.config.js b/src/platform/packages/shared/kbn-router-to-openapispec/jest.config.js similarity index 82% rename from packages/kbn-router-to-openapispec/jest.config.js rename to src/platform/packages/shared/kbn-router-to-openapispec/jest.config.js index 0bc574d2af5c7..8eb538c114952 100644 --- a/packages/kbn-router-to-openapispec/jest.config.js +++ b/src/platform/packages/shared/kbn-router-to-openapispec/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-router-to-openapispec'], + 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/tsconfig.base.json b/tsconfig.base.json index 348c0f491a683..9b252949e164a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -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": ["packages/kbn-router-utils"], "@kbn/router-utils/*": ["packages/kbn-router-utils/*"], "@kbn/routing-example-plugin": ["examples/routing_example"], diff --git a/yarn.lock b/yarn.lock index c54bc8d03e002..75d9e2c82f3e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 "" From 2fcbdb0760a47d269ec96044f8a8902474dbb03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:01:26 +0100 Subject: [PATCH 164/183] Relocating module `@kbn/saved-objects-management-plugin` --- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/shared}/saved_objects_management/README.md | 0 .../shared}/saved_objects_management/common/index.ts | 0 .../saved_objects_management/common/types/README.md | 0 .../saved_objects_management/common/types/index.ts | 0 .../saved_objects_management/common/types/latest.ts | 0 .../shared}/saved_objects_management/common/types/v1.ts | 0 .../shared}/saved_objects_management/jest.config.js | 8 ++++---- .../plugins/shared}/saved_objects_management/kibana.jsonc | 0 .../shared}/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 .../public/lib/fetch_export_by_type_and_search.ts | 0 .../public/lib/fetch_export_objects.ts | 0 .../saved_objects_management/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 .../saved_objects_management/public/lib/import_file.ts | 0 .../shared}/saved_objects_management/public/lib/index.ts | 0 .../saved_objects_management/public/lib/numeric.ts | 0 .../public/lib/parse_query.test.ts | 0 .../saved_objects_management/public/lib/parse_query.ts | 0 .../public/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 .../public/management_section/mount_section.tsx | 0 .../__snapshots__/saved_object_view.test.tsx.snap | 0 .../components/__snapshots__/header.test.tsx.snap | 0 .../components/__snapshots__/inspect.test.tsx.snap | 0 .../__snapshots__/not_found_errors.test.tsx.snap | 0 .../object_view/components/header.test.tsx | 0 .../management_section/object_view/components/header.tsx | 0 .../management_section/object_view/components/index.ts | 0 .../object_view/components/inspect.test.tsx | 0 .../management_section/object_view/components/inspect.tsx | 0 .../object_view/components/not_found_errors.test.tsx | 0 .../object_view/components/not_found_errors.tsx | 0 .../public/management_section/object_view/index.ts | 0 .../management_section/object_view/saved_object_view.scss | 0 .../object_view/saved_object_view.test.mocks.ts | 0 .../object_view/saved_object_view.test.tsx | 0 .../management_section/object_view/saved_object_view.tsx | 0 .../__snapshots__/saved_objects_table.test.tsx.snap | 0 .../components/__snapshots__/flyout.test.tsx.snap | 0 .../components/__snapshots__/header.test.tsx.snap | 0 .../components/__snapshots__/relationships.test.tsx.snap | 0 .../components/__snapshots__/table.test.tsx.snap | 0 .../components/delete_confirm_modal.test.tsx | 0 .../objects_table/components/delete_confirm_modal.tsx | 0 .../objects_table/components/export_modal.test.tsx | 0 .../objects_table/components/export_modal.tsx | 0 .../objects_table/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 .../objects_table/components/import_mode_control.test.tsx | 0 .../objects_table/components/import_mode_control.tsx | 0 .../objects_table/components/import_summary.scss | 0 .../objects_table/components/import_summary.test.tsx | 0 .../objects_table/components/import_summary.tsx | 0 .../management_section/objects_table/components/index.ts | 0 .../objects_table/components/overwrite_modal.test.tsx | 0 .../objects_table/components/overwrite_modal.tsx | 0 .../objects_table/components/relationships.test.tsx | 0 .../objects_table/components/relationships.tsx | 0 .../objects_table/components/table.test.tsx | 0 .../management_section/objects_table/components/table.tsx | 0 .../public/management_section/objects_table/index.ts | 0 .../objects_table/saved_objects_table.test.mocks.ts | 0 .../objects_table/saved_objects_table.test.tsx | 0 .../objects_table/saved_objects_table.tsx | 0 .../management_section/saved_objects_edition_page.scss | 0 .../management_section/saved_objects_edition_page.tsx | 0 .../management_section/saved_objects_table_page.tsx | 0 .../shared}/saved_objects_management/public/mocks.ts | 0 .../saved_objects_management/public/plugin.test.ts | 0 .../shared}/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 .../actions/copy_saved_objects_to_space_action.tsx | 0 .../public/services/actions/index.ts | 0 .../actions/share_saved_objects_to_space_action.test.tsx | 0 .../actions/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 .../columns/share_saved_objects_to_space_column.tsx | 0 .../saved_objects_management/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 .../shared}/saved_objects_management/public/types.ts | 0 .../server/capabilities_provider.ts | 0 .../shared}/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 .../shared}/saved_objects_management/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 .../saved_objects_management/server/plugin.test.mocks.ts | 0 .../saved_objects_management/server/plugin.test.ts | 0 .../shared}/saved_objects_management/server/plugin.ts | 0 .../saved_objects_management/server/routes/bulk_delete.ts | 0 .../saved_objects_management/server/routes/bulk_get.ts | 0 .../saved_objects_management/server/routes/find.ts | 0 .../server/routes/get_allowed_types.ts | 0 .../saved_objects_management/server/routes/index.test.ts | 0 .../saved_objects_management/server/routes/index.ts | 0 .../server/routes/relationships.ts | 0 .../server/routes/scroll_count.ts | 0 .../saved_objects_management/server/services/index.ts | 0 .../server/services/management.mock.ts | 0 .../server/services/management.test.ts | 0 .../server/services/management.ts | 0 .../shared}/saved_objects_management/server/types.ts | 0 .../shared}/saved_objects_management/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 140 files changed, 13 insertions(+), 13 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/saved_objects_management/jest.config.js (71%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 76a23e29db197..19b395b56abfb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1922,7 +1922,7 @@ module.exports = { 'x-pack/platform/plugins/shared/cloud/**', 'src/platform/packages/shared/kbn-config-schema', 'src/plugins/status_page/**', - 'src/plugins/saved_objects_management/**', + 'src/platform/plugins/shared/saved_objects_management/**', 'src/platform/packages/shared/kbn-analytics/**', 'packages/kbn-telemetry-tools/**', 'src/platform/plugins/private/kibana_usage_collection/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 048f723c9bc36..d7481d29ea036 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -620,6 +620,7 @@ src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/management @elastic/kibana-management src/platform/plugins/shared/newsfeed @elastic/kibana-core +src/platform/plugins/shared/saved_objects_management @elastic/kibana-core src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux src/plugins/chart_expressions/common @elastic/kibana-visualizations @@ -672,7 +673,6 @@ src/plugins/presentation_panel @elastic/kibana-presentation src/plugins/presentation_util @elastic/kibana-presentation src/plugins/saved_objects @elastic/appex-sharedux src/plugins/saved_objects_finder @elastic/kibana-data-discovery -src/plugins/saved_objects_management @elastic/kibana-core src/plugins/saved_objects_tagging_oss @elastic/appex-sharedux src/plugins/saved_search @elastic/kibana-data-discovery src/plugins/screenshot_mode @elastic/appex-sharedux diff --git a/.i18nrc.json b/.i18nrc.json index 2888b594f5db6..090ccc185d76e 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -108,7 +108,7 @@ "reporting": "packages/kbn-reporting", "savedObjects": "src/plugins/saved_objects", "savedObjectsFinder": "src/plugins/saved_objects_finder", - "savedObjectsManagement": "src/plugins/saved_objects_management", + "savedObjectsManagement": "src/platform/plugins/shared/saved_objects_management", "searchConnectors": "packages/kbn-search-connectors", "searchConnectorsPlugin": "x-pack/plugins/search_connectors", "server": "src/legacy/server", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 53be545139e8e..bc5b8fd092e7d 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -298,7 +298,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. diff --git a/package.json b/package.json index 1ad28fc811f7b..d3c6cc2cca5d8 100644 --- a/package.json +++ b/package.json @@ -786,7 +786,7 @@ "@kbn/saved-objects-finder-plugin": "link:src/plugins/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/plugins/saved_objects", "@kbn/saved-objects-settings": "link:packages/kbn-saved-objects-settings", "@kbn/saved-objects-tagging-oss-plugin": "link:src/plugins/saved_objects_tagging_oss", 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/plugins/saved_objects_management/jest.config.js b/src/platform/plugins/shared/saved_objects_management/jest.config.js similarity index 71% rename from src/plugins/saved_objects_management/jest.config.js rename to src/platform/plugins/shared/saved_objects_management/jest.config.js index 19018815ad26d..e06cf47813410 100644 --- a/src/plugins/saved_objects_management/jest.config.js +++ b/src/platform/plugins/shared/saved_objects_management/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/saved_objects_management'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/saved_objects_management', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/saved_objects_management/{common,public,server}/**/*.{ts,tsx}', + '/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/tsconfig.base.json b/tsconfig.base.json index 9b252949e164a..ead692831adb1 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -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/plugins/saved_objects"], "@kbn/saved-objects-plugin/*": ["src/plugins/saved_objects/*"], "@kbn/saved-objects-settings": ["packages/kbn-saved-objects-settings"], diff --git a/yarn.lock b/yarn.lock index 75d9e2c82f3e9..66cbdf3c3bcc9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 "" From cbe647f5239b08f18eb2d5f38b323f985152ba37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:02:52 +0100 Subject: [PATCH 165/183] Relocating module `@kbn/server-http-tools` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-server-http-tools/README.md | 0 .../platform/packages/shared}/kbn-server-http-tools/index.ts | 0 .../packages/shared}/kbn-server-http-tools/jest.config.js | 4 ++-- .../packages/shared}/kbn-server-http-tools/kibana.jsonc | 0 .../packages/shared}/kbn-server-http-tools/package.json | 0 .../shared}/kbn-server-http-tools/src/create_server.ts | 0 .../src/default_validation_error_handler.test.ts | 0 .../src/default_validation_error_handler.ts | 0 .../kbn-server-http-tools/src/get_listener.test.mocks.ts | 0 .../shared}/kbn-server-http-tools/src/get_listener.test.ts | 0 .../shared}/kbn-server-http-tools/src/get_listener.ts | 0 .../shared}/kbn-server-http-tools/src/get_request_id.test.ts | 0 .../shared}/kbn-server-http-tools/src/get_request_id.ts | 0 .../src/get_server_options.test.mocks.ts | 0 .../kbn-server-http-tools/src/get_server_options.test.ts | 0 .../shared}/kbn-server-http-tools/src/get_server_options.ts | 0 .../shared}/kbn-server-http-tools/src/get_tls_options.test.ts | 0 .../shared}/kbn-server-http-tools/src/get_tls_options.ts | 0 .../kbn-server-http-tools/src/set_tls_config.test.mocks.ts | 0 .../shared}/kbn-server-http-tools/src/set_tls_config.test.ts | 0 .../shared}/kbn-server-http-tools/src/set_tls_config.ts | 0 .../shared}/kbn-server-http-tools/src/ssl/constants.ts | 0 .../packages/shared}/kbn-server-http-tools/src/ssl/index.ts | 0 .../kbn-server-http-tools/src/ssl/ssl_config.test.mocks.ts | 0 .../shared}/kbn-server-http-tools/src/ssl/ssl_config.test.ts | 0 .../shared}/kbn-server-http-tools/src/ssl/ssl_config.ts | 0 .../packages/shared}/kbn-server-http-tools/src/types.ts | 0 .../packages/shared}/kbn-server-http-tools/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 32 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages => src/platform/packages/shared}/kbn-server-http-tools/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d7481d29ea036..dc8797baa4852 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -300,7 +300,6 @@ packages/kbn-search-index-documents @elastic/search-kibana packages/kbn-search-response-warnings @elastic/kibana-data-discovery packages/kbn-search-types @elastic/kibana-data-discovery 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-svg @elastic/obs-ux-infra_services-team packages/kbn-shared-ux-utility @elastic/appex-sharedux @@ -600,6 +599,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 diff --git a/package.json b/package.json index d3c6cc2cca5d8..071c6b8bb9dc8 100644 --- a/package.json +++ b/package.json @@ -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", 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/packages/kbn-server-http-tools/jest.config.js b/src/platform/packages/shared/kbn-server-http-tools/jest.config.js similarity index 83% rename from packages/kbn-server-http-tools/jest.config.js rename to src/platform/packages/shared/kbn-server-http-tools/jest.config.js index ec92adf4094c6..47a7c47956a10 100644 --- a/packages/kbn-server-http-tools/jest.config.js +++ b/src/platform/packages/shared/kbn-server-http-tools/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-server-http-tools'], + 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/tsconfig.base.json b/tsconfig.base.json index ead692831adb1..2a67da35d949b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -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"], diff --git a/yarn.lock b/yarn.lock index 66cbdf3c3bcc9..731a9646b2aeb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 "" From 55d88d6e23cce4d43b47b7d9a166d7d12b01b889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:04:15 +0100 Subject: [PATCH 166/183] Relocating module `@kbn/std` --- .github/CODEOWNERS | 10 +++++----- package.json | 2 +- packages/kbn-ui-shared-deps-src/BUILD.bazel | 2 +- .../platform/packages/shared}/kbn-std/BUILD.bazel | 0 .../platform/packages/shared}/kbn-std/README.md | 0 .../platform/packages/shared}/kbn-std/index.ts | 0 .../platform/packages/shared}/kbn-std/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-std/kibana.jsonc | 0 .../platform/packages/shared}/kbn-std/package.json | 0 .../ensure_no_unsafe_properties.test.ts.snap | 0 .../shared}/kbn-std/src/__snapshots__/get.test.ts.snap | 0 .../packages/shared}/kbn-std/src/assert_never.ts | 0 .../packages/shared}/kbn-std/src/deep_freeze.test.ts | 0 .../packages/shared}/kbn-std/src/deep_freeze.ts | 0 .../shared}/kbn-std/src/ensure_deep_object.test.ts | 0 .../packages/shared}/kbn-std/src/ensure_deep_object.ts | 0 .../kbn-std/src/ensure_no_unsafe_properties.test.ts | 0 .../shared}/kbn-std/src/ensure_no_unsafe_properties.ts | 0 .../platform/packages/shared}/kbn-std/src/get.test.ts | 0 .../platform/packages/shared}/kbn-std/src/get.ts | 0 .../shared}/kbn-std/src/get_flattened_object.test.ts | 0 .../shared}/kbn-std/src/get_flattened_object.ts | 0 .../shared}/kbn-std/src/is_internal_url.test.ts | 4 ++-- .../packages/shared}/kbn-std/src/is_internal_url.ts | 0 .../shared}/kbn-std/src/iteration/for_each.test.ts | 0 .../packages/shared}/kbn-std/src/iteration/for_each.ts | 0 .../packages/shared}/kbn-std/src/iteration/index.ts | 0 .../packages/shared}/kbn-std/src/iteration/map.test.ts | 0 .../packages/shared}/kbn-std/src/iteration/map.ts | 0 .../shared}/kbn-std/src/iteration/observable.test.ts | 0 .../shared}/kbn-std/src/iteration/observable.ts | 0 .../shared}/kbn-std/src/iteration/test_helpers.ts | 0 .../packages/shared}/kbn-std/src/iteration/types.ts | 0 .../packages/shared}/kbn-std/src/map_to_object.ts | 0 .../packages/shared}/kbn-std/src/map_utils.test.ts | 0 .../platform/packages/shared}/kbn-std/src/map_utils.ts | 0 .../packages/shared}/kbn-std/src/merge.test.ts | 0 .../platform/packages/shared}/kbn-std/src/merge.ts | 0 .../shared}/kbn-std/src/parse_next_url.test.ts | 0 .../packages/shared}/kbn-std/src/parse_next_url.ts | 0 .../platform/packages/shared}/kbn-std/src/pick.test.ts | 0 .../platform/packages/shared}/kbn-std/src/pick.ts | 0 .../packages/shared}/kbn-std/src/promise.test.ts | 0 .../platform/packages/shared}/kbn-std/src/promise.ts | 0 .../packages/shared}/kbn-std/src/semaphore.test.ts | 0 .../platform/packages/shared}/kbn-std/src/semaphore.ts | 0 .../shared}/kbn-std/src/strip_version_qualifier.ts | 0 .../platform/packages/shared}/kbn-std/src/url.test.ts | 0 .../platform/packages/shared}/kbn-std/src/url.ts | 0 .../platform/packages/shared}/kbn-std/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 52 files changed, 15 insertions(+), 15 deletions(-) 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%) rename {packages => src/platform/packages/shared}/kbn-std/jest.config.js (85%) 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 (98%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index dc8797baa4852..365da3f808bf4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -306,7 +306,6 @@ 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 @@ -606,6 +605,7 @@ src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-know 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-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management @@ -1890,10 +1890,10 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi /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/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 diff --git a/package.json b/package.json index 071c6b8bb9dc8..cdf272b0abe42 100644 --- a/package.json +++ b/package.json @@ -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/synthetics-plugin": "link:x-pack/solutions/observability/plugins/synthetics", diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index 52897c39676ce..05bfddb0728db 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -32,7 +32,7 @@ webpack_cli( "//src/platform/packages/shared/kbn-crypto-browser", "//packages/kbn-es-query", "//packages/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/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/packages/kbn-std/jest.config.js b/src/platform/packages/shared/kbn-std/jest.config.js similarity index 85% rename from packages/kbn-std/jest.config.js rename to src/platform/packages/shared/kbn-std/jest.config.js index e24ea37abb5c3..c161cea12be7d 100644 --- a/packages/kbn-std/jest.config.js +++ b/src/platform/packages/shared/kbn-std/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-std'], + 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 98% 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 index 54afc034ffa36..487137d6a27a0 100644 --- a/packages/kbn-std/src/is_internal_url.test.ts +++ b/src/platform/packages/shared/kbn-std/src/is_internal_url.test.ts @@ -54,12 +54,12 @@ describe('isInternalURL', () => { }); it('should return `true` if relative path does not escape base path', () => { - const href = `${basePath}/app/kibana/../../management`; + const href = `${basePath}/app/kibana/../../../../../management`; expect(isInternalURL(href, basePath)).toBe(true); }); it('should return `false` if relative path escapes base path', () => { - const href = `${basePath}/app/kibana/../../../management`; + const href = `${basePath}/app/kibana/../../../../../../management`; expect(isInternalURL(href, basePath)).toBe(false); }); 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/tsconfig.base.json b/tsconfig.base.json index 2a67da35d949b..85d918d73e1a7 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -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"], diff --git a/yarn.lock b/yarn.lock index 731a9646b2aeb..e0b02804a7e5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 "" From d5880ce3660b8b43a7aadb877411fb6026c5ac5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:05:41 +0100 Subject: [PATCH 167/183] Relocating module `@kbn/telemetry-collection-manager-plugin` --- .eslintrc.js | 4 ++-- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../shared}/telemetry_collection_manager/README.md | 0 .../shared}/telemetry_collection_manager/common/index.ts | 0 .../shared}/telemetry_collection_manager/jest.config.js | 8 ++++---- .../shared}/telemetry_collection_manager/kibana.jsonc | 0 .../server/cache/cache_manager.test.ts | 0 .../server/cache/cache_manager.ts | 0 .../telemetry_collection_manager/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 .../shared}/telemetry_collection_manager/server/index.ts | 0 .../shared}/telemetry_collection_manager/server/mocks.ts | 0 .../telemetry_collection_manager/server/plugin.test.ts | 0 .../shared}/telemetry_collection_manager/server/plugin.ts | 0 .../server/telemetry_saved_objects_client.test.ts | 0 .../server/telemetry_saved_objects_client.ts | 0 .../shared}/telemetry_collection_manager/server/types.ts | 0 .../shared}/telemetry_collection_manager/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 26 files changed, 13 insertions(+), 13 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/telemetry_collection_manager/jest.config.js (65%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 19b395b56abfb..0cb2378f82a4b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1904,7 +1904,7 @@ module.exports = { 'src/platform/plugins/private/kibana_usage_collection/**', 'src/plugins/usage_collection/**', 'src/plugins/telemetry/**', - 'src/plugins/telemetry_collection_manager/**', + 'src/platform/plugins/shared/telemetry_collection_manager/**', 'src/plugins/telemetry_management_section/**', 'x-pack/plugins/telemetry_collection_xpack/**', ], @@ -1928,7 +1928,7 @@ module.exports = { 'src/platform/plugins/private/kibana_usage_collection/**', 'src/plugins/usage_collection/**', 'src/plugins/telemetry/**', - 'src/plugins/telemetry_collection_manager/**', + 'src/platform/plugins/shared/telemetry_collection_manager/**', 'src/plugins/telemetry_management_section/**', 'x-pack/plugins/telemetry_collection_xpack/**', ], diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 365da3f808bf4..074519ebf7ec5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -621,6 +621,7 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/management @elastic/kibana-management src/platform/plugins/shared/newsfeed @elastic/kibana-core src/platform/plugins/shared/saved_objects_management @elastic/kibana-core +src/platform/plugins/shared/telemetry_collection_manager @elastic/kibana-core src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux src/plugins/chart_expressions/common @elastic/kibana-visualizations @@ -678,7 +679,6 @@ src/plugins/saved_search @elastic/kibana-data-discovery src/plugins/screenshot_mode @elastic/appex-sharedux src/plugins/share @elastic/appex-sharedux src/plugins/telemetry @elastic/kibana-core -src/plugins/telemetry_collection_manager @elastic/kibana-core src/plugins/telemetry_management_section @elastic/kibana-core src/plugins/ui_actions @elastic/appex-sharedux src/plugins/ui_actions_enhanced @elastic/appex-sharedux diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index bc5b8fd092e7d..cc9f6a72445c1 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -325,7 +325,7 @@ generating deep links to other apps using locators, and creating short URLs. |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. diff --git a/package.json b/package.json index cdf272b0abe42..d62c55805dec6 100644 --- a/package.json +++ b/package.json @@ -951,7 +951,7 @@ "@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/plugins/task_manager", - "@kbn/telemetry-collection-manager-plugin": "link:src/plugins/telemetry_collection_manager", + "@kbn/telemetry-collection-manager-plugin": "link:src/platform/plugins/shared/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", 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/plugins/telemetry_collection_manager/jest.config.js b/src/platform/plugins/shared/telemetry_collection_manager/jest.config.js similarity index 65% rename from src/plugins/telemetry_collection_manager/jest.config.js rename to src/platform/plugins/shared/telemetry_collection_manager/jest.config.js index db931f7509983..003a7eb05d56d 100644 --- a/src/plugins/telemetry_collection_manager/jest.config.js +++ b/src/platform/plugins/shared/telemetry_collection_manager/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/telemetry_collection_manager'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/telemetry_collection_manager', + '/target/kibana-coverage/jest/src/platform/plugins/shared/telemetry_collection_manager', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/telemetry_collection_manager/{common,server}/**/*.{ts,tsx}', + '/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/tsconfig.base.json b/tsconfig.base.json index 85d918d73e1a7..13bf5cd31f434 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1892,8 +1892,8 @@ "@kbn/task-manager-performance-plugin/*": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance/*"], "@kbn/task-manager-plugin": ["x-pack/plugins/task_manager"], "@kbn/task-manager-plugin/*": ["x-pack/plugins/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-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/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"], diff --git a/yarn.lock b/yarn.lock index e0b02804a7e5f..869c14d9a2e6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7601,7 +7601,7 @@ 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 "" From 388f60be1c53170315ab56a8a69e2caee5010cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:07:12 +0100 Subject: [PATCH 168/183] Relocating module `@kbn/telemetry-collection-xpack-plugin` --- .eslintrc.js | 4 ++-- .github/CODEOWNERS | 4 ++-- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/plugins/telemetry/schema/README.md | 2 +- tsconfig.base.json | 4 ++-- x-pack/.telemetryrc.json | 12 ++++++------ .../private}/telemetry_collection_xpack/README.md | 0 .../telemetry_collection_xpack/jest.config.js | 8 ++++---- .../private}/telemetry_collection_xpack/kibana.jsonc | 0 .../telemetry_collection_xpack/schema/README.md | 6 +++--- .../schema/xpack_monitoring.json | 0 .../schema/xpack_observability.json | 0 .../schema/xpack_platform.json | 0 .../schema/xpack_plugins.json | 0 .../schema/xpack_root.json | 0 .../schema/xpack_search.json | 0 .../schema/xpack_security.json | 0 .../telemetry_collection_xpack/server/index.ts | 0 .../telemetry_collection_xpack/server/plugin.ts | 0 .../__snapshots__/get_stats_with_xpack.test.ts.snap | 0 .../server/telemetry_collection/constants.ts | 0 .../server/telemetry_collection/get_license.test.ts | 0 .../server/telemetry_collection/get_license.ts | 0 .../get_stats_with_xpack.test.ts | 0 .../telemetry_collection/get_stats_with_xpack.ts | 0 .../server/telemetry_collection/get_xpack.test.ts | 0 .../server/telemetry_collection/get_xpack.ts | 0 .../server/telemetry_collection/index.ts | 0 .../telemetry_collection/is_cluster_opted_in.test.ts | 0 .../telemetry_collection/is_cluster_opted_in.ts | 0 .../telemetry_collection_xpack/tsconfig.json | 4 ++-- yarn.lock | 2 +- 33 files changed, 25 insertions(+), 25 deletions(-) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/jest.config.js (51%) 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 (74%) 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 (100%) rename x-pack/{plugins => platform/plugins/private}/telemetry_collection_xpack/schema/xpack_plugins.json (100%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 0cb2378f82a4b..6b698411a3de5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1906,7 +1906,7 @@ module.exports = { 'src/plugins/telemetry/**', 'src/platform/plugins/shared/telemetry_collection_manager/**', 'src/plugins/telemetry_management_section/**', - 'x-pack/plugins/telemetry_collection_xpack/**', + 'x-pack/platform/plugins/private/telemetry_collection_xpack/**', ], rules: { '@typescript-eslint/no-explicit-any': 'error', @@ -1930,7 +1930,7 @@ module.exports = { 'src/plugins/telemetry/**', 'src/platform/plugins/shared/telemetry_collection_manager/**', 'src/plugins/telemetry_management_section/**', - 'x-pack/plugins/telemetry_collection_xpack/**', + '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 074519ebf7ec5..b32b4fb7c48b7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -853,6 +853,7 @@ x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management x-pack/platform/plugins/private/rollup @elastic/kibana-management x-pack/platform/plugins/private/runtime_fields @elastic/kibana-management 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/watcher @elastic/kibana-management @@ -936,7 +937,6 @@ x-pack/plugins/spaces @elastic/kibana-security x-pack/plugins/stack_alerts @elastic/response-ops x-pack/plugins/stack_connectors @elastic/response-ops x-pack/plugins/task_manager @elastic/response-ops -x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core x-pack/plugins/triggers_actions_ui @elastic/response-ops x-pack/plugins/upgrade_assistant @elastic/kibana-core x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team @@ -1844,7 +1844,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /.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/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 diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index cc9f6a72445c1..55e0b86833dda 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -935,7 +935,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. diff --git a/package.json b/package.json index d62c55805dec6..9b75f83f08e4b 100644 --- a/package.json +++ b/package.json @@ -952,7 +952,7 @@ "@kbn/task-manager-performance-plugin": "link:x-pack/test/plugin_api_perf/plugins/task_manager_performance", "@kbn/task-manager-plugin": "link:x-pack/plugins/task_manager", "@kbn/telemetry-collection-manager-plugin": "link:src/platform/plugins/shared/telemetry_collection_manager", - "@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", "@kbn/telemetry-management-section-plugin": "link:src/plugins/telemetry_management_section", "@kbn/telemetry-plugin": "link:src/plugins/telemetry", "@kbn/telemetry-test-plugin": "link:test/plugin_functional/plugins/telemetry", diff --git a/src/plugins/telemetry/schema/README.md b/src/plugins/telemetry/schema/README.md index 38212d73c2592..13301a45da878 100644 --- a/src/plugins/telemetry/schema/README.md +++ b/src/plugins/telemetry/schema/README.md @@ -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/tsconfig.base.json b/tsconfig.base.json index 13bf5cd31f434..2bbe16958f169 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1894,8 +1894,8 @@ "@kbn/task-manager-plugin/*": ["x-pack/plugins/task_manager/*"], "@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/plugins/telemetry_collection_xpack"], - "@kbn/telemetry-collection-xpack-plugin/*": ["x-pack/plugins/telemetry_collection_xpack/*"], + "@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/plugins/telemetry_management_section"], "@kbn/telemetry-management-section-plugin/*": ["src/plugins/telemetry_management_section/*"], "@kbn/telemetry-plugin": ["src/plugins/telemetry"], diff --git a/x-pack/.telemetryrc.json b/x-pack/.telemetryrc.json index 51abf578ae5f5..d14484c5a6f07 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": [ "plugins/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": "plugins/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/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/plugins/telemetry_collection_xpack/jest.config.js b/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js similarity index 51% rename from x-pack/plugins/telemetry_collection_xpack/jest.config.js rename to x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js index 94f0906c2149e..4e4bed3de1ad1 100644 --- a/x-pack/plugins/telemetry_collection_xpack/jest.config.js +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js @@ -7,10 +7,10 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/telemetry_collection_xpack'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/telemetry_collection_xpack'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/telemetry_collection_xpack', + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/telemetry_collection_xpack', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/telemetry_collection_xpack/server/**/*.{ts,tsx}'], + 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 74% 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..6cb825336aca5 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/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`. 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/plugins/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 100% 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 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 100% 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 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/yarn.lock b/yarn.lock index 869c14d9a2e6f..7a44d41e3f6b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7605,7 +7605,7 @@ 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 "" From 9944eb7706603cbd30fea04be6c428dba91f5805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:08:29 +0100 Subject: [PATCH 169/183] Relocating module `@kbn/telemetry-management-section-plugin` --- .eslintrc.js | 4 ++-- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../shared}/telemetry_management_section/README.md | 0 .../telemetry_management_section/common/constants.ts | 0 .../shared}/telemetry_management_section/common/index.ts | 0 .../shared}/telemetry_management_section/jest.config.js | 8 ++++---- .../shared}/telemetry_management_section/kibana.jsonc | 0 .../__snapshots__/opt_in_example_flyout.test.tsx.snap | 0 .../telemetry_management_section.test.tsx.snap | 0 .../public/components/index.ts | 0 .../public/components/lazy_opt_in_example_flyout.tsx | 0 .../public/components/loading_spinner.tsx | 0 .../public/components/opt_in_example_flyout.test.tsx | 0 .../public/components/opt_in_example_flyout.tsx | 0 .../components/telemetry_management_section.test.tsx | 0 .../public/components/telemetry_management_section.tsx | 0 .../components/telemetry_management_section_wrapper.tsx | 0 .../shared}/telemetry_management_section/public/index.ts | 0 .../telemetry_management_section/public/plugin.tsx | 0 .../shared}/telemetry_management_section/tsconfig.json | 4 ++-- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 25 files changed, 15 insertions(+), 15 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/telemetry_management_section/jest.config.js (63%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 6b698411a3de5..b5c548eddb0c9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1905,7 +1905,7 @@ module.exports = { 'src/plugins/usage_collection/**', 'src/plugins/telemetry/**', 'src/platform/plugins/shared/telemetry_collection_manager/**', - 'src/plugins/telemetry_management_section/**', + 'src/platform/plugins/shared/telemetry_management_section/**', 'x-pack/platform/plugins/private/telemetry_collection_xpack/**', ], rules: { @@ -1929,7 +1929,7 @@ module.exports = { 'src/plugins/usage_collection/**', 'src/plugins/telemetry/**', 'src/platform/plugins/shared/telemetry_collection_manager/**', - 'src/plugins/telemetry_management_section/**', + 'src/platform/plugins/shared/telemetry_management_section/**', 'x-pack/platform/plugins/private/telemetry_collection_xpack/**', ], rules: { diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b32b4fb7c48b7..ad84ede0e93e5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -622,6 +622,7 @@ src/platform/plugins/shared/management @elastic/kibana-management src/platform/plugins/shared/newsfeed @elastic/kibana-core src/platform/plugins/shared/saved_objects_management @elastic/kibana-core src/platform/plugins/shared/telemetry_collection_manager @elastic/kibana-core +src/platform/plugins/shared/telemetry_management_section @elastic/kibana-core src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux src/plugins/chart_expressions/common @elastic/kibana-visualizations @@ -679,7 +680,6 @@ src/plugins/saved_search @elastic/kibana-data-discovery src/plugins/screenshot_mode @elastic/appex-sharedux src/plugins/share @elastic/appex-sharedux src/plugins/telemetry @elastic/kibana-core -src/plugins/telemetry_management_section @elastic/kibana-core src/plugins/ui_actions @elastic/appex-sharedux src/plugins/ui_actions_enhanced @elastic/appex-sharedux src/plugins/unified_doc_viewer @elastic/kibana-data-discovery diff --git a/.i18nrc.json b/.i18nrc.json index 090ccc185d76e..7115bd6cf657d 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -137,7 +137,7 @@ "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/plugins/telemetry", "src/platform/plugins/shared/telemetry_management_section"], "timelion": ["src/plugins/vis_types/timelion"], "tryInConsole": "packages/kbn-try-in-console/", "uiActions": ["src/plugins/ui_actions", "packages/kbn-ui-actions-browser"], diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 55e0b86833dda..ee5e630ee8dd9 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -329,7 +329,7 @@ generating deep links to other apps using locators, and creating short URLs. |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). diff --git a/package.json b/package.json index 9b75f83f08e4b..6e3eda9dfa2fa 100644 --- a/package.json +++ b/package.json @@ -953,7 +953,7 @@ "@kbn/task-manager-plugin": "link:x-pack/plugins/task_manager", "@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/plugins/telemetry_management_section", + "@kbn/telemetry-management-section-plugin": "link:src/platform/plugins/shared/telemetry_management_section", "@kbn/telemetry-plugin": "link:src/plugins/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", 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/plugins/telemetry_management_section/jest.config.js b/src/platform/plugins/shared/telemetry_management_section/jest.config.js similarity index 63% rename from src/plugins/telemetry_management_section/jest.config.js rename to src/platform/plugins/shared/telemetry_management_section/jest.config.js index cd6cf78c72ad8..870da44a5a120 100644 --- a/src/plugins/telemetry_management_section/jest.config.js +++ b/src/platform/plugins/shared/telemetry_management_section/jest.config.js @@ -9,10 +9,10 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/telemetry_management_section'], + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/telemetry_management_section'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/telemetry_management_section', + '/target/kibana-coverage/jest/src/platform/plugins/shared/telemetry_management_section', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/telemetry_management_section/public/**/*.{ts,tsx}'], + 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/tsconfig.base.json b/tsconfig.base.json index 2bbe16958f169..c91eceab66730 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1896,8 +1896,8 @@ "@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/plugins/telemetry_management_section"], - "@kbn/telemetry-management-section-plugin/*": ["src/plugins/telemetry_management_section/*"], + "@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/plugins/telemetry"], "@kbn/telemetry-plugin/*": ["src/plugins/telemetry/*"], "@kbn/telemetry-test-plugin": ["test/plugin_functional/plugins/telemetry"], diff --git a/yarn.lock b/yarn.lock index 7a44d41e3f6b9..58571c444042e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7609,7 +7609,7 @@ 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 "" From f4ee475f7bed2f6ca618109a04d12eeddaf09181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:09:44 +0100 Subject: [PATCH 170/183] Relocating module `@kbn/telemetry-plugin` --- .eslintrc.js | 4 ++-- .github/CODEOWNERS | 8 ++++---- .i18nrc.json | 2 +- .telemetryrc.json | 6 +++--- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/shared}/telemetry/README.md | 0 .../plugins/shared}/telemetry/common/constants.ts | 0 .../common/ebt_v3_endpoint/build_headers.test.ts | 0 .../telemetry/common/ebt_v3_endpoint/build_headers.ts | 0 .../telemetry/common/ebt_v3_endpoint/build_url.test.ts | 0 .../shared}/telemetry/common/ebt_v3_endpoint/build_url.ts | 0 .../shared}/telemetry/common/ebt_v3_endpoint/index.ts | 0 .../telemetry/common/is_report_interval_expired.test.ts | 0 .../telemetry/common/is_report_interval_expired.ts | 0 .../plugins/shared}/telemetry/common/routes.ts | 0 .../get_telemetry_channel_endpoint.test.ts | 0 .../telemetry_config/get_telemetry_channel_endpoint.ts | 0 .../shared}/telemetry/common/telemetry_config/index.ts | 0 .../plugins/shared}/telemetry/common/types/index.ts | 0 .../plugins/shared}/telemetry/common/types/latest.ts | 0 .../plugins/shared}/telemetry/common/types/v2.ts | 0 .../plugins/shared}/telemetry/jest.config.js | 8 ++++---- .../plugins/shared}/telemetry/kibana.jsonc | 0 .../telemetry/public/components/opt_in_message.test.tsx | 0 .../telemetry/public/components/opt_in_message.tsx | 0 .../components/opt_in_status_notice_banner.test.tsx | 0 .../public/components/opt_in_status_notice_banner.tsx | 0 .../public/components/welcome_telemetry_notice.test.tsx | 0 .../public/components/welcome_telemetry_notice.tsx | 0 .../plugins/shared}/telemetry/public/index.ts | 0 .../plugins/shared}/telemetry/public/mocks.ts | 0 .../plugins/shared}/telemetry/public/plugin.test.mock.ts | 0 .../plugins/shared}/telemetry/public/plugin.test.ts | 0 .../plugins/shared}/telemetry/public/plugin.ts | 0 .../public/render_welcome_telemetry_notice.test.ts | 0 .../telemetry/public/render_welcome_telemetry_notice.tsx | 0 .../plugins/shared}/telemetry/public/services/index.ts | 0 .../public/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/telemetry_notifications.ts | 0 .../telemetry/public/services/telemetry_sender.test.ts | 0 .../shared}/telemetry/public/services/telemetry_sender.ts | 0 .../telemetry/public/services/telemetry_service.test.ts | 0 .../telemetry/public/services/telemetry_service.ts | 0 .../plugins/shared}/telemetry/schema/README.md | 4 ++-- .../plugins/shared}/telemetry/schema/kbn_packages.json | 0 .../plugins/shared}/telemetry/schema/oss_platform.json | 0 .../plugins/shared}/telemetry/schema/oss_plugins.json | 0 .../plugins/shared}/telemetry/schema/oss_root.json | 0 .../plugins/shared}/telemetry/server/collectors/index.ts | 0 .../telemetry/server/collectors/telemetry_plugin/index.ts | 0 .../telemetry_plugin/telemetry_plugin_collector.ts | 0 .../shared}/telemetry/server/collectors/usage/index.ts | 0 .../shared}/telemetry/server/collectors/usage/schema.ts | 0 .../collectors/usage/telemetry_usage_collector.test.ts | 0 .../server/collectors/usage/telemetry_usage_collector.ts | 0 .../shared}/telemetry/server/config/config.test.ts | 0 .../plugins/shared}/telemetry/server/config/config.ts | 0 .../plugins/shared}/telemetry/server/config/index.ts | 0 .../telemetry/server/config/telemetry_labels.test.ts | 0 .../shared}/telemetry/server/config/telemetry_labels.ts | 0 .../plugins/shared}/telemetry/server/fetcher.test.mock.ts | 0 .../plugins/shared}/telemetry/server/fetcher.test.ts | 0 .../plugins/shared}/telemetry/server/fetcher.ts | 0 .../telemetry/server/get_next_attempt_date.test.ts | 0 .../shared}/telemetry/server/get_next_attempt_date.ts | 0 .../plugins/shared}/telemetry/server/index.ts | 0 .../plugins/shared}/telemetry/server/mocks.ts | 0 .../plugins/shared}/telemetry/server/plugin.test.ts | 0 .../plugins/shared}/telemetry/server/plugin.ts | 0 .../plugins/shared}/telemetry/server/routes/index.ts | 0 .../shared}/telemetry/server/routes/telemetry_config.ts | 0 .../telemetry/server/routes/telemetry_last_reported.ts | 0 .../shared}/telemetry/server/routes/telemetry_opt_in.ts | 0 .../server/routes/telemetry_opt_in_stats.test.ts | 0 .../telemetry/server/routes/telemetry_opt_in_stats.ts | 0 .../telemetry/server/routes/telemetry_usage_stats.test.ts | 0 .../telemetry/server/routes/telemetry_usage_stats.ts | 0 .../server/routes/telemetry_user_has_seen_notice.ts | 0 .../shared}/telemetry/server/saved_objects/constants.ts | 0 .../saved_objects/get_telemetry_saved_object.test.ts | 0 .../server/saved_objects/get_telemetry_saved_object.ts | 0 .../shared}/telemetry/server/saved_objects/index.ts | 0 .../saved_objects/register_telemetry_saved_object.ts | 0 .../shared}/telemetry/server/saved_objects/types.ts | 0 .../server/saved_objects/update_telemetry_saved_object.ts | 0 .../telemetry/server/telemetry_collection/constants.ts | 0 .../server/telemetry_collection/get_cluster_info.test.ts | 0 .../server/telemetry_collection/get_cluster_info.ts | 0 .../server/telemetry_collection/get_cluster_stats.test.ts | 0 .../server/telemetry_collection/get_cluster_stats.ts | 0 .../telemetry_collection/get_data_telemetry/constants.ts | 0 .../get_data_telemetry/get_data_telemetry.test.ts | 0 .../get_data_telemetry/get_data_telemetry.ts | 0 .../telemetry_collection/get_data_telemetry/index.ts | 0 .../telemetry/server/telemetry_collection/get_kibana.ts | 0 .../server/telemetry_collection/get_local_stats.test.ts | 0 .../server/telemetry_collection/get_local_stats.ts | 0 .../server/telemetry_collection/get_nodes_usage.test.ts | 0 .../server/telemetry_collection/get_nodes_usage.ts | 0 .../telemetry/server/telemetry_collection/index.ts | 0 .../server/telemetry_collection/register_collection.ts | 0 .../get_telemetry_allow_changing_opt_in_status.ts | 0 .../get_telemetry_failure_details.test.ts | 0 .../telemetry_config/get_telemetry_failure_details.ts | 0 .../get_telemetry_notify_user_about_optin_default.test.ts | 0 .../get_telemetry_notify_user_about_optin_default.ts | 0 .../server/telemetry_config/get_telemetry_opt_in.test.ts | 0 .../server/telemetry_config/get_telemetry_opt_in.ts | 0 .../get_telemetry_send_usage_from.test.ts | 0 .../telemetry_config/get_telemetry_send_usage_from.ts | 0 .../shared}/telemetry/server/telemetry_config/index.ts | 0 .../plugins/shared}/telemetry/tsconfig.json | 4 ++-- test/plugin_functional/plugins/telemetry/package.json | 2 +- tsconfig.base.json | 4 ++-- .../private/telemetry_collection_xpack/schema/README.md | 4 ++-- yarn.lock | 2 +- 120 files changed, 26 insertions(+), 26 deletions(-) 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 => platform/plugins/shared}/telemetry/jest.config.js (71%) 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 => platform/plugins/shared}/telemetry/schema/oss_platform.json (100%) rename src/{plugins => platform/plugins/shared}/telemetry/schema/oss_plugins.json (100%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index b5c548eddb0c9..9aead8e0a7a19 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1903,7 +1903,7 @@ module.exports = { // 'packages/kbn-telemetry-tools/**', 'src/platform/plugins/private/kibana_usage_collection/**', 'src/plugins/usage_collection/**', - 'src/plugins/telemetry/**', + '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/**', @@ -1927,7 +1927,7 @@ module.exports = { 'packages/kbn-telemetry-tools/**', 'src/platform/plugins/private/kibana_usage_collection/**', 'src/plugins/usage_collection/**', - 'src/plugins/telemetry/**', + '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/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ad84ede0e93e5..7278653715d68 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -621,6 +621,7 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/management @elastic/kibana-management src/platform/plugins/shared/newsfeed @elastic/kibana-core src/platform/plugins/shared/saved_objects_management @elastic/kibana-core +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/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management @@ -679,7 +680,6 @@ src/plugins/saved_objects_tagging_oss @elastic/appex-sharedux src/plugins/saved_search @elastic/kibana-data-discovery src/plugins/screenshot_mode @elastic/appex-sharedux src/plugins/share @elastic/appex-sharedux -src/plugins/telemetry @elastic/kibana-core src/plugins/ui_actions @elastic/appex-sharedux src/plugins/ui_actions_enhanced @elastic/appex-sharedux src/plugins/unified_doc_viewer @elastic/kibana-data-discovery @@ -1763,7 +1763,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 @@ -1843,7 +1843,7 @@ 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 +/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 @@ -1889,7 +1889,7 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi /.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 +/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 diff --git a/.i18nrc.json b/.i18nrc.json index 7115bd6cf657d..cd0908d75b547 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -137,7 +137,7 @@ "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/platform/plugins/shared/telemetry_management_section"], + "telemetry": ["src/platform/plugins/shared/telemetry", "src/platform/plugins/shared/telemetry_management_section"], "timelion": ["src/plugins/vis_types/timelion"], "tryInConsole": "packages/kbn-try-in-console/", "uiActions": ["src/plugins/ui_actions", "packages/kbn-ui-actions-browser"], diff --git a/.telemetryrc.json b/.telemetryrc.json index 902ae82b6bd28..ca82411ffbe4c 100644 --- a/.telemetryrc.json +++ b/.telemetryrc.json @@ -1,18 +1,18 @@ [ { - "output": "src/plugins/telemetry/schema/oss_plugins.json", + "output": "src/platform/plugins/shared/telemetry/schema/oss_plugins.json", "root": "src/plugins/", "exclude": [ "src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts" ] }, { - "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": [] } diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index ee5e630ee8dd9..cdcb8c75af28f 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -321,7 +321,7 @@ 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: diff --git a/package.json b/package.json index 6e3eda9dfa2fa..e9039adcd37e8 100644 --- a/package.json +++ b/package.json @@ -954,7 +954,7 @@ "@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/plugins/telemetry", + "@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", 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/telemetry/jest.config.js b/src/platform/plugins/shared/telemetry/jest.config.js similarity index 71% rename from src/plugins/telemetry/jest.config.js rename to src/platform/plugins/shared/telemetry/jest.config.js index 6f457afc963b2..0f04eaecb6958 100644 --- a/src/plugins/telemetry/jest.config.js +++ b/src/platform/plugins/shared/telemetry/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/telemetry'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/telemetry', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/telemetry'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/telemetry', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/telemetry/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/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 13301a45da878..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/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 +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_platform.json b/src/platform/plugins/shared/telemetry/schema/oss_platform.json similarity index 100% rename from src/plugins/telemetry/schema/oss_platform.json rename to src/platform/plugins/shared/telemetry/schema/oss_platform.json diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/platform/plugins/shared/telemetry/schema/oss_plugins.json similarity index 100% rename from src/plugins/telemetry/schema/oss_plugins.json rename to src/platform/plugins/shared/telemetry/schema/oss_plugins.json 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/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/tsconfig.base.json b/tsconfig.base.json index c91eceab66730..93fee23828ce1 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1898,8 +1898,8 @@ "@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/plugins/telemetry"], - "@kbn/telemetry-plugin/*": ["src/plugins/telemetry/*"], + "@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"], diff --git a/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/README.md b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/README.md index 6cb825336aca5..09deab41d0382 100644 --- a/x-pack/platform/plugins/private/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: @@ -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/yarn.lock b/yarn.lock index 58571c444042e..bf301c00998d9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7613,7 +7613,7 @@ 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 "" From 09eebb5c0c30880af1a54cbc585a7765d828d3cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:10:58 +0100 Subject: [PATCH 171/183] Relocating module `@kbn/upgrade-assistant-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../plugins/private}/upgrade_assistant/README.md | 10 +++++----- .../__jest__/client_integration/app/app.helpers.tsx | 0 .../client_integration/app/cluster_upgrade.test.tsx | 0 .../client_integration/app/privileges.test.tsx | 0 .../es_deprecation_logs/es_deprecation_logs.helpers.ts | 0 .../es_deprecation_logs/es_deprecation_logs.test.tsx | 0 .../cluster_settings_deprecation_flyout.test.ts | 0 .../es_deprecations/default_deprecation_flyout.test.ts | 0 .../es_deprecations/deprecations_list.test.ts | 0 .../es_deprecations/error_handling.test.ts | 0 .../es_deprecations/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 .../es_deprecations/reindex_deprecation_flyout.test.ts | 0 .../client_integration/helpers/app_context.mock.ts | 0 .../client_integration/helpers/http_requests.ts | 0 .../__jest__/client_integration/helpers/index.ts | 0 .../client_integration/helpers/setup_environment.tsx | 0 .../client_integration/helpers/time_manipulation.ts | 0 .../deprecation_details_flyout.test.ts | 0 .../deprecations_table/deprecations_table.test.ts | 0 .../deprecations_table/error_handling.test.ts | 0 .../kibana_deprecations/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 .../overview/fix_issues_step/fix_issues_step.test.tsx | 0 .../fix_issues_step/kibana_deprecation_issues.test.tsx | 0 .../overview/fix_issues_step/mock_es_issues.ts | 0 .../overview/logs_step/logs_step.test.tsx | 0 .../__snapshots__/flyout.test.ts.snap | 0 .../overview/migrate_system_indices/flyout.test.ts | 0 .../migrate_system_indices.test.tsx | 0 .../overview/migrate_system_indices/mocks.ts | 0 .../migrate_system_indices/step_completion.test.ts | 0 .../client_integration/overview/overview.helpers.ts | 0 .../client_integration/overview/overview.test.tsx | 0 .../overview/upgrade_step/upgrade_step.test.tsx | 0 .../private}/upgrade_assistant/common/constants.ts | 0 .../upgrade_assistant/common/get_index_state.test.ts | 0 .../upgrade_assistant/common/get_index_state.ts | 0 .../plugins/private}/upgrade_assistant/common/types.ts | 0 .../plugins/private}/upgrade_assistant/jest.config.js | 8 ++++---- .../plugins/private}/upgrade_assistant/kibana.jsonc | 0 .../upgrade_assistant/public/application/app.tsx | 0 .../public/application/app_context.tsx | 0 .../public/application/components/constants.tsx | 0 .../es_deprecation_logs/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 .../fix_deprecation_logs/external_links.test.ts | 0 .../fix_deprecation_logs/external_links.tsx | 0 .../fix_deprecation_logs/fix_deprecation_logs.tsx | 0 .../es_deprecation_logs/fix_deprecation_logs/index.ts | 0 .../fix_deprecation_logs/use_deprecation_logging.ts | 0 .../components/es_deprecation_logs/index.ts | 0 .../deprecation_types/cluster_settings/flyout.tsx | 0 .../deprecation_types/cluster_settings/index.ts | 0 .../cluster_settings/resolution_table_cell.tsx | 0 .../deprecation_types/cluster_settings/table_row.tsx | 0 .../deprecation_types/default/flyout.tsx | 0 .../es_deprecations/deprecation_types/default/index.ts | 0 .../deprecation_types/default/table_row.tsx | 0 .../deprecation_types/health_indicator/flyout.tsx | 0 .../deprecation_types/health_indicator/index.ts | 0 .../deprecation_types/health_indicator/table_row.tsx | 0 .../es_deprecations/deprecation_types/index.tsx | 0 .../deprecation_types/index_settings/flyout.tsx | 0 .../deprecation_types/index_settings/index.ts | 0 .../index_settings/resolution_table_cell.tsx | 0 .../deprecation_types/index_settings/table_row.tsx | 0 .../deprecation_types/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 .../deprecation_types/ml_snapshots/table_row.tsx | 0 .../ml_snapshots/use_snapshot_state.tsx | 0 .../deprecation_types/reindex/context.tsx | 0 .../flyout/__snapshots__/checklist_step.test.tsx.snap | 0 .../flyout/__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 .../deprecation_types/reindex/flyout/container.tsx | 0 .../deprecation_types/reindex/flyout/index.tsx | 0 .../deprecation_types/reindex/flyout/progress.test.tsx | 0 .../deprecation_types/reindex/flyout/progress.tsx | 0 .../deprecation_types/reindex/flyout/step_progress.tsx | 0 .../reindex/flyout/warning_step.test.tsx | 0 .../reindex/flyout/warning_step_checkbox.tsx | 0 .../deprecation_types/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 .../deprecation_types/reindex/use_reindex_state.tsx | 0 .../components/es_deprecations/es_deprecations.tsx | 0 .../es_deprecations/es_deprecations_table.tsx | 0 .../es_deprecations/es_deprecations_table_cells.tsx | 0 .../application/components/es_deprecations/index.ts | 0 .../public/application/components/index.ts | 0 .../_deprecation_details_flyout.scss | 0 .../kibana_deprecations/deprecation_details_flyout.tsx | 0 .../components/kibana_deprecations/index.ts | 0 .../kibana_deprecations/kibana_deprecations.tsx | 0 .../kibana_deprecations/kibana_deprecations_table.tsx | 0 .../kibana_deprecations/resolution_table_cell.tsx | 0 .../components/overview/backup_step/backup_step.tsx | 0 .../components/overview/backup_step/cloud_backup.tsx | 0 .../components/overview/backup_step/index.ts | 0 .../components/overview/backup_step/on_prem_backup.tsx | 0 .../components/_deprecation_issues_panel.scss | 0 .../components/deprecation_issues_panel.tsx | 0 .../components/es_deprecation_issues_panel.tsx | 0 .../overview/fix_issues_step/components/index.ts | 0 .../components/kibana_deprecation_issues_panel.tsx | 0 .../components/loading_issues_error.tsx | 0 .../components/no_deprecation_issues.tsx | 0 .../overview/fix_issues_step/fix_issues_step.tsx | 0 .../components/overview/fix_issues_step/index.ts | 0 .../public/application/components/overview/index.ts | 0 .../application/components/overview/logs_step/index.ts | 0 .../components/overview/logs_step/logs_step.tsx | 0 .../overview/migrate_system_indices/flyout.tsx | 0 .../overview/migrate_system_indices/index.ts | 0 .../migrate_system_indices/migrate_system_indices.tsx | 0 .../use_migrate_system_indices.ts | 0 .../application/components/overview/overview.tsx | 0 .../components/overview/upgrade_step/index.ts | 0 .../components/overview/upgrade_step/upgrade_step.tsx | 0 .../components/shared/deprecation_badge.tsx | 0 .../components/shared/deprecation_count.tsx | 0 .../shared/deprecation_flyout_learn_more_link.tsx | 0 .../shared/deprecations_page_loading_error.tsx | 0 .../public/application/components/shared/index.ts | 0 .../application/components/shared/level_info_tip.tsx | 0 .../application/components/shared/no_deprecations.tsx | 0 .../public/application/components/types.ts | 0 .../upgrade_assistant/public/application/lib/api.ts | 0 .../public/application/lib/breadcrumbs.ts | 0 .../public/application/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 .../upgrade_assistant/public/application/lib/utils.ts | 0 .../public/application/mount_management_section.tsx | 0 .../plugins/private}/upgrade_assistant/public/index.ts | 0 .../private}/upgrade_assistant/public/plugin.ts | 0 .../upgrade_assistant/public/shared_imports.ts | 0 .../plugins/private}/upgrade_assistant/public/types.ts | 0 .../private}/upgrade_assistant/server/config.ts | 0 .../plugins/private}/upgrade_assistant/server/index.ts | 0 .../server/lib/__fixtures__/es_deprecations.ts | 0 .../server/lib/__fixtures__/fake_deprecations.json | 0 .../server/lib/__fixtures__/health_indicators.ts | 0 .../server/lib/__fixtures__/version.ts | 0 .../server/lib/__mocks__/es_version_precheck.ts | 0 .../lib/__snapshots__/kibana_status.test.ts.snap | 0 .../server/lib/es_deprecation_logging_apis.test.ts | 0 .../server/lib/es_deprecation_logging_apis.ts | 0 .../__snapshots__/index.test.ts.snap | 0 .../es_deprecations_status/get_corrective_actions.ts | 0 .../es_deprecations_status/health_indicators.test.ts | 0 .../lib/es_deprecations_status/health_indicators.ts | 0 .../server/lib/es_deprecations_status/index.test.ts | 0 .../server/lib/es_deprecations_status/index.ts | 0 .../server/lib/es_deprecations_status/migrations.ts | 0 .../server/lib/es_indices_state_check.ts | 0 .../server/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 .../upgrade_assistant/server/lib/kibana_status.test.ts | 0 .../upgrade_assistant/server/lib/kibana_status.ts | 0 .../server/lib/reindexing/credential_store.test.ts | 0 .../server/lib/reindexing/credential_store.ts | 0 .../upgrade_assistant/server/lib/reindexing/error.ts | 0 .../server/lib/reindexing/error_symbols.ts | 0 .../upgrade_assistant/server/lib/reindexing/index.ts | 0 .../server/lib/reindexing/index_settings.test.ts | 0 .../server/lib/reindexing/index_settings.ts | 0 .../server/lib/reindexing/op_utils.ts | 0 .../server/lib/reindexing/reindex_actions.test.ts | 0 .../server/lib/reindexing/reindex_actions.ts | 0 .../server/lib/reindexing/reindex_service.test.ts | 0 .../server/lib/reindexing/reindex_service.ts | 0 .../upgrade_assistant/server/lib/reindexing/types.ts | 0 .../upgrade_assistant/server/lib/reindexing/worker.ts | 0 .../upgrade_assistant/server/lib/telemetry/index.ts | 0 .../server/lib/telemetry/usage_collector.test.ts | 0 .../server/lib/telemetry/usage_collector.ts | 0 .../private}/upgrade_assistant/server/lib/version.ts | 0 .../private}/upgrade_assistant/server/plugin.ts | 0 .../server/routes/__mocks__/request.mock.ts | 0 .../server/routes/__mocks__/routes.mock.ts | 0 .../private}/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 .../upgrade_assistant/server/routes/es_deprecations.ts | 0 .../server/routes/ml_snapshots.test.ts | 0 .../upgrade_assistant/server/routes/ml_snapshots.ts | 0 .../server/routes/node_disk_space.test.ts | 0 .../upgrade_assistant/server/routes/node_disk_space.ts | 0 .../upgrade_assistant/server/routes/register_routes.ts | 0 .../reindex_indices/batch_reindex_indices.test.ts | 0 .../routes/reindex_indices/batch_reindex_indices.ts | 0 .../routes/reindex_indices/create_reindex_worker.ts | 0 .../server/routes/reindex_indices/index.ts | 0 .../map_any_error_to_kibana_http_response.ts | 0 .../server/routes/reindex_indices/reindex_handler.ts | 0 .../routes/reindex_indices/reindex_indices.test.ts | 0 .../server/routes/reindex_indices/reindex_indices.ts | 0 .../server/routes/reindex_indices/types.ts | 0 .../upgrade_assistant/server/routes/remote_clusters.ts | 0 .../upgrade_assistant/server/routes/status.test.ts | 0 .../private}/upgrade_assistant/server/routes/status.ts | 0 .../server/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 .../upgrade_assistant/server/shared_imports.ts | 0 .../plugins/private}/upgrade_assistant/server/types.ts | 0 .../plugins/private}/upgrade_assistant/tsconfig.json | 4 ++-- yarn.lock | 2 +- 238 files changed, 18 insertions(+), 18 deletions(-) rename x-pack/{plugins => platform/plugins/private}/upgrade_assistant/README.md (95%) 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 => platform/plugins/private}/upgrade_assistant/jest.config.js (62%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7278653715d68..8ba40fd440c30 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -856,6 +856,7 @@ 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/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra @@ -938,7 +939,6 @@ x-pack/plugins/stack_alerts @elastic/response-ops x-pack/plugins/stack_connectors @elastic/response-ops x-pack/plugins/task_manager @elastic/response-ops x-pack/plugins/triggers_actions_ui @elastic/response-ops -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 diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index cdcb8c75af28f..6f13c4c487ce7 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -961,7 +961,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/package.json b/package.json index e9039adcd37e8..a2a9b1ec373fe 100644 --- a/package.json +++ b/package.json @@ -993,7 +993,7 @@ "@kbn/unified-search-plugin": "link:src/plugins/unified_search", "@kbn/unsaved-changes-badge": "link:packages/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", diff --git a/tsconfig.base.json b/tsconfig.base.json index 93fee23828ce1..ca8244eb1eb25 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2000,8 +2000,8 @@ "@kbn/unsaved-changes-badge/*": ["packages/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"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 956d48ffc29c1..e57f4b21ab223 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -164,7 +164,7 @@ "xpack.timelines": "solutions/security/plugins/timelines", "xpack.transform": "platform/plugins/private/transform", "xpack.triggersActionsUI": "plugins/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/plugins/upgrade_assistant/README.md b/x-pack/platform/plugins/private/upgrade_assistant/README.md similarity index 95% rename from x-pack/plugins/upgrade_assistant/README.md rename to x-pack/platform/plugins/private/upgrade_assistant/README.md index 39bebc15e44b1..c08241b4c50e7 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,8 +334,8 @@ 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 } }` 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/upgrade_assistant/jest.config.js b/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js similarity index 62% rename from x-pack/plugins/upgrade_assistant/jest.config.js rename to x-pack/platform/plugins/private/upgrade_assistant/jest.config.js index 024cb4a49ab3d..aba2c9b5cf20a 100644 --- a/x-pack/plugins/upgrade_assistant/jest.config.js +++ b/x-pack/platform/plugins/private/upgrade_assistant/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/private/upgrade_assistant'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/upgrade_assistant', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/upgrade_assistant/{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 d78cafa21551b..4dba530b7c0e8 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/yarn.lock b/yarn.lock index bf301c00998d9..3f095fd7912fc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7817,7 +7817,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 "" From 6d2458ed0bcb7dba132e0b00e5ef7b64ca62752e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:12:13 +0100 Subject: [PATCH 172/183] Relocating module `@kbn/usage-collection-plugin` --- .buildkite/scripts/pipelines/pull_request/pipeline.ts | 4 ++-- .eslintrc.js | 4 ++-- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/core/CONVENTIONS.md | 4 ++-- .../api-server/src/saved_objects_repository.ts | 2 +- .../server/collectors/application_usage/README.md | 2 +- .../plugins/shared}/usage_collection/README.mdx | 8 ++++---- .../shared}/usage_collection/common/application_usage.ts | 0 .../plugins/shared}/usage_collection/common/constants.ts | 0 .../plugins/shared}/usage_collection/common/index.ts | 0 .../shared}/usage_collection/common/types/index.ts | 0 .../usage_collection/common/types/stats/core_metrics.ts | 0 .../shared}/usage_collection/common/types/stats/index.ts | 0 .../shared}/usage_collection/common/types/stats/latest.ts | 0 .../shared}/usage_collection/common/types/stats/v1.ts | 0 .../usage_collection/common/types/ui_counters/index.ts | 0 .../usage_collection/common/types/ui_counters/latest.ts | 0 .../usage_collection/common/types/ui_counters/v1.ts | 0 .../usage_collection/common/types/usage_counters/index.ts | 0 .../common/types/usage_counters/latest.ts | 0 .../usage_collection/common/types/usage_counters/v1.ts | 0 .../plugins/shared}/usage_collection/jest.config.js | 8 ++++---- .../shared}/usage_collection/jest.integration.config.js | 4 ++-- .../plugins/shared}/usage_collection/kibana.jsonc | 0 .../shared}/usage_collection/public/components/index.ts | 0 .../public/components/track_application_view/index.ts | 0 .../track_application_view.test.tsx | 0 .../track_application_view/track_application_view.tsx | 0 .../track_application_view_component.test.tsx | 0 .../track_application_view_component.tsx | 0 .../public/components/track_application_view/types.ts | 0 .../plugins/shared}/usage_collection/public/index.ts | 0 .../plugins/shared}/usage_collection/public/mocks.tsx | 0 .../plugins/shared}/usage_collection/public/plugin.tsx | 0 .../public/services/application_usage.test.ts | 0 .../usage_collection/public/services/application_usage.ts | 0 .../usage_collection/public/services/create_reporter.ts | 0 .../shared}/usage_collection/public/services/index.ts | 0 .../collector/__snapshots__/collector_set.test.ts.snap | 0 .../usage_collection/server/collector/collector.test.ts | 0 .../usage_collection/server/collector/collector.ts | 0 .../server/collector/collector_set.test.ts | 0 .../usage_collection/server/collector/collector_set.ts | 0 .../server/collector/collector_stats/README.md | 0 .../server/collector/collector_stats/index.ts | 0 .../server/collector/collector_stats/schema.ts | 0 .../usage_collector_stats_collector.test.ts | 0 .../collector_stats/usage_collector_stats_collector.ts | 0 .../shared}/usage_collection/server/collector/index.ts | 0 .../usage_collection/server/collector/measure_duration.ts | 0 .../shared}/usage_collection/server/collector/types.ts | 0 .../usage_collection/server/collector/usage_collector.ts | 0 .../plugins/shared}/usage_collection/server/config.ts | 0 .../plugins/shared}/usage_collection/server/index.ts | 0 .../plugins/shared}/usage_collection/server/mocks.ts | 0 .../plugins/shared}/usage_collection/server/plugin.ts | 0 .../shared}/usage_collection/server/report/index.ts | 0 .../shared}/usage_collection/server/report/schema.ts | 0 .../server/report/store_application_usage.test.ts | 0 .../server/report/store_application_usage.ts | 0 .../server/report/store_ui_report.test.mocks.ts | 0 .../server/report/store_ui_report.test.ts | 0 .../usage_collection/server/report/store_ui_report.ts | 0 .../shared}/usage_collection/server/routes/index.ts | 0 .../server/routes/integration_tests/stats.test.ts | 0 .../usage_collection/server/routes/stats/README.md | 0 .../shared}/usage_collection/server/routes/stats/index.ts | 0 .../shared}/usage_collection/server/routes/stats/stats.ts | 0 .../shared}/usage_collection/server/routes/ui_counters.ts | 0 .../server/usage_counters/common/kuery_utils.test.ts | 0 .../server/usage_counters/common/kuery_utils.ts | 0 .../usage_collection/server/usage_counters/index.ts | 0 .../usage_counters/integration_tests/counter_utils.ts | 0 .../usage_counters/integration_tests/rollups.test.ts | 0 .../usage_counters/integration_tests/search.test.ts | 0 .../server/usage_counters/rollups/constants.ts | 0 .../server/usage_counters/rollups/index.ts | 0 .../server/usage_counters/rollups/register_rollups.ts | 0 .../server/usage_counters/rollups/rollups.test.ts | 0 .../server/usage_counters/rollups/rollups.ts | 0 .../server/usage_counters/saved_objects.test.ts | 0 .../server/usage_counters/saved_objects.ts | 0 .../server/usage_counters/search/index.ts | 0 .../server/usage_counters/search/search.fixtures.ts | 0 .../server/usage_counters/search/search.test.ts | 0 .../server/usage_counters/search/search.ts | 0 .../usage_collection/server/usage_counters/types.ts | 0 .../server/usage_counters/usage_counter.test.ts | 0 .../server/usage_counters/usage_counter.ts | 0 .../server/usage_counters/usage_counters_service.mock.ts | 0 .../server/usage_counters/usage_counters_service.test.ts | 0 .../server/usage_counters/usage_counters_service.ts | 0 .../plugins/shared}/usage_collection/tsconfig.json | 4 ++-- .../plugins/usage_collection/package.json | 2 +- tsconfig.base.json | 4 ++-- .../platform/plugins/private/upgrade_assistant/README.md | 6 +++--- .../observability_solution/apm/dev_docs/telemetry.md | 2 +- yarn.lock | 2 +- 101 files changed, 32 insertions(+), 32 deletions(-) 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 (100%) 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 => platform/plugins/shared}/usage_collection/jest.config.js (72%) rename src/{plugins => 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%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index f9f95bc66f17d..ea39bf3a35926 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -262,7 +262,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/plugins\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/, /^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/openai/, /^x-pack\/plugins\/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/, @@ -345,7 +345,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/solutions\/security\/plugins\/threat_intelligence/, /^x-pack\/solutions\/security\/plugins\/timelines/, /^x-pack\/plugins\/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/, ])) || diff --git a/.eslintrc.js b/.eslintrc.js index 9aead8e0a7a19..dda93c45c4e08 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1902,7 +1902,7 @@ module.exports = { 'src/platform/packages/shared/kbn-analytics/**', // 'packages/kbn-telemetry-tools/**', 'src/platform/plugins/private/kibana_usage_collection/**', - 'src/plugins/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/**', @@ -1926,7 +1926,7 @@ module.exports = { 'src/platform/packages/shared/kbn-analytics/**', 'packages/kbn-telemetry-tools/**', 'src/platform/plugins/private/kibana_usage_collection/**', - 'src/plugins/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/**', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8ba40fd440c30..371331cfd2041 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -624,6 +624,7 @@ src/platform/plugins/shared/saved_objects_management @elastic/kibana-core 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/usage_collection @elastic/kibana-core src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux src/plugins/chart_expressions/common @elastic/kibana-visualizations @@ -686,7 +687,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery 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_type_markdown @elastic/kibana-presentation src/plugins/vis_types/gauge @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index cd0908d75b547..cb776493e75ed 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -143,7 +143,7 @@ "uiActions": ["src/plugins/ui_actions", "packages/kbn-ui-actions-browser"], "uiActionsEnhanced": "src/plugins/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/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 6f13c4c487ce7..e312ff1a6c11a 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -378,7 +378,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. diff --git a/package.json b/package.json index a2a9b1ec373fe..3eca0ad45ca76 100644 --- a/package.json +++ b/package.json @@ -997,7 +997,7 @@ "@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", 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/saved-objects/api-server/src/saved_objects_repository.ts b/src/core/packages/saved-objects/api-server/src/saved_objects_repository.ts index e2be2a89d2a9b..fa03406dcdf4d 100644 --- a/src/core/packages/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/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/README.md b/src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/README.md index 9b2c6690626fd..51ed904e3acfa 100644 --- a/src/platform/plugins/private/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/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 100% 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 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/usage_collection/jest.config.js b/src/platform/plugins/shared/usage_collection/jest.config.js similarity index 72% rename from src/plugins/usage_collection/jest.config.js rename to src/platform/plugins/shared/usage_collection/jest.config.js index 35fe2a8405c50..f8940378f66c8 100644 --- a/src/plugins/usage_collection/jest.config.js +++ b/src/platform/plugins/shared/usage_collection/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/usage_collection'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/usage_collection', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/usage_collection/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/usage_collection/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/usage_collection/jest.integration.config.js b/src/platform/plugins/shared/usage_collection/jest.integration.config.js similarity index 84% rename from src/plugins/usage_collection/jest.integration.config.js rename to src/platform/plugins/shared/usage_collection/jest.integration.config.js index d2894f9dcef95..d62c894f40ec1 100644 --- a/src/plugins/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/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/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 ca8244eb1eb25..524b98d9a7b85 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2008,8 +2008,8 @@ "@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"], diff --git a/x-pack/platform/plugins/private/upgrade_assistant/README.md b/x-pack/platform/plugins/private/upgrade_assistant/README.md index c08241b4c50e7..b95a756839cb7 100644 --- a/x-pack/platform/plugins/private/upgrade_assistant/README.md +++ b/x-pack/platform/plugins/private/upgrade_assistant/README.md @@ -342,7 +342,7 @@ This is a non-exhaustive list of different error scenarios in Upgrade Assistant. ### 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/observability_solution/apm/dev_docs/telemetry.md b/x-pack/plugins/observability_solution/apm/dev_docs/telemetry.md index 142701b035b5d..29b46da461934 100644 --- a/x-pack/plugins/observability_solution/apm/dev_docs/telemetry.md +++ b/x-pack/plugins/observability_solution/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/yarn.lock b/yarn.lock index 3f095fd7912fc..106701c542d82 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7833,7 +7833,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 "" From 814700aaea9fd96c40183bee61e55fa0edcb88fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:13:29 +0100 Subject: [PATCH 173/183] Relocating module `@kbn/utility-types` --- .buildkite/scripts/pipelines/pull_request/pipeline.ts | 2 +- .github/CODEOWNERS | 6 +++--- package.json | 2 +- src/dev/precommit_hook/casing_check_config.js | 2 +- .../platform/packages/shared}/kbn-utility-types/README.md | 0 .../platform/packages/shared}/kbn-utility-types/index.ts | 0 .../packages/shared}/kbn-utility-types/kibana.jsonc | 0 .../packages/shared}/kbn-utility-types/package.json | 2 +- .../platform/packages/shared}/kbn-utility-types/src/dot.ts | 0 .../shared}/kbn-utility-types/src/serializable/index.ts | 0 .../shared}/kbn-utility-types/src/tsd_tests/empty.d.ts | 0 .../shared}/kbn-utility-types/src/tsd_tests/package.json | 0 .../shared}/kbn-utility-types/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 .../kbn-utility-types/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 .../src/tsd_tests/test_d/union_to_intersection.ts | 0 .../src/tsd_tests/test_d/unwrap_observable.ts | 0 .../kbn-utility-types/src/tsd_tests/test_d/values.ts | 0 .../kbn-utility-types/src/tsd_tests/test_d/writable.ts | 0 .../packages/shared}/kbn-utility-types/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- .../public/entity_analytics/common/utils.ts | 2 +- yarn.lock | 2 +- 26 files changed, 12 insertions(+), 12 deletions(-) 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%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index ea39bf3a35926..6534bbfe2d623 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -312,7 +312,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/, /^packages\/kbn-ui-theme/, - /^packages\/kbn-utility-types/, + /^src\/platform\/packages\/shared\/kbn-utility-types/, /^packages\/react/, /^packages\/shared-ux/, /^src\/core/, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 371331cfd2041..4c64beb6d7b5b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -332,7 +332,6 @@ packages/kbn-unified-field-list @elastic/kibana-data-discovery packages/kbn-unsaved-changes-badge @elastic/kibana-data-discovery 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-utility-types-jest @elastic/kibana-operations packages/kbn-utils @elastic/kibana-operations packages/kbn-validate-next-docs-cli @elastic/kibana-operations @@ -608,6 +607,7 @@ 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-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team 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-zod-helpers @elastic/security-detection-rule-management src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/private/ftr_apis @elastic/kibana-core @@ -1394,8 +1394,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 diff --git a/package.json b/package.json index 3eca0ad45ca76..20fbd47447ed7 100644 --- a/package.json +++ b/package.json @@ -1003,7 +1003,7 @@ "@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:packages/kbn-utility-types-jest", "@kbn/utils": "link:packages/kbn-utils", "@kbn/ux-plugin": "link:x-pack/solutions/observability/plugins/ux", diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index be0de30e2bd28..b7b269302fedc 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', 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/tsconfig.base.json b/tsconfig.base.json index 524b98d9a7b85..9abc917354aad 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2020,8 +2020,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": ["packages/kbn-utility-types-jest"], "@kbn/utility-types-jest/*": ["packages/kbn-utility-types-jest/*"], "@kbn/utils": ["packages/kbn-utils"], 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/yarn.lock b/yarn.lock index 106701c542d82..d7707590222a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7861,7 +7861,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 "" From 9a889077eb96a8861026a0a283c97eaaef163ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 05:14:43 +0100 Subject: [PATCH 174/183] Relocating module `@kbn/zod` --- .github/CODEOWNERS | 2 +- package.json | 2 +- {packages => src/platform/packages/shared}/kbn-zod/README.md | 0 {packages => src/platform/packages/shared}/kbn-zod/index.ts | 0 .../platform/packages/shared}/kbn-zod/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-zod/kibana.jsonc | 0 .../platform/packages/shared}/kbn-zod/package.json | 0 .../platform/packages/shared}/kbn-zod/tsconfig.json | 2 +- .../platform/packages/shared}/kbn-zod/types.test.ts | 0 {packages => src/platform/packages/shared}/kbn-zod/types.ts | 0 .../platform/packages/shared}/kbn-zod/util.test.ts | 0 {packages => src/platform/packages/shared}/kbn-zod/util.ts | 0 tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 14 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/shared}/kbn-zod/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-zod/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-zod/jest.config.js (85%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4c64beb6d7b5b..1e1dea34e41a2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -341,7 +341,6 @@ packages/kbn-web-worker-stub @elastic/kibana-operations packages/kbn-whereis-pkg-cli @elastic/kibana-operations packages/kbn-xstate-utils @elastic/obs-ux-logs-team packages/kbn-yarn-lock-validator @elastic/kibana-operations -packages/kbn-zod @elastic/kibana-core packages/presentation/presentation_containers @elastic/kibana-presentation packages/presentation/presentation_publishing @elastic/kibana-presentation packages/react/kibana_context/common @elastic/appex-sharedux @@ -608,6 +607,7 @@ src/platform/packages/shared/kbn-std @elastic/kibana-core src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team 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-zod @elastic/kibana-core src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/private/ftr_apis @elastic/kibana-core diff --git a/package.json b/package.json index 20fbd47447ed7..4f926f75ce9b8 100644 --- a/package.json +++ b/package.json @@ -1026,7 +1026,7 @@ "@kbn/visualizations-plugin": "link:src/plugins/visualizations", "@kbn/watcher-plugin": "link:x-pack/platform/plugins/private/watcher", "@kbn/xstate-utils": "link:packages/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/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/packages/kbn-zod/jest.config.js b/src/platform/packages/shared/kbn-zod/jest.config.js similarity index 85% rename from packages/kbn-zod/jest.config.js rename to src/platform/packages/shared/kbn-zod/jest.config.js index 35e719290a314..176ffddbe51d4 100644 --- a/packages/kbn-zod/jest.config.js +++ b/src/platform/packages/shared/kbn-zod/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-zod'], + 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/tsconfig.base.json b/tsconfig.base.json index 9abc917354aad..f2a34c85957e2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2074,8 +2074,8 @@ "@kbn/xstate-utils/*": ["packages/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/yarn.lock b/yarn.lock index d7707590222a7..1ffe85a354ccb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7969,7 +7969,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 "" From 96f697c56ee253cc0cb6971b5824c95ba77258bf Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 19 Dec 2024 07:43:51 +0000 Subject: [PATCH 175/183] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- .../packages/http/router-server-internal/src/router.ts | 2 +- src/platform/packages/shared/kbn-i18n-react/index.tsx | 4 ++-- .../shared/kbn-i18n-react/src/compatiblity_layer.tsx | 2 +- src/platform/packages/shared/kbn-i18n-react/src/inject.tsx | 2 +- .../packages/shared/kbn-i18n-react/src/provider.tsx | 2 +- src/platform/plugins/private/ftr_apis/jest.config.js | 4 +++- .../plugins/private/kibana_usage_collection/jest.config.js | 3 ++- src/platform/plugins/shared/newsfeed/jest.config.js | 4 +++- .../plugins/shared/saved_objects_management/jest.config.js | 3 ++- src/platform/plugins/shared/telemetry/jest.config.js | 4 +++- .../shared/telemetry_management_section/jest.config.js | 4 +++- .../plugins/shared/usage_collection/jest.config.js | 3 ++- test/common/plugins/newsfeed/server/plugin.ts | 4 +++- .../private/telemetry_collection_xpack/jest.config.js | 4 +++- .../plugins/private/upgrade_assistant/jest.config.js | 3 ++- x-pack/platform/plugins/shared/cloud/jest.config.js | 4 +++- x-pack/platform/plugins/shared/features/jest.config.js | 7 +++++-- x-pack/platform/plugins/shared/licensing/jest.config.js | 7 +++++-- 18 files changed, 45 insertions(+), 21 deletions(-) diff --git a/src/core/packages/http/router-server-internal/src/router.ts b/src/core/packages/http/router-server-internal/src/router.ts index d1640a4db6db1..014a6eefb9206 100644 --- a/src/core/packages/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/src/platform/packages/shared/kbn-i18n-react/index.tsx b/src/platform/packages/shared/kbn-i18n-react/index.tsx index 03452b1c78d5f..c5e3276db5387 100644 --- a/src/platform/packages/shared/kbn-i18n-react/index.tsx +++ b/src/platform/packages/shared/kbn-i18n-react/index.tsx @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import type { IntlShape, WrappedComponentProps } from 'react-intl'; +import type { IntlShape, WrappedComponentProps } from '.'; import { FormattedDate, FormattedTime, @@ -15,7 +15,7 @@ import { FormattedPlural, FormattedMessage, FormattedRelativeTime, -} from 'react-intl'; +} from '.'; export type { IntlShape, WrappedComponentProps }; export { diff --git a/src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx b/src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx index 457a3e9b68779..b4fdc9d84fab4 100644 --- a/src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx +++ b/src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx @@ -8,9 +8,9 @@ */ import React, { PropsWithChildren, FC } from 'react'; -import { FormattedRelativeTime, IntlShape } from 'react-intl'; import { selectUnit } from '@formatjs/intl-utils'; import moment from 'moment'; +import { FormattedRelativeTime, IntlShape } from '..'; import { I18nProvider } from './provider'; export interface FormattedRelativeProps { diff --git a/src/platform/packages/shared/kbn-i18n-react/src/inject.tsx b/src/platform/packages/shared/kbn-i18n-react/src/inject.tsx index 51f668b3f18dc..74412cc6a9a11 100644 --- a/src/platform/packages/shared/kbn-i18n-react/src/inject.tsx +++ b/src/platform/packages/shared/kbn-i18n-react/src/inject.tsx @@ -13,4 +13,4 @@ * More docs and examples can be found here https://github.com/yahoo/react-intl/wiki/API#injection-api */ -export { injectIntl as injectI18n, useIntl as useI18n } from 'react-intl'; +export { injectIntl as injectI18n, useIntl as useI18n } from '..'; diff --git a/src/platform/packages/shared/kbn-i18n-react/src/provider.tsx b/src/platform/packages/shared/kbn-i18n-react/src/provider.tsx index b9098277336d7..a8dc251af96b0 100644 --- a/src/platform/packages/shared/kbn-i18n-react/src/provider.tsx +++ b/src/platform/packages/shared/kbn-i18n-react/src/provider.tsx @@ -9,7 +9,7 @@ import React, { FC, PropsWithChildren } from 'react'; import { i18n } from '@kbn/i18n'; -import { IntlProvider } from 'react-intl'; +import { IntlProvider } from '..'; /** * The library uses the provider pattern to scope an i18n context to a tree diff --git a/src/platform/plugins/private/ftr_apis/jest.config.js b/src/platform/plugins/private/ftr_apis/jest.config.js index 5b20f0a9d5e5b..63d378f9d73cd 100644 --- a/src/platform/plugins/private/ftr_apis/jest.config.js +++ b/src/platform/plugins/private/ftr_apis/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/private/ftr_apis'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/ftr_apis', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/private/ftr_apis/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/ftr_apis/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/kibana_usage_collection/jest.config.js b/src/platform/plugins/private/kibana_usage_collection/jest.config.js index e30e3349b1e93..2c9fca5b373a6 100644 --- a/src/platform/plugins/private/kibana_usage_collection/jest.config.js +++ b/src/platform/plugins/private/kibana_usage_collection/jest.config.js @@ -11,7 +11,8 @@ 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', + 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/platform/plugins/shared/newsfeed/jest.config.js b/src/platform/plugins/shared/newsfeed/jest.config.js index c97d47e6a159a..bcc6118c20e4b 100644 --- a/src/platform/plugins/shared/newsfeed/jest.config.js +++ b/src/platform/plugins/shared/newsfeed/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/shared/newsfeed'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/newsfeed', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/newsfeed/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/newsfeed/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/saved_objects_management/jest.config.js b/src/platform/plugins/shared/saved_objects_management/jest.config.js index e06cf47813410..ddd3f28d5bad3 100644 --- a/src/platform/plugins/shared/saved_objects_management/jest.config.js +++ b/src/platform/plugins/shared/saved_objects_management/jest.config.js @@ -11,7 +11,8 @@ 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', + 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/platform/plugins/shared/telemetry/jest.config.js b/src/platform/plugins/shared/telemetry/jest.config.js index 0f04eaecb6958..0e3146d7c9eaa 100644 --- a/src/platform/plugins/shared/telemetry/jest.config.js +++ b/src/platform/plugins/shared/telemetry/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/shared/telemetry'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/telemetry', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/telemetry/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/telemetry/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/telemetry_management_section/jest.config.js b/src/platform/plugins/shared/telemetry_management_section/jest.config.js index 870da44a5a120..8a7ad3b6757bb 100644 --- a/src/platform/plugins/shared/telemetry_management_section/jest.config.js +++ b/src/platform/plugins/shared/telemetry_management_section/jest.config.js @@ -14,5 +14,7 @@ module.exports = { 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}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/telemetry_management_section/public/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/usage_collection/jest.config.js b/src/platform/plugins/shared/usage_collection/jest.config.js index f8940378f66c8..86d6a7d74bfe1 100644 --- a/src/platform/plugins/shared/usage_collection/jest.config.js +++ b/src/platform/plugins/shared/usage_collection/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/usage_collection'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/usage_collection', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/usage_collection', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/shared/usage_collection/{common,public,server}/**/*.{ts,tsx}', diff --git a/test/common/plugins/newsfeed/server/plugin.ts b/test/common/plugins/newsfeed/server/plugin.ts index 80bd84b7d699b..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/platform/plugins/shared/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/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js b/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js index 4e4bed3de1ad1..ecb2ede5b918f 100644 --- a/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js @@ -12,5 +12,7 @@ module.exports = { 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}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/telemetry_collection_xpack/server/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js b/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js index aba2c9b5cf20a..2abb8ea84ab93 100644 --- a/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js +++ b/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js @@ -9,7 +9,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/private/upgrade_assistant'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/upgrade_assistant', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/upgrade_assistant', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/platform/plugins/private/upgrade_assistant/{common,public,server}/**/*.{ts,tsx}', diff --git a/x-pack/platform/plugins/shared/cloud/jest.config.js b/x-pack/platform/plugins/shared/cloud/jest.config.js index fd20d915bd553..fa19f5b20864e 100644 --- a/x-pack/platform/plugins/shared/cloud/jest.config.js +++ b/x-pack/platform/plugins/shared/cloud/jest.config.js @@ -11,5 +11,7 @@ module.exports = { roots: ['/x-pack/platform/plugins/shared/cloud'], coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cloud', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/shared/cloud/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/cloud/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/platform/plugins/shared/features/jest.config.js b/x-pack/platform/plugins/shared/features/jest.config.js index f467c256442d0..3675ee2986003 100644 --- a/x-pack/platform/plugins/shared/features/jest.config.js +++ b/x-pack/platform/plugins/shared/features/jest.config.js @@ -9,7 +9,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/shared/features'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/features', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/features', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/shared/features/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/features/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/platform/plugins/shared/licensing/jest.config.js b/x-pack/platform/plugins/shared/licensing/jest.config.js index e979e1c62632c..787cbc4c0dc31 100644 --- a/x-pack/platform/plugins/shared/licensing/jest.config.js +++ b/x-pack/platform/plugins/shared/licensing/jest.config.js @@ -9,7 +9,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/shared/licensing'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/licensing', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/licensing', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/shared/licensing/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/licensing/{common,public,server}/**/*.{ts,tsx}', + ], }; From fe35adfd1fda7085502fcd2c9c0f10c3f7fcea73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 10:36:05 +0100 Subject: [PATCH 176/183] Fix telemetry schemas --- .telemetryrc.json | 8 +- .../shared/telemetry/schema/oss_platform.json | 12393 ++++++++++++++- .../shared/telemetry/schema/oss_plugins.json | 12918 +--------------- .../schema/xpack_platform.json | 101 + .../schema/xpack_plugins.json | 101 - 5 files changed, 12761 insertions(+), 12760 deletions(-) diff --git a/.telemetryrc.json b/.telemetryrc.json index ca82411ffbe4c..273912101b5fe 100644 --- a/.telemetryrc.json +++ b/.telemetryrc.json @@ -2,9 +2,7 @@ { "output": "src/platform/plugins/shared/telemetry/schema/oss_plugins.json", "root": "src/plugins/", - "exclude": [ - "src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts" - ] + "exclude": [] }, { "output": "src/platform/plugins/shared/telemetry/schema/kbn_packages.json", @@ -14,6 +12,8 @@ { "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/src/platform/plugins/shared/telemetry/schema/oss_platform.json b/src/platform/plugins/shared/telemetry/schema/oss_platform.json index d5b0514b64918..38e96a1cbd8ab 100644 --- a/src/platform/plugins/shared/telemetry/schema/oss_platform.json +++ b/src/platform/plugins/shared/telemetry/schema/oss_platform.json @@ -1,3 +1,12394 @@ { - "properties": {} + "properties": { + "application_usage": { + "properties": { + "dashboards": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "dev_tools": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "discover": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "home": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "kibana": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "management": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "short_url_redirect": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "visualize": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "error": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "status": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "kibanaOverview": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "r": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "apm": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "canvas": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "enterpriseSearch": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "enterpriseSearchContent": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "searchInferenceEndpoints": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "searchPlayground": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "enterpriseSearchAnalytics": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "enterpriseSearchApplications": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "enterpriseSearchAISearch": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "enterpriseSearchSemanticSearch": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "enterpriseSearchVectorSearch": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "enterpriseSearchElasticsearch": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "entity_manager": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "appSearch": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "workplaceSearch": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "searchExperiences": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "graph": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "logs": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "metrics": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "fleet": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "integrations": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "ingestManager": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "inventory": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "lens": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "maps": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "ml": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "monitoring": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "observability-log-explorer": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "observability-logs-explorer": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "last-used-logs-viewer": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "observability-overview": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "observabilityOnboarding": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "observabilityAIAssistant": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "exploratory-view": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "osquery": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "profiling": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "slo": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "security_account": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "reportingRedirect": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "security_access_agreement": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "security_capture_url": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "security_logged_out": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "security_login": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "security_logout": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "security_overwritten_session": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "securitySolutionUI": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "siem": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "space_selector": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "streams": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "uptime": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "synthetics": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + }, + "ux": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "Always `main`" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen over the last 90 days" + } + }, + "views": { + "type": "array", + "items": { + "properties": { + "appId": { + "type": "keyword", + "_meta": { + "description": "The application being tracked" + } + }, + "viewId": { + "type": "keyword", + "_meta": { + "description": "The application view being tracked" + } + }, + "clicks_total": { + "type": "long", + "_meta": { + "description": "General number of clicks in the application sub view since we started counting them" + } + }, + "clicks_7_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 7 days" + } + }, + "clicks_30_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 30 days" + } + }, + "clicks_90_days": { + "type": "long", + "_meta": { + "description": "General number of clicks in the active application sub view over the last 90 days" + } + }, + "minutes_on_screen_total": { + "type": "float", + "_meta": { + "description": "Minutes the application sub view is active and on-screen since we started counting them." + } + }, + "minutes_on_screen_7_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" + } + }, + "minutes_on_screen_30_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" + } + }, + "minutes_on_screen_90_days": { + "type": "float", + "_meta": { + "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + } + } + } + } + } + } + } + } + }, + "cloud_provider": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The name of the cloud provider" + } + }, + "vm_type": { + "type": "keyword", + "_meta": { + "description": "The VM instance type" + } + }, + "region": { + "type": "keyword", + "_meta": { + "description": "The cloud provider region" + } + }, + "zone": { + "type": "keyword", + "_meta": { + "description": "The availability zone within the region" + } + } + } + }, + "core": { + "properties": { + "config": { + "properties": { + "elasticsearch": { + "properties": { + "sniffOnStart": { + "type": "boolean", + "_meta": { + "description": "Indicates if an attempt should be made to find other Elasticsearch nodes on startup." + } + }, + "sniffIntervalMs": { + "type": "long", + "_meta": { + "description": "Time in milliseconds between requests to check Elasticsearch for an updated list of nodes." + } + }, + "sniffOnConnectionFault": { + "type": "boolean", + "_meta": { + "description": "Indicates if the list of Elasticsearch nodes should be updated immediately following a connection fault." + } + }, + "numberOfHostsConfigured": { + "type": "long", + "_meta": { + "description": "Number of Elasticsearch instances configured to use for queries." + } + }, + "requestHeadersWhitelistConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if Kibana client-side headers to send to Elasticsearch is different to the default value." + } + }, + "customHeadersConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if any custom headers have been configured." + } + }, + "shardTimeoutMs": { + "type": "long", + "_meta": { + "description": "Time in milliseconds for Elasticsearch to wait for responses from shards." + } + }, + "requestTimeoutMs": { + "type": "long", + "_meta": { + "description": "Time in milliseconds to wait for responses from the back end or Elasticsearch." + } + }, + "pingTimeoutMs": { + "type": "long", + "_meta": { + "description": "Time in milliseconds to wait for Elasticsearch to respond to pings." + } + }, + "logQueries": { + "type": "boolean", + "_meta": { + "description": "Indicates if queries sent to Elasticsearch should be logged." + } + }, + "ssl": { + "properties": { + "verificationMode": { + "type": "keyword", + "_meta": { + "description": "The verification of the server certificate that Kibana receives when making an outbound SSL or TLS connection to Elasticsearch" + } + }, + "certificateAuthoritiesConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if any PEM-encoded X.509 certificate authority certificates are configured." + } + }, + "certificateConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if a certificate authority is configured." + } + }, + "keyConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if a certificate key is configured." + } + }, + "keystoreConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if a keystore is configured." + } + }, + "truststoreConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if a path to a PKCS#12 trust store is configured." + } + }, + "alwaysPresentCertificate": { + "type": "boolean", + "_meta": { + "description": "Indicates if a client certificate is presented when requested by Elasticsearch." + } + } + } + }, + "apiVersion": { + "type": "keyword", + "_meta": { + "description": "Version of the Elasticsearch API used." + } + }, + "healthCheckDelayMs": { + "type": "long", + "_meta": { + "description": "The interval in miliseconds between health check requests Kibana sends to the Elasticsearch." + } + }, + "principal": { + "type": "keyword", + "_meta": { + "description": "Indicates how Kibana authenticates itself to Elasticsearch. If elasticsearch.username is configured, this can be any of: \"elastic_user\", \"kibana_user\", \"kibana_system_user\", or \"other_user\". Otherwise, if elasticsearch.serviceAccountToken is configured, this will be \"kibana_service_account\". Otherwise, this value will be \"unknown\", because some other principal might be used to authenticate Kibana to Elasticsearch (such as an x509 certificate), or authentication may be skipped altogether." + } + } + } + }, + "http": { + "properties": { + "basePathConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if a base path has been configured." + } + }, + "maxPayloadInBytes": { + "type": "long", + "_meta": { + "description": "Maximum payload size in bytes that is allowed." + } + }, + "rewriteBasePath": { + "type": "boolean", + "_meta": { + "description": "Indicates if the base path should be rewritten." + } + }, + "keepaliveTimeout": { + "type": "long", + "_meta": { + "description": "How long to keep sockets alive globally in milliseconds." + } + }, + "socketTimeout": { + "type": "long", + "_meta": { + "description": "How long to wait before closing inactive sockets in milliseconds." + } + }, + "compression": { + "properties": { + "enabled": { + "type": "boolean", + "_meta": { + "description": "Indicates if HTTP response compression is enabled." + } + }, + "referrerWhitelistConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if any responses should be compressed." + } + } + } + }, + "xsrf": { + "properties": { + "disableProtection": { + "type": "boolean", + "_meta": { + "description": "Indicates if protection against xsrf should be disabled." + } + }, + "allowlistConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if any http headers have been whitelisted." + } + } + } + }, + "requestId": { + "properties": { + "allowFromAnyIp": { + "type": "boolean", + "_meta": { + "description": "Indicates if any http headers have been whitelisted." + } + }, + "ipAllowlistConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if a list of specific IPs has been configured." + } + } + } + }, + "ssl": { + "properties": { + "certificateAuthoritiesConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if ssl certificate authorities have been configured." + } + }, + "certificateConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if an ssl certificate is configured." + } + }, + "cipherSuites": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The keyword of the cipher suite used." + } + } + }, + "keyConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if an ssl key has been configured." + } + }, + "keystoreConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if an ssl keystore has been configured." + } + }, + "truststoreConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if a path to a PKCS#12 trust store is configured." + } + }, + "redirectHttpFromPortConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if a port to redirect all http requests has been configured." + } + }, + "supportedProtocols": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The version of a supported protocol used." + } + } + }, + "clientAuthentication": { + "type": "keyword", + "_meta": { + "description": "The behavior in Kibana for requesting a certificate from client connections." + } + } + } + }, + "securityResponseHeaders": { + "properties": { + "strictTransportSecurity": { + "type": "keyword", + "_meta": { + "description": "The strictTransportSecurity response header, \"NULL\" if disabled." + } + }, + "xContentTypeOptions": { + "type": "keyword", + "_meta": { + "description": "The xContentTypeOptions response header, \"NULL\" if disabled." + } + }, + "referrerPolicy": { + "type": "keyword", + "_meta": { + "description": "The referrerPolicy response header, \"NULL\" if disabled." + } + }, + "permissionsPolicyConfigured": { + "type": "boolean", + "_meta": { + "description": "Indicates if the permissionsPolicy response header has been configured." + } + }, + "disableEmbedding": { + "type": "boolean", + "_meta": { + "description": "Indicates if security headers to disable embedding have been configured." + } + }, + "crossOriginOpenerPolicy": { + "type": "keyword", + "_meta": { + "description": "The crossOriginOpenerPolicy response header, \"NULL\" if disabled." + } + } + } + } + } + }, + "logging": { + "properties": { + "appendersTypesUsed": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The type of logging appender confgured." + } + } + }, + "loggersConfiguredCount": { + "type": "long", + "_meta": { + "description": "The total number of logging appenders configured." + } + } + } + }, + "savedObjects": { + "properties": { + "customIndex": { + "type": "boolean", + "_meta": { + "description": "Indicates if the saved objects index is different to the standard internal .kibana index." + } + }, + "maxImportPayloadBytes": { + "type": "long", + "_meta": { + "description": "Maximum size of the payload in bytes of saved objects that can be imported." + } + }, + "maxImportExportSize": { + "type": "long", + "_meta": { + "description": "Maximum count of saved objects that can be imported or exported." + } + } + } + }, + "deprecatedKeys": { + "properties": { + "set": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Config path added during config deprecation." + } + } + }, + "unset": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Config path removed during config deprecation." + } + } + } + } + } + } + }, + "environment": { + "properties": { + "memory": { + "properties": { + "arrayBuffersBytes": { + "type": "long", + "_meta": { + "description": "Memory allocated for array buffers. This is also included in the external value." + } + }, + "externalBytes": { + "type": "long", + "_meta": { + "description": "Memory usage of C++ objects bound to JavaScript objects managed by V8." + } + }, + "residentSetSizeBytes": { + "type": "long", + "_meta": { + "description": "Node RSS." + } + }, + "heapSizeLimit": { + "type": "long", + "_meta": { + "description": "Host memory heap size limit." + } + }, + "heapTotalBytes": { + "type": "long", + "_meta": { + "description": "Total memory heap size of host that is available in bytes." + } + }, + "heapUsedBytes": { + "type": "long", + "_meta": { + "description": "Total memory heap size of host that is used in bytes." + } + } + } + } + } + }, + "services": { + "properties": { + "savedObjects": { + "properties": { + "indices": { + "type": "array", + "items": { + "properties": { + "docsCount": { + "type": "long", + "_meta": { + "description": "The number of lucene documents in the index, including hidden nested documents." + } + }, + "docsDeleted": { + "type": "long", + "_meta": { + "description": "The number of deleted lucene documents in the index, including hidden nested documents." + } + }, + "alias": { + "type": "keyword", + "_meta": { + "description": "The alias used to map customized saved object index names to standard index names (.kibana or .kibana_task_manager)." + } + }, + "primaryStoreSizeBytes": { + "type": "long", + "_meta": { + "description": "The size in bytes of the index, for primaries only." + } + }, + "storeSizeBytes": { + "type": "long", + "_meta": { + "description": "The size in bytes of the index, for primaries and replicas." + } + }, + "savedObjectsDocsCount": { + "type": "long", + "_meta": { + "description": "The number of saved objects documents in the index." + } + } + } + } + }, + "legacyUrlAliases": { + "properties": { + "inactiveCount": { + "type": "long", + "_meta": { + "description": "Count of legacy URL aliases that are inactive; they are not disabled, but they have not been resolved." + } + }, + "activeCount": { + "type": "long", + "_meta": { + "description": "Count of legacy URL aliases that are active; they are not disabled, and they have been resolved at least once." + } + }, + "disabledCount": { + "type": "long", + "_meta": { + "description": "Count of legacy URL aliases that are disabled." + } + }, + "totalCount": { + "type": "long", + "_meta": { + "description": "Total count of legacy URL aliases." + } + } + } + } + } + } + } + }, + "apiCalls.savedObjectsBulkCreate.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsBulkCreate.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsBulkCreate.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkCreate.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkCreate.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsBulkCreate.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsBulkCreate.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsBulkGet.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsBulkGet.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsBulkGet.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkGet.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkGet.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsBulkGet.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsBulkGet.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsBulkResolve.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsBulkResolve.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsBulkResolve.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkResolve.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkResolve.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsBulkResolve.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsBulkResolve.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsBulkUpdate.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsBulkUpdate.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsBulkUpdate.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkUpdate.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkUpdate.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsBulkUpdate.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsBulkUpdate.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsCreate.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsCreate.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsCreate.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsCreate.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsCreate.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsCreate.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsCreate.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsDelete.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsDelete.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsDelete.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsDelete.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsDelete.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsDelete.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsDelete.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsFind.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsFind.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsFind.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsFind.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsFind.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsFind.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsFind.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsGet.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsGet.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsGet.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsGet.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsGet.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsGet.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsGet.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsResolve.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsResolve.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsResolve.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsResolve.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsResolve.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsResolve.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsResolve.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsUpdate.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsUpdate.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsUpdate.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsUpdate.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsUpdate.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsUpdate.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsUpdate.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsBulkDelete.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsBulkDelete.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsBulkDelete.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkDelete.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsBulkDelete.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsBulkDelete.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsBulkDelete.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsImport.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsImport.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsImport.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsImport.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsImport.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsImport.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsImport.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsImport.createNewCopiesEnabled.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called with the `createNewCopiesEnabled` option." + } + }, + "apiCalls.savedObjectsImport.createNewCopiesEnabled.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called without the `createNewCopiesEnabled` option." + } + }, + "apiCalls.savedObjectsImport.compatibilityModeEnabled.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called with the `compatibilityMode` option." + } + }, + "apiCalls.savedObjectsImport.compatibilityModeEnabled.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called without the `compatibilityMode` option." + } + }, + "apiCalls.savedObjectsImport.overwriteEnabled.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called with the `overwrite` option." + } + }, + "apiCalls.savedObjectsImport.overwriteEnabled.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called without the `overwrite` option." + } + }, + "apiCalls.savedObjectsResolveImportErrors.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsResolveImportErrors.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsResolveImportErrors.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsResolveImportErrors.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsResolveImportErrors.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsResolveImportErrors.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsResolveImportErrors.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsResolveImportErrors.createNewCopiesEnabled.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called with the `createNewCopiesEnabled` option." + } + }, + "apiCalls.savedObjectsResolveImportErrors.createNewCopiesEnabled.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called without the `createNewCopiesEnabled` option." + } + }, + "apiCalls.savedObjectsExport.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.savedObjectsExport.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.savedObjectsExport.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsExport.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.savedObjectsExport.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.savedObjectsExport.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsExport.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.legacyDashboardExport.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.legacyDashboardExport.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.legacyDashboardExport.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "apiCalls.savedObjectsExport.allTypesSelected.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called with all types selected." + } + }, + "apiCalls.savedObjectsExport.allTypesSelected.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called without all types selected." + } + }, + "apiCalls.legacyDashboardImport.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.legacyDashboardImport.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.legacyDashboardImport.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, + "savedObjectsRepository.resolvedOutcome.exactMatch": { + "type": "long", + "_meta": { + "description": "How many times a saved object has resolved with an exact match outcome." + } + }, + "savedObjectsRepository.resolvedOutcome.aliasMatch": { + "type": "long", + "_meta": { + "description": "How many times a saved object has resolved with an alias match outcome." + } + }, + "savedObjectsRepository.resolvedOutcome.conflict": { + "type": "long", + "_meta": { + "description": "How many times a saved object has resolved with a conflict outcome." + } + }, + "savedObjectsRepository.resolvedOutcome.notFound": { + "type": "long", + "_meta": { + "description": "How many times a saved object has resolved with a not found outcome." + } + }, + "savedObjectsRepository.resolvedOutcome.total": { + "type": "long", + "_meta": { + "description": "How many times a saved object has resolved with any of the four possible outcomes." + } + }, + "deprecated_api_calls_resolved.total": { + "type": "integer", + "_meta": { + "description": "How many times deprecated APIs has been marked as resolved" + } + }, + "deprecated_api_calls.total": { + "type": "integer", + "_meta": { + "description": "How many times deprecated APIs has been called." + } + } + } + }, + "csp": { + "properties": { + "strict": { + "type": "boolean", + "_meta": { + "description": "Indicates if strict mode should be used." + } + }, + "warnLegacyBrowsers": { + "type": "boolean", + "_meta": { + "description": "Indicates if legacy browser versions should be warned." + } + }, + "rulesChangedFromDefault": { + "type": "boolean", + "_meta": { + "description": "Indicates if the rules have been changed from the default." + } + } + } + }, + "event_loop_delays": { + "properties": { + "daily": { + "type": "array", + "items": { + "properties": { + "processId": { + "type": "long", + "_meta": { + "description": "The process id of the monitored kibana instance." + } + }, + "instanceUuid": { + "type": "keyword", + "_meta": { + "description": "The uuid of the kibana instance." + } + }, + "fromTimestamp": { + "type": "date", + "_meta": { + "description": "Timestamp at which the histogram started monitoring." + } + }, + "lastUpdatedAt": { + "type": "date", + "_meta": { + "description": "Latest timestamp this histogram object was updated this day." + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum recorded event loop delay in ms." + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum recorded event loop delay in ms." + } + }, + "mean": { + "type": "long", + "_meta": { + "description": "The mean of the recorded event loop delays in ms." + } + }, + "exceeds": { + "type": "long", + "_meta": { + "description": "The number of times the event loop delay exceeded the maximum 1 hour eventloop delay threshold." + } + }, + "stddev": { + "type": "long", + "_meta": { + "description": "The standard deviation of the recorded event loop delays in ms." + } + }, + "percentiles": { + "properties": { + "50": { + "type": "long", + "_meta": { + "description": "The 50th accumulated percentile distribution in ms" + } + }, + "75": { + "type": "long", + "_meta": { + "description": "The 75th accumulated percentile distribution in ms" + } + }, + "95": { + "type": "long", + "_meta": { + "description": "The 95th accumulated percentile distribution in ms" + } + }, + "99": { + "type": "long", + "_meta": { + "description": "The 99th accumulated percentile distribution in ms" + } + } + } + } + } + } + } + } + }, + "kibana": { + "properties": { + "index": { + "type": "keyword", + "_meta": { + "description": "The index storing the saved objects" + } + }, + "dashboard": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Total number of dashboard saved objects" + } + } + } + }, + "visualization": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Total number of visualization saved objects" + } + } + } + }, + "search": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Total number of search saved objects" + } + } + } + }, + "index_pattern": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Total number of index_pattern saved objects" + } + } + } + }, + "graph_workspace": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Total number of graph_workspace saved objects" + } + } + } + } + } + }, + "localization": { + "properties": { + "locale": { + "type": "keyword", + "_meta": { + "description": "The default locale set on the Kibana system" + } + }, + "integrities": { + "properties": { + "DYNAMIC_KEY": { + "type": "text", + "_meta": { + "description": "Translation file hash. If the hash is different it indicates that a custom translation file is used" + } + } + } + }, + "labelsCount": { + "type": "long", + "_meta": { + "description": "The number of translated labels" + } + } + } + }, + "saved_objects_counts": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Total number of saved objects in the cluster" + } + }, + "by_type": { + "type": "array", + "items": { + "properties": { + "type": { + "type": "keyword", + "_meta": { + "description": "The SavedObjects type" + } + }, + "count": { + "type": "long", + "_meta": { + "description": "How many SavedObjects of that type are stored in the cluster across all Spaces" + } + } + } + } + }, + "others": { + "type": "long", + "_meta": { + "description": "Number of SO objects outside the breakdown. If it is not 0, there may be an unexpected state of the deployment 0 and future migrations might fail." + } + }, + "non_registered_types": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "List of SO types that showed up in the break down but are not registered in Kibana. They could be a potential cause of future migration failures." + } + } + } + } + }, + "stack_management": { + "properties": { + "securitySolution:defaultIndex": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "securitySolution:excludedDataTiersForRuleExecution": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + } + }, + "securitySolution:maxUnassociatedNotes": { + "type": "integer", + "_meta": { + "description": "The maximum number of allowed unassociated notes" + } + }, + "securitySolution:defaultThreatIndex": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "securitySolution:alertTags": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "securitySolution:newsFeedUrl": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "xpackReporting:customPdfLogo": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "notifications:banner": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "xpackDashboardMode:roles": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "securitySolution:ipReputationLinks": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "banners:textContent": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "visualization:heatmap:maxBuckets": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "visualization:useLegacyTimeAxis": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "visualization:regionmap:showWarnings": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "visualization:tileMap:maxPrecision": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "csv:separator": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "visualization:tileMap:WMSdefaults": { + "type": "text", + "_meta": { + "description": "Non-default value of setting." + } + }, + "timelion:target_buckets": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "timelion:max_buckets": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "timelion:es.timefield": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "timelion:min_interval": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "timelion:es.default_index": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:timeDefaults": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:defaultAnomalyScore": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:refreshIntervalDefaults": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:enableNewsFeed": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:enableAssetCriticality": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:excludeColdAndFrozenTiersInAnalyzer": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:enableCcsWarning": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:enableVisualizationsInFlyout": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "search:includeFrozen": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "courier:maxConcurrentShardRequests": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "courier:setRequestPreference": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "courier:customRequestPreference": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "courier:ignoreFilterIfFieldNotInIndex": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "rollups:enableIndexPatterns": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "notifications:lifetime:warning": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "notifications:lifetime:banner": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "notifications:lifetime:info": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "notifications:lifetime:error": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "doc_table:highlight": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "data_views:cache_max_age": { + "type": "long", + "_meta": { + "description": "Sets the 'max-age' cache header value for data view fields API requests. A value of 0 will disable caching." + } + }, + "discover:searchOnPageLoad": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "doc_table:hideTimeColumn": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "discover:sampleSize": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "discover:sampleRowsPerPage": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "discover:maxDocFieldsDisplayed": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "defaultColumns": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + } + }, + "context:defaultSize": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "context:tieBreakerFields": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + } + }, + "discover:sort:defaultOrder": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "context:step": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "accessibility:disableAnimations": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "fileUpload:maxFileSize": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "ml:anomalyDetection:results:enableTimeDefaults": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "ml:anomalyDetection:results:timeDefaults": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "timepicker:timeDefaults": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "timepicker:refreshIntervalDefaults": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "timepicker:quickRanges": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "theme:version": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "theme:darkMode": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "theme:name": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "state:storeInSessionStorage": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "savedObjects:perPage": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "search:queryLanguage": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "shortDots:enable": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "sort:options": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "savedObjects:listingLimit": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "query:queryString:options": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "metrics:max_buckets": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "metrics:allowStringIndices": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "query:allowLeadingWildcards": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "metaFields": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + } + }, + "indexPattern:placeholder": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "histogram:barTarget": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "histogram:maxBars": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "format:number:defaultLocale": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "format:percent:defaultPattern": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "format:number:defaultPattern": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "history:limit": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "format:defaultTypeMap": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "format:currency:defaultPattern": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "defaultIndex": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "format:bytes:defaultPattern": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "filters:pinnedByDefault": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "filterEditor:suggestValues": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "fields:popularLimit": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "dateNanosFormat": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "defaultRoute": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "dateFormat:tz": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "dateFormat:scaled": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "csv:quoteValues": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "dateFormat:dow": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "dateFormat": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "autocomplete:useTimeRange": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "autocomplete:valueSuggestionMethod": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "search:timeout": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "bfetch:disableCompression": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "bfetch:disable": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "visualization:visualize:legacyHeatmapChartsLibrary": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "discover:modifyColumnsOnSwitch": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:rulesTableRefresh": { + "type": "text", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:syntheticsThrottlingEnabled": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:enableInspectEsQueries": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:maxSuggestions": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:enableComparisonByDefault": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:enableServiceGroups": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmEnableServiceMetrics": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmEnableContinuousRollups": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmAgentExplorerView": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmEnableTableSearchBar": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmEnableServiceInventoryTableSearchBar": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:entityCentricExperience": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmAWSLambdaPriceFactor": { + "type": "text", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmAWSLambdaRequestCostPerMillion": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:aiAssistantSimulatedFunctionCalling": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:aiAssistantSearchConnectorIndexPattern": { + "type": "text", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:logsExplorer:allowedDataViews": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + } + }, + "observability:logSources": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + } + }, + "observability:enableLogsStream": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "banners:placement": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "banners:textColor": { + "type": "text", + "_meta": { + "description": "Non-default value of setting." + } + }, + "banners:backgroundColor": { + "type": "text", + "_meta": { + "description": "Non-default value of setting." + } + }, + "labs:presentation:timeToPresent": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "labs:canvas:enable_ui": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "labs:canvas:byValueEmbeddable": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "labs:canvas:useDataService": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "labs:dashboard:enable_ui": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "labs:dashboard:deferBelowFold": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "discover:showFieldStatistics": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "discover:showMultiFields": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "enableESQL": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "discover:rowHeightOption": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "hideAnnouncements": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "isDefaultIndexMigrated": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmDefaultServiceEnvironment": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, + "observability:apmLabsButton": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:enableAwsLambdaMetrics": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmProgressiveLoading": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmServiceGroupMaxNumberOfServices": { + "type": "long", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmServiceInventoryOptimizedSorting": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmTraceExplorerTab": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmEnableProfilingIntegration": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmEnableTransactionProfiling": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:profilingShowErrorFrames": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:profilingPerVCPUWattX86": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:profilingPervCPUWattArm64": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:profilingCo2PerKWH": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:profilingDatacenterPUE": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmEnableCriticalPath": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:enableInfrastructureProfilingIntegration": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:enableInfrastructureAssetCustomDashboards": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:enableGroupedNav": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "securitySolution:showRelatedIntegrations": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "visualization:visualize:legacyGaugeChartsLibrary": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:enableLegacyUptimeApp": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:profilingCostPervCPUPerHour": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:profilingAWSCostDiscountRate": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:profilingAzureCostDiscountRate": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, + "data_views:fields_excluded_data_tiers": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "devTools:enablePersistentConsole": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "aiAssistant:preferredAIAssistantType": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:profilingFetchTopNFunctionsFromStacktraces": { + "type": "boolean", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:searchExcludedDataTiers": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + } + }, + "observability:newLogsOverview": { + "type": "boolean", + "_meta": { + "description": "Enable the new logs overview component." + } + } + } + }, + "static_telemetry": { + "properties": { + "ece": { + "properties": { + "kb_uuid": { + "type": "keyword" + }, + "es_uuid": { + "type": "keyword" + }, + "account_id": { + "type": "keyword" + }, + "license": { + "properties": { + "uuid": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "issued_to": { + "type": "text" + }, + "issuer": { + "type": "text" + }, + "issue_date_in_millis": { + "type": "long" + }, + "start_date_in_millis": { + "type": "long" + }, + "expiry_date_in_millis": { + "type": "long" + }, + "max_resource_units": { + "type": "long" + } + } + } + } + }, + "ess": { + "properties": { + "kb_uuid": { + "type": "keyword" + }, + "es_uuid": { + "type": "keyword" + }, + "account_id": { + "type": "keyword" + }, + "license": { + "properties": { + "uuid": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "issued_to": { + "type": "text" + }, + "issuer": { + "type": "text" + }, + "issue_date_in_millis": { + "type": "long" + }, + "start_date_in_millis": { + "type": "long" + }, + "expiry_date_in_millis": { + "type": "long" + }, + "max_resource_units": { + "type": "long" + } + } + } + } + }, + "eck": { + "properties": { + "operator_uuid": { + "type": "keyword" + }, + "operator_roles": { + "type": "keyword" + }, + "custom_operator_namespace": { + "type": "boolean" + }, + "distribution": { + "type": "text" + }, + "build": { + "properties": { + "hash": { + "type": "text" + }, + "date": { + "type": "date" + }, + "version": { + "type": "keyword" + } + } + } + } + } + } + }, + "telemetry": { + "properties": { + "opt_in_status": { + "type": "boolean" + }, + "usage_fetcher": { + "type": "keyword" + }, + "last_reported": { + "type": "long" + }, + "labels": { + "type": "pass_through", + "_meta": { + "description": "Custom labels added to the telemetry.labels config in the kibana.yml" + } + } + } + }, + "ui_counters": { + "properties": { + "dailyEvents": { + "type": "array", + "items": { + "properties": { + "appName": { + "type": "keyword", + "_meta": { + "description": "Name of the app reporting ui counts." + } + }, + "eventName": { + "type": "keyword", + "_meta": { + "description": "Name of the event that happened." + } + }, + "lastUpdatedAt": { + "type": "date", + "_meta": { + "description": "Time at which the metric was last updated." + } + }, + "fromTimestamp": { + "type": "date", + "_meta": { + "description": "Time at which the metric was captured." + } + }, + "counterType": { + "type": "keyword", + "_meta": { + "description": "The type of counter used." + } + }, + "total": { + "type": "integer", + "_meta": { + "description": "The total number of times the event happened." + } + } + } + } + } + } + }, + "ui_metric": { + "properties": { + "console": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "DashboardPanelVersionInUrl": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "Kibana_home": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "visualize": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "canvas": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "cross_cluster_replication": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "index_lifecycle_management": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "index_management": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "ingest_pipelines": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "apm": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "infra_logs": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "infra_metrics": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "stack_monitoring": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "remote_clusters": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "rollup_jobs": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "securitySolution": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "snapshot_restore": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "dashboards": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "dev_tools": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "discover": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "home": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "kibana": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "management": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "short_url_redirect": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "csm": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "enterpriseSearch": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "appSearch": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "workplaceSearch": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "graph": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "logs": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "metrics": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "infra": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "ingestManager": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "lens": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "maps": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "ml": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "monitoring": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "observability-overview": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "security_account": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "security_access_agreement": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "security_capture_url": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "security_logged_out": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "security_login": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "security_logout": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "security_overwritten_session": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "securitySolutionUI": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "securitySolutionUI:overview": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "securitySolutionUI:detections": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "securitySolutionUI:hosts": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "securitySolutionUI:network": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "securitySolutionUI:timelines": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "securitySolutionUI:case": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "securitySolutionUI:administration": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "siem": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "space_selector": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + }, + "uptime": { + "type": "array", + "items": { + "properties": { + "key": { + "type": "keyword", + "_meta": { + "description": "The event that is tracked" + } + }, + "value": { + "type": "long", + "_meta": { + "description": "The value of the event" + } + } + } + } + } + } + }, + "usage_collector_stats": { + "properties": { + "total_duration": { + "type": "long", + "_meta": { + "description": "The total execution duration to grab usage stats for all collectors in milliseconds" + } + }, + "total_is_ready_duration": { + "type": "long", + "_meta": { + "description": "The total execution duration of the isReady function for all collectors in milliseconds" + } + }, + "total_fetch_duration": { + "type": "long", + "_meta": { + "description": "The total execution duration of the fetch function for all ready collectors in milliseconds" + } + }, + "is_ready_duration_breakdown": { + "type": "array", + "items": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The name of the collector" + } + }, + "duration": { + "type": "long", + "_meta": { + "description": "The execution duration of the isReady function for the collector in milliseconds" + } + } + } + } + }, + "fetch_duration_breakdown": { + "type": "array", + "items": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The name of the collector" + } + }, + "duration": { + "type": "long", + "_meta": { + "description": "The execution duration of the fetch function for the collector in milliseconds" + } + } + } + } + }, + "not_ready": { + "properties": { + "count": { + "type": "short", + "_meta": { + "description": "The number of collectors that returned false from the isReady function" + } + }, + "names": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The name of the of collectors that returned false from the isReady function" + } + } + } + } + }, + "not_ready_timeout": { + "properties": { + "count": { + "type": "short", + "_meta": { + "description": "The number of collectors that timedout during the isReady function" + } + }, + "names": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The name of collectors that timedout during the isReady function" + } + } + } + } + }, + "succeeded": { + "properties": { + "count": { + "type": "short", + "_meta": { + "description": "The number of collectors that returned true from the fetch function" + } + }, + "names": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The name of the of collectors that returned true from the fetch function" + } + } + } + } + }, + "failed": { + "properties": { + "count": { + "type": "short", + "_meta": { + "description": "The number of collectors that threw an error from the fetch function" + } + }, + "names": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The name of the of collectors that threw an error from the fetch function" + } + } + } + } + } + } + }, + "usage_counters": { + "properties": { + "dailyEvents": { + "type": "array", + "items": { + "properties": { + "domainId": { + "type": "keyword", + "_meta": { + "description": "Domain name of the metric (ie plugin name)." + } + }, + "counterName": { + "type": "keyword", + "_meta": { + "description": "Name of the counter that happened." + } + }, + "lastUpdatedAt": { + "type": "date", + "_meta": { + "description": "Time at which the metric was last updated." + } + }, + "fromTimestamp": { + "type": "date", + "_meta": { + "description": "Time at which the metric was captured." + } + }, + "counterType": { + "type": "keyword", + "_meta": { + "description": "The type of counter used." + } + }, + "total": { + "type": "integer", + "_meta": { + "description": "The total number of times the event happened." + } + } + } + } + } + } + } + } } diff --git a/src/platform/plugins/shared/telemetry/schema/oss_plugins.json b/src/platform/plugins/shared/telemetry/schema/oss_plugins.json index 8ba1367641679..bc017d79322ae 100644 --- a/src/platform/plugins/shared/telemetry/schema/oss_plugins.json +++ b/src/platform/plugins/shared/telemetry/schema/oss_plugins.json @@ -1,524 +1,49 @@ { "properties": { - "application_usage": { + "dashboard": { "properties": { - "dashboards": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "dev_tools": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "discover": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "home": { + "panels": { "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } + "total": { + "type": "long" }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } + "by_reference": { + "type": "long" }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } + "by_value": { + "type": "long" }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" + "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." + } + } + } } } } @@ -526,12013 +51,62 @@ } } }, - "kibana": { + "controls": { "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } + "total": { + "type": "long" }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "management": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "short_url_redirect": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "visualize": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "error": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "status": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "kibanaOverview": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "r": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "apm": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "canvas": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "enterpriseSearch": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "enterpriseSearchContent": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "searchInferenceEndpoints": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "searchPlayground": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "enterpriseSearchAnalytics": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "enterpriseSearchApplications": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "enterpriseSearchAISearch": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "enterpriseSearchSemanticSearch": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "enterpriseSearchVectorSearch": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "enterpriseSearchElasticsearch": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "entity_manager": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "appSearch": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "workplaceSearch": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "searchExperiences": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "graph": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "logs": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "metrics": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "fleet": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "integrations": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "ingestManager": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "inventory": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "lens": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "maps": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "ml": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "monitoring": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "observability-log-explorer": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "observability-logs-explorer": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "last-used-logs-viewer": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "observability-overview": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "observabilityOnboarding": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "observabilityAIAssistant": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "exploratory-view": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "osquery": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "profiling": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "slo": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "security_account": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "reportingRedirect": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "security_access_agreement": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "security_capture_url": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "security_logged_out": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "security_login": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "security_logout": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "security_overwritten_session": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "securitySolutionUI": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "siem": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "space_selector": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "streams": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "uptime": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "synthetics": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, - "ux": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - } - } - }, - "cloud_provider": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The name of the cloud provider" - } - }, - "vm_type": { - "type": "keyword", - "_meta": { - "description": "The VM instance type" - } - }, - "region": { - "type": "keyword", - "_meta": { - "description": "The cloud provider region" - } - }, - "zone": { - "type": "keyword", - "_meta": { - "description": "The availability zone within the region" - } - } - } - }, - "core": { - "properties": { - "config": { - "properties": { - "elasticsearch": { - "properties": { - "sniffOnStart": { - "type": "boolean", - "_meta": { - "description": "Indicates if an attempt should be made to find other Elasticsearch nodes on startup." - } - }, - "sniffIntervalMs": { - "type": "long", - "_meta": { - "description": "Time in milliseconds between requests to check Elasticsearch for an updated list of nodes." - } - }, - "sniffOnConnectionFault": { - "type": "boolean", - "_meta": { - "description": "Indicates if the list of Elasticsearch nodes should be updated immediately following a connection fault." - } - }, - "numberOfHostsConfigured": { - "type": "long", - "_meta": { - "description": "Number of Elasticsearch instances configured to use for queries." - } - }, - "requestHeadersWhitelistConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if Kibana client-side headers to send to Elasticsearch is different to the default value." - } - }, - "customHeadersConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if any custom headers have been configured." - } - }, - "shardTimeoutMs": { - "type": "long", - "_meta": { - "description": "Time in milliseconds for Elasticsearch to wait for responses from shards." - } - }, - "requestTimeoutMs": { - "type": "long", - "_meta": { - "description": "Time in milliseconds to wait for responses from the back end or Elasticsearch." - } - }, - "pingTimeoutMs": { - "type": "long", - "_meta": { - "description": "Time in milliseconds to wait for Elasticsearch to respond to pings." - } - }, - "logQueries": { - "type": "boolean", - "_meta": { - "description": "Indicates if queries sent to Elasticsearch should be logged." - } - }, - "ssl": { - "properties": { - "verificationMode": { - "type": "keyword", - "_meta": { - "description": "The verification of the server certificate that Kibana receives when making an outbound SSL or TLS connection to Elasticsearch" - } - }, - "certificateAuthoritiesConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if any PEM-encoded X.509 certificate authority certificates are configured." - } - }, - "certificateConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if a certificate authority is configured." - } - }, - "keyConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if a certificate key is configured." - } - }, - "keystoreConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if a keystore is configured." - } - }, - "truststoreConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if a path to a PKCS#12 trust store is configured." - } - }, - "alwaysPresentCertificate": { - "type": "boolean", - "_meta": { - "description": "Indicates if a client certificate is presented when requested by Elasticsearch." - } - } - } - }, - "apiVersion": { - "type": "keyword", - "_meta": { - "description": "Version of the Elasticsearch API used." - } - }, - "healthCheckDelayMs": { - "type": "long", - "_meta": { - "description": "The interval in miliseconds between health check requests Kibana sends to the Elasticsearch." - } - }, - "principal": { - "type": "keyword", - "_meta": { - "description": "Indicates how Kibana authenticates itself to Elasticsearch. If elasticsearch.username is configured, this can be any of: \"elastic_user\", \"kibana_user\", \"kibana_system_user\", or \"other_user\". Otherwise, if elasticsearch.serviceAccountToken is configured, this will be \"kibana_service_account\". Otherwise, this value will be \"unknown\", because some other principal might be used to authenticate Kibana to Elasticsearch (such as an x509 certificate), or authentication may be skipped altogether." - } - } - } - }, - "http": { - "properties": { - "basePathConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if a base path has been configured." - } - }, - "maxPayloadInBytes": { - "type": "long", - "_meta": { - "description": "Maximum payload size in bytes that is allowed." - } - }, - "rewriteBasePath": { - "type": "boolean", - "_meta": { - "description": "Indicates if the base path should be rewritten." - } - }, - "keepaliveTimeout": { - "type": "long", - "_meta": { - "description": "How long to keep sockets alive globally in milliseconds." - } - }, - "socketTimeout": { - "type": "long", - "_meta": { - "description": "How long to wait before closing inactive sockets in milliseconds." - } - }, - "compression": { - "properties": { - "enabled": { - "type": "boolean", - "_meta": { - "description": "Indicates if HTTP response compression is enabled." - } - }, - "referrerWhitelistConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if any responses should be compressed." - } - } - } - }, - "xsrf": { - "properties": { - "disableProtection": { - "type": "boolean", - "_meta": { - "description": "Indicates if protection against xsrf should be disabled." - } - }, - "allowlistConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if any http headers have been whitelisted." - } - } - } - }, - "requestId": { - "properties": { - "allowFromAnyIp": { - "type": "boolean", - "_meta": { - "description": "Indicates if any http headers have been whitelisted." - } - }, - "ipAllowlistConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if a list of specific IPs has been configured." - } - } - } - }, - "ssl": { - "properties": { - "certificateAuthoritiesConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if ssl certificate authorities have been configured." - } - }, - "certificateConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if an ssl certificate is configured." - } - }, - "cipherSuites": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The keyword of the cipher suite used." - } - } - }, - "keyConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if an ssl key has been configured." - } - }, - "keystoreConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if an ssl keystore has been configured." - } - }, - "truststoreConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if a path to a PKCS#12 trust store is configured." - } - }, - "redirectHttpFromPortConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if a port to redirect all http requests has been configured." - } - }, - "supportedProtocols": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The version of a supported protocol used." - } - } - }, - "clientAuthentication": { - "type": "keyword", - "_meta": { - "description": "The behavior in Kibana for requesting a certificate from client connections." - } - } - } - }, - "securityResponseHeaders": { - "properties": { - "strictTransportSecurity": { - "type": "keyword", - "_meta": { - "description": "The strictTransportSecurity response header, \"NULL\" if disabled." - } - }, - "xContentTypeOptions": { - "type": "keyword", - "_meta": { - "description": "The xContentTypeOptions response header, \"NULL\" if disabled." - } - }, - "referrerPolicy": { - "type": "keyword", - "_meta": { - "description": "The referrerPolicy response header, \"NULL\" if disabled." - } - }, - "permissionsPolicyConfigured": { - "type": "boolean", - "_meta": { - "description": "Indicates if the permissionsPolicy response header has been configured." - } - }, - "disableEmbedding": { - "type": "boolean", - "_meta": { - "description": "Indicates if security headers to disable embedding have been configured." - } - }, - "crossOriginOpenerPolicy": { - "type": "keyword", - "_meta": { - "description": "The crossOriginOpenerPolicy response header, \"NULL\" if disabled." - } - } - } - } - } - }, - "logging": { - "properties": { - "appendersTypesUsed": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The type of logging appender confgured." - } - } - }, - "loggersConfiguredCount": { - "type": "long", - "_meta": { - "description": "The total number of logging appenders configured." - } - } - } - }, - "savedObjects": { - "properties": { - "customIndex": { - "type": "boolean", - "_meta": { - "description": "Indicates if the saved objects index is different to the standard internal .kibana index." - } - }, - "maxImportPayloadBytes": { - "type": "long", - "_meta": { - "description": "Maximum size of the payload in bytes of saved objects that can be imported." - } - }, - "maxImportExportSize": { - "type": "long", - "_meta": { - "description": "Maximum count of saved objects that can be imported or exported." - } - } - } - }, - "deprecatedKeys": { - "properties": { - "set": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Config path added during config deprecation." - } - } - }, - "unset": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Config path removed during config deprecation." - } - } - } - } - } - } - }, - "environment": { - "properties": { - "memory": { - "properties": { - "arrayBuffersBytes": { - "type": "long", - "_meta": { - "description": "Memory allocated for array buffers. This is also included in the external value." - } - }, - "externalBytes": { - "type": "long", - "_meta": { - "description": "Memory usage of C++ objects bound to JavaScript objects managed by V8." - } - }, - "residentSetSizeBytes": { - "type": "long", - "_meta": { - "description": "Node RSS." - } - }, - "heapSizeLimit": { - "type": "long", - "_meta": { - "description": "Host memory heap size limit." - } - }, - "heapTotalBytes": { - "type": "long", - "_meta": { - "description": "Total memory heap size of host that is available in bytes." - } - }, - "heapUsedBytes": { - "type": "long", - "_meta": { - "description": "Total memory heap size of host that is used in bytes." - } - } - } - } - } - }, - "services": { - "properties": { - "savedObjects": { - "properties": { - "indices": { - "type": "array", - "items": { - "properties": { - "docsCount": { - "type": "long", - "_meta": { - "description": "The number of lucene documents in the index, including hidden nested documents." - } - }, - "docsDeleted": { - "type": "long", - "_meta": { - "description": "The number of deleted lucene documents in the index, including hidden nested documents." - } - }, - "alias": { - "type": "keyword", - "_meta": { - "description": "The alias used to map customized saved object index names to standard index names (.kibana or .kibana_task_manager)." - } - }, - "primaryStoreSizeBytes": { - "type": "long", - "_meta": { - "description": "The size in bytes of the index, for primaries only." - } - }, - "storeSizeBytes": { - "type": "long", - "_meta": { - "description": "The size in bytes of the index, for primaries and replicas." - } - }, - "savedObjectsDocsCount": { - "type": "long", - "_meta": { - "description": "The number of saved objects documents in the index." - } - } - } - } - }, - "legacyUrlAliases": { - "properties": { - "inactiveCount": { - "type": "long", - "_meta": { - "description": "Count of legacy URL aliases that are inactive; they are not disabled, but they have not been resolved." - } - }, - "activeCount": { - "type": "long", - "_meta": { - "description": "Count of legacy URL aliases that are active; they are not disabled, and they have been resolved at least once." - } - }, - "disabledCount": { - "type": "long", - "_meta": { - "description": "Count of legacy URL aliases that are disabled." - } - }, - "totalCount": { - "type": "long", - "_meta": { - "description": "Total count of legacy URL aliases." - } - } - } - } - } - } - } - }, - "apiCalls.savedObjectsBulkCreate.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsBulkCreate.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsBulkCreate.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkCreate.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkCreate.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsBulkCreate.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsBulkCreate.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsBulkGet.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsBulkGet.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsBulkGet.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkGet.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkGet.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsBulkGet.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsBulkGet.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsBulkResolve.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsBulkResolve.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsBulkResolve.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkResolve.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkResolve.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsBulkResolve.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsBulkResolve.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsBulkUpdate.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsBulkUpdate.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsBulkUpdate.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkUpdate.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkUpdate.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsBulkUpdate.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsBulkUpdate.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsCreate.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsCreate.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsCreate.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsCreate.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsCreate.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsCreate.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsCreate.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsDelete.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsDelete.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsDelete.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsDelete.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsDelete.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsDelete.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsDelete.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsFind.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsFind.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsFind.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsFind.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsFind.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsFind.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsFind.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsGet.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsGet.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsGet.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsGet.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsGet.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsGet.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsGet.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsResolve.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsResolve.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsResolve.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsResolve.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsResolve.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsResolve.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsResolve.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsUpdate.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsUpdate.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsUpdate.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsUpdate.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsUpdate.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsUpdate.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsUpdate.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsBulkDelete.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsBulkDelete.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsBulkDelete.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkDelete.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsBulkDelete.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsBulkDelete.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsBulkDelete.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsImport.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsImport.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsImport.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsImport.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsImport.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsImport.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsImport.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsImport.createNewCopiesEnabled.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called with the `createNewCopiesEnabled` option." - } - }, - "apiCalls.savedObjectsImport.createNewCopiesEnabled.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called without the `createNewCopiesEnabled` option." - } - }, - "apiCalls.savedObjectsImport.compatibilityModeEnabled.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called with the `compatibilityMode` option." - } - }, - "apiCalls.savedObjectsImport.compatibilityModeEnabled.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called without the `compatibilityMode` option." - } - }, - "apiCalls.savedObjectsImport.overwriteEnabled.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called with the `overwrite` option." - } - }, - "apiCalls.savedObjectsImport.overwriteEnabled.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called without the `overwrite` option." - } - }, - "apiCalls.savedObjectsResolveImportErrors.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsResolveImportErrors.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsResolveImportErrors.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsResolveImportErrors.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsResolveImportErrors.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsResolveImportErrors.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsResolveImportErrors.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsResolveImportErrors.createNewCopiesEnabled.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called with the `createNewCopiesEnabled` option." - } - }, - "apiCalls.savedObjectsResolveImportErrors.createNewCopiesEnabled.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called without the `createNewCopiesEnabled` option." - } - }, - "apiCalls.savedObjectsExport.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.savedObjectsExport.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.savedObjectsExport.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsExport.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.savedObjectsExport.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.savedObjectsExport.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsExport.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.legacyDashboardExport.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.legacyDashboardExport.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.legacyDashboardExport.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "apiCalls.savedObjectsExport.allTypesSelected.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called with all types selected." - } - }, - "apiCalls.savedObjectsExport.allTypesSelected.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called without all types selected." - } - }, - "apiCalls.legacyDashboardImport.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called." - } - }, - "apiCalls.legacyDashboardImport.namespace.default.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in the Default space." - } - }, - "apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in the Default space." - } - }, - "apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in the Default space." - } - }, - "apiCalls.legacyDashboardImport.namespace.custom.total": { - "type": "long", - "_meta": { - "description": "How many times this API has been called in a custom space." - } - }, - "apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.yes": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by the Kibana client in a custom space." - } - }, - "apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.no": { - "type": "long", - "_meta": { - "description": "How many times this API has been called by a non-Kibana client in a custom space." - } - }, - "savedObjectsRepository.resolvedOutcome.exactMatch": { - "type": "long", - "_meta": { - "description": "How many times a saved object has resolved with an exact match outcome." - } - }, - "savedObjectsRepository.resolvedOutcome.aliasMatch": { - "type": "long", - "_meta": { - "description": "How many times a saved object has resolved with an alias match outcome." - } - }, - "savedObjectsRepository.resolvedOutcome.conflict": { - "type": "long", - "_meta": { - "description": "How many times a saved object has resolved with a conflict outcome." - } - }, - "savedObjectsRepository.resolvedOutcome.notFound": { - "type": "long", - "_meta": { - "description": "How many times a saved object has resolved with a not found outcome." - } - }, - "savedObjectsRepository.resolvedOutcome.total": { - "type": "long", - "_meta": { - "description": "How many times a saved object has resolved with any of the four possible outcomes." - } - }, - "deprecated_api_calls_resolved.total": { - "type": "integer", - "_meta": { - "description": "How many times deprecated APIs has been marked as resolved" - } - }, - "deprecated_api_calls.total": { - "type": "integer", - "_meta": { - "description": "How many times deprecated APIs has been called." - } - } - } - }, - "csp": { - "properties": { - "strict": { - "type": "boolean", - "_meta": { - "description": "Indicates if strict mode should be used." - } - }, - "warnLegacyBrowsers": { - "type": "boolean", - "_meta": { - "description": "Indicates if legacy browser versions should be warned." - } - }, - "rulesChangedFromDefault": { - "type": "boolean", - "_meta": { - "description": "Indicates if the rules have been changed from the default." - } - } - } - }, - "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": { - "type": "array", - "items": { - "properties": { - "processId": { - "type": "long", - "_meta": { - "description": "The process id of the monitored kibana instance." - } - }, - "instanceUuid": { - "type": "keyword", - "_meta": { - "description": "The uuid of the kibana instance." - } - }, - "fromTimestamp": { - "type": "date", - "_meta": { - "description": "Timestamp at which the histogram started monitoring." - } - }, - "lastUpdatedAt": { - "type": "date", - "_meta": { - "description": "Latest timestamp this histogram object was updated this day." - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum recorded event loop delay in ms." - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum recorded event loop delay in ms." - } - }, - "mean": { - "type": "long", - "_meta": { - "description": "The mean of the recorded event loop delays in ms." - } - }, - "exceeds": { - "type": "long", - "_meta": { - "description": "The number of times the event loop delay exceeded the maximum 1 hour eventloop delay threshold." - } - }, - "stddev": { - "type": "long", - "_meta": { - "description": "The standard deviation of the recorded event loop delays in ms." - } - }, - "percentiles": { - "properties": { - "50": { - "type": "long", - "_meta": { - "description": "The 50th accumulated percentile distribution in ms" - } - }, - "75": { - "type": "long", - "_meta": { - "description": "The 75th accumulated percentile distribution in ms" - } - }, - "95": { - "type": "long", - "_meta": { - "description": "The 95th accumulated percentile distribution in ms" - } - }, - "99": { - "type": "long", - "_meta": { - "description": "The 99th accumulated percentile distribution in ms" - } - } - } - } - } - } - } - } - }, - "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": { - "type": "keyword", - "_meta": { - "description": "The index storing the saved objects" - } - }, - "dashboard": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of dashboard saved objects" - } - } - } - }, - "visualization": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of visualization saved objects" - } - } - } - }, - "search": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of search saved objects" - } - } - } - }, - "index_pattern": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of index_pattern saved objects" - } - } - } - }, - "graph_workspace": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of graph_workspace saved objects" - } - } - } - } - } - }, - "kql": { - "properties": { - "optInCount": { - "type": "long" - }, - "optOutCount": { - "type": "long" - }, - "defaultQueryLanguage": { - "type": "keyword" - } - } - }, - "localization": { - "properties": { - "locale": { - "type": "keyword", - "_meta": { - "description": "The default locale set on the Kibana system" - } - }, - "integrities": { - "properties": { - "DYNAMIC_KEY": { - "type": "text", - "_meta": { - "description": "Translation file hash. If the hash is different it indicates that a custom translation file is used" - } - } - } - }, - "labelsCount": { - "type": "long", - "_meta": { - "description": "The number of translated labels" - } - } - } - }, - "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": { - "type": "long", - "_meta": { - "description": "Total number of saved objects in the cluster" - } - }, - "by_type": { - "type": "array", - "items": { - "properties": { - "type": { - "type": "keyword", - "_meta": { - "description": "The SavedObjects type" - } - }, - "count": { - "type": "long", - "_meta": { - "description": "How many SavedObjects of that type are stored in the cluster across all Spaces" - } - } - } - } - }, - "others": { - "type": "long", - "_meta": { - "description": "Number of SO objects outside the breakdown. If it is not 0, there may be an unexpected state of the deployment 0 and future migrations might fail." - } - }, - "non_registered_types": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "List of SO types that showed up in the break down but are not registered in Kibana. They could be a potential cause of future migration failures." - } - } - } - } - }, - "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": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "securitySolution:excludedDataTiersForRuleExecution": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - } - }, - "securitySolution:maxUnassociatedNotes": { - "type": "integer", - "_meta": { - "description": "The maximum number of allowed unassociated notes" - } - }, - "securitySolution:defaultThreatIndex": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "securitySolution:alertTags": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "securitySolution:newsFeedUrl": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "xpackReporting:customPdfLogo": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "notifications:banner": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "xpackDashboardMode:roles": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "securitySolution:ipReputationLinks": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "banners:textContent": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "visualization:heatmap:maxBuckets": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "visualization:useLegacyTimeAxis": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "visualization:regionmap:showWarnings": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "visualization:tileMap:maxPrecision": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "csv:separator": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "visualization:tileMap:WMSdefaults": { - "type": "text", - "_meta": { - "description": "Non-default value of setting." - } - }, - "timelion:target_buckets": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "timelion:max_buckets": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "timelion:es.timefield": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "timelion:min_interval": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "timelion:es.default_index": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:timeDefaults": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:defaultAnomalyScore": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:refreshIntervalDefaults": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:enableNewsFeed": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:enableAssetCriticality": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:excludeColdAndFrozenTiersInAnalyzer": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:enableCcsWarning": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:enableVisualizationsInFlyout": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "search:includeFrozen": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "courier:maxConcurrentShardRequests": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "courier:setRequestPreference": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "courier:customRequestPreference": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "courier:ignoreFilterIfFieldNotInIndex": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "rollups:enableIndexPatterns": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "notifications:lifetime:warning": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "notifications:lifetime:banner": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "notifications:lifetime:info": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "notifications:lifetime:error": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "doc_table:highlight": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "data_views:cache_max_age": { - "type": "long", - "_meta": { - "description": "Sets the 'max-age' cache header value for data view fields API requests. A value of 0 will disable caching." - } - }, - "discover:searchOnPageLoad": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "doc_table:hideTimeColumn": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "discover:sampleSize": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "discover:sampleRowsPerPage": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "discover:maxDocFieldsDisplayed": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "defaultColumns": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - } - }, - "context:defaultSize": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "context:tieBreakerFields": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - } - }, - "discover:sort:defaultOrder": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "context:step": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "accessibility:disableAnimations": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "fileUpload:maxFileSize": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "ml:anomalyDetection:results:enableTimeDefaults": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "ml:anomalyDetection:results:timeDefaults": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "timepicker:timeDefaults": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "timepicker:refreshIntervalDefaults": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "timepicker:quickRanges": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "theme:version": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "theme:darkMode": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "theme:name": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "state:storeInSessionStorage": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "savedObjects:perPage": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "search:queryLanguage": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "shortDots:enable": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "sort:options": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "savedObjects:listingLimit": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "query:queryString:options": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "metrics:max_buckets": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "metrics:allowStringIndices": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "query:allowLeadingWildcards": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "metaFields": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - } - }, - "indexPattern:placeholder": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "histogram:barTarget": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "histogram:maxBars": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "format:number:defaultLocale": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "format:percent:defaultPattern": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "format:number:defaultPattern": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "history:limit": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "format:defaultTypeMap": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "format:currency:defaultPattern": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "defaultIndex": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "format:bytes:defaultPattern": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "filters:pinnedByDefault": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "filterEditor:suggestValues": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "fields:popularLimit": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "dateNanosFormat": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "defaultRoute": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "dateFormat:tz": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "dateFormat:scaled": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "csv:quoteValues": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "dateFormat:dow": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "dateFormat": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "autocomplete:useTimeRange": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "autocomplete:valueSuggestionMethod": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "search:timeout": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "bfetch:disableCompression": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "bfetch:disable": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "visualization:visualize:legacyHeatmapChartsLibrary": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "discover:modifyColumnsOnSwitch": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:rulesTableRefresh": { - "type": "text", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:syntheticsThrottlingEnabled": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:enableInspectEsQueries": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:maxSuggestions": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:enableComparisonByDefault": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:enableServiceGroups": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmEnableServiceMetrics": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmEnableContinuousRollups": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmAgentExplorerView": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmEnableTableSearchBar": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmEnableServiceInventoryTableSearchBar": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:entityCentricExperience": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmAWSLambdaPriceFactor": { - "type": "text", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmAWSLambdaRequestCostPerMillion": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:aiAssistantSimulatedFunctionCalling": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:aiAssistantSearchConnectorIndexPattern": { - "type": "text", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:logsExplorer:allowedDataViews": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - } - }, - "observability:logSources": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - } - }, - "observability:enableLogsStream": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "banners:placement": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "banners:textColor": { - "type": "text", - "_meta": { - "description": "Non-default value of setting." - } - }, - "banners:backgroundColor": { - "type": "text", - "_meta": { - "description": "Non-default value of setting." - } - }, - "labs:presentation:timeToPresent": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "labs:canvas:enable_ui": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "labs:canvas:byValueEmbeddable": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "labs:canvas:useDataService": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "labs:dashboard:enable_ui": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "labs:dashboard:deferBelowFold": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "discover:showFieldStatistics": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "discover:showMultiFields": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "enableESQL": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "discover:rowHeightOption": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "hideAnnouncements": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "isDefaultIndexMigrated": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmDefaultServiceEnvironment": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, - "observability:apmLabsButton": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:enableAwsLambdaMetrics": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmProgressiveLoading": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmServiceGroupMaxNumberOfServices": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmServiceInventoryOptimizedSorting": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmTraceExplorerTab": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmEnableProfilingIntegration": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmEnableTransactionProfiling": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:profilingShowErrorFrames": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:profilingPerVCPUWattX86": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:profilingPervCPUWattArm64": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:profilingCo2PerKWH": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:profilingDatacenterPUE": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:apmEnableCriticalPath": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:enableInfrastructureProfilingIntegration": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:enableInfrastructureAssetCustomDashboards": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:enableGroupedNav": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "securitySolution:showRelatedIntegrations": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "visualization:visualize:legacyGaugeChartsLibrary": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:enableLegacyUptimeApp": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:profilingCostPervCPUPerHour": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:profilingAWSCostDiscountRate": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:profilingAzureCostDiscountRate": { - "type": "integer", - "_meta": { - "description": "Non-default value of setting." - } - }, - "data_views:fields_excluded_data_tiers": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "devTools:enablePersistentConsole": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "aiAssistant:preferredAIAssistantType": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:profilingFetchTopNFunctionsFromStacktraces": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, - "observability:searchExcludedDataTiers": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Non-default value of setting." - } - } - }, - "observability:newLogsOverview": { - "type": "boolean", - "_meta": { - "description": "Enable the new logs overview component." - } - } - } - }, - "static_telemetry": { - "properties": { - "ece": { - "properties": { - "kb_uuid": { - "type": "keyword" - }, - "es_uuid": { - "type": "keyword" - }, - "account_id": { - "type": "keyword" - }, - "license": { - "properties": { - "uuid": { - "type": "keyword" - }, - "type": { - "type": "keyword" - }, - "issued_to": { - "type": "text" - }, - "issuer": { - "type": "text" - }, - "issue_date_in_millis": { - "type": "long" - }, - "start_date_in_millis": { - "type": "long" - }, - "expiry_date_in_millis": { - "type": "long" - }, - "max_resource_units": { - "type": "long" - } - } - } - } - }, - "ess": { - "properties": { - "kb_uuid": { - "type": "keyword" - }, - "es_uuid": { - "type": "keyword" - }, - "account_id": { - "type": "keyword" - }, - "license": { - "properties": { - "uuid": { - "type": "keyword" - }, - "type": { - "type": "keyword" - }, - "issued_to": { - "type": "text" - }, - "issuer": { - "type": "text" - }, - "issue_date_in_millis": { - "type": "long" - }, - "start_date_in_millis": { - "type": "long" - }, - "expiry_date_in_millis": { - "type": "long" - }, - "max_resource_units": { - "type": "long" - } - } - } - } - }, - "eck": { - "properties": { - "operator_uuid": { - "type": "keyword" - }, - "operator_roles": { - "type": "keyword" - }, - "custom_operator_namespace": { - "type": "boolean" - }, - "distribution": { - "type": "text" - }, - "build": { - "properties": { - "hash": { - "type": "text" - }, - "date": { - "type": "date" - }, - "version": { - "type": "keyword" - } - } - } - } - } - } - }, - "telemetry": { - "properties": { - "opt_in_status": { - "type": "boolean" - }, - "usage_fetcher": { - "type": "keyword" - }, - "last_reported": { - "type": "long" - }, - "labels": { - "type": "pass_through", - "_meta": { - "description": "Custom labels added to the telemetry.labels config in the kibana.yml" - } - } - } - }, - "ui_counters": { - "properties": { - "dailyEvents": { - "type": "array", - "items": { - "properties": { - "appName": { - "type": "keyword", - "_meta": { - "description": "Name of the app reporting ui counts." - } - }, - "eventName": { - "type": "keyword", - "_meta": { - "description": "Name of the event that happened." - } - }, - "lastUpdatedAt": { - "type": "date", - "_meta": { - "description": "Time at which the metric was last updated." - } - }, - "fromTimestamp": { - "type": "date", - "_meta": { - "description": "Time at which the metric was captured." - } - }, - "counterType": { - "type": "keyword", - "_meta": { - "description": "The type of counter used." - } - }, - "total": { - "type": "integer", - "_meta": { - "description": "The total number of times the event happened." - } - } - } - } - } - } - }, - "ui_metric": { - "properties": { - "console": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "DashboardPanelVersionInUrl": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "Kibana_home": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "visualize": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "canvas": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "cross_cluster_replication": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "index_lifecycle_management": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "index_management": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "ingest_pipelines": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "apm": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "infra_logs": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "infra_metrics": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "stack_monitoring": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "remote_clusters": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "rollup_jobs": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "securitySolution": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "snapshot_restore": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "dashboards": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "dev_tools": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "discover": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "home": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "kibana": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "management": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "short_url_redirect": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "csm": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "enterpriseSearch": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "appSearch": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "workplaceSearch": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "graph": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "logs": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "metrics": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "infra": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "ingestManager": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "lens": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "maps": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "ml": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "monitoring": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "observability-overview": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "security_account": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "security_access_agreement": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "security_capture_url": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "security_logged_out": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "security_login": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "security_logout": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "security_overwritten_session": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "securitySolutionUI": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "securitySolutionUI:overview": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "securitySolutionUI:detections": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "securitySolutionUI:hosts": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "securitySolutionUI:network": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "securitySolutionUI:timelines": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "securitySolutionUI:case": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "securitySolutionUI:administration": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "siem": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, - "space_selector": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" + "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" + } + } + } + } + } } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" + } + }, + "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" + } } } - } - } - }, - "uptime": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" + }, + "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" + } } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" + } + }, + "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" + } } } } @@ -12540,135 +114,151 @@ } } }, - "usage_collector_stats": { + "files": { "properties": { - "total_duration": { - "type": "long", - "_meta": { - "description": "The total execution duration to grab usage stats for all collectors in milliseconds" - } - }, - "total_is_ready_duration": { - "type": "long", - "_meta": { - "description": "The total execution duration of the isReady function for all collectors in milliseconds" - } - }, - "total_fetch_duration": { - "type": "long", - "_meta": { - "description": "The total execution duration of the fetch function for all ready collectors in milliseconds" - } - }, - "is_ready_duration_breakdown": { - "type": "array", - "items": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The name of the collector" - } - }, - "duration": { - "type": "long", - "_meta": { - "description": "The execution duration of the isReady function for the collector in milliseconds" - } - } - } - } - }, - "fetch_duration_breakdown": { + "countByExtension": { "type": "array", "items": { "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The name of the collector" - } + "extension": { + "type": "keyword" }, - "duration": { - "type": "long", - "_meta": { - "description": "The execution duration of the fetch function for the collector in milliseconds" - } + "count": { + "type": "long" } } } }, - "not_ready": { + "countByStatus": { "properties": { - "count": { - "type": "short", + "AWAITING_UPLOAD": { + "type": "long", "_meta": { - "description": "The number of collectors that returned false from the isReady function" + "description": "Number of files awaiting upload" } }, - "names": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The name of the of collectors that returned false from the isReady function" - } + "DELETED": { + "type": "long", + "_meta": { + "description": "Number of files that are marked as deleted" } - } - } - }, - "not_ready_timeout": { - "properties": { - "count": { - "type": "short", + }, + "READY": { + "type": "long", + "_meta": { + "description": "Number of files that are ready for download" + } + }, + "UPLOADING": { + "type": "long", "_meta": { - "description": "The number of collectors that timedout during the isReady function" + "description": "Number of files that are currently uploading" } }, - "names": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The name of collectors that timedout during the isReady function" - } + "UPLOAD_ERROR": { + "type": "long", + "_meta": { + "description": "Number of files that failed to upload" } } } }, - "succeeded": { + "storage": { "properties": { - "count": { - "type": "short", - "_meta": { - "description": "The number of collectors that returned true from the fetch function" - } - }, - "names": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The name of the of collectors that returned true from the fetch function" + "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" }, - "failed": { + "perIndexPattern": { "properties": { - "count": { - "type": "short", - "_meta": { - "description": "The number of collectors that threw an error from the fetch function" + "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" + } } }, - "names": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The name of the of collectors that threw an error from the fetch function" + "runtimeFieldLineCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" } } } @@ -12676,52 +266,72 @@ } } }, - "usage_counters": { + "kql": { + "properties": { + "optInCount": { + "type": "long" + }, + "optOutCount": { + "type": "long" + }, + "defaultQueryLanguage": { + "type": "keyword" + } + } + }, + "sample-data": { "properties": { - "dailyEvents": { + "installed": { "type": "array", "items": { - "properties": { - "domainId": { - "type": "keyword", - "_meta": { - "description": "Domain name of the metric (ie plugin name)." - } - }, - "counterName": { - "type": "keyword", - "_meta": { - "description": "Name of the counter that happened." - } - }, - "lastUpdatedAt": { - "type": "date", - "_meta": { - "description": "Time at which the metric was last updated." - } - }, - "fromTimestamp": { - "type": "date", - "_meta": { - "description": "Time at which the metric was captured." - } - }, - "counterType": { - "type": "keyword", - "_meta": { - "description": "The type of counter used." - } - }, - "total": { - "type": "integer", - "_meta": { - "description": "The total number of times the event happened." - } - } - } + "type": "keyword" + } + }, + "last_install_date": { + "type": "date" + }, + "last_install_set": { + "type": "keyword" + }, + "last_uninstall_date": { + "type": "date" + }, + "last_uninstall_set": { + "type": "keyword" + }, + "uninstalled": { + "type": "array", + "items": { + "type": "keyword" } } } + }, + "search": { + "properties": { + "successCount": { + "type": "long" + }, + "errorCount": { + "type": "long" + }, + "averageDuration": { + "type": "float" + } + } + }, + "search-session": { + "properties": { + "transientCount": { + "type": "long" + }, + "persistedCount": { + "type": "long" + }, + "totalCount": { + "type": "long" + } + } } } } diff --git a/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json index c5371a8815aef..002fd1030eb2a 100644 --- a/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json @@ -1,5 +1,88 @@ { "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" + } + } + } + } + }, "ml": { "properties": { "alertRules": { @@ -155,6 +238,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/platform/plugins/private/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_plugins.json index b2870f3ef4809..65f2971e52dd7 100644 --- a/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_plugins.json @@ -10872,89 +10872,6 @@ } } }, - "cloud": { - "properties": { - "isCloudEnabled": { - "type": "boolean", - "_meta": { - "description": "Is the deployment running in Elastic Cloud (ESS or Serverless)?" - } - }, - "trialEndDate": { - "type": "date", - "_meta": { - "description": "End of the trial period" - } - }, - "inTrial": { - "type": "boolean", - "_meta": { - "description": "Is the organization during the trial period?" - } - }, - "isElasticStaffOwned": { - "type": "boolean", - "_meta": { - "description": "Is the deploymend owned by an Elastician" - } - }, - "organizationId": { - "type": "keyword", - "_meta": { - "description": "The Elastic Cloud Organization ID that owns the deployment/project" - } - }, - "deploymentId": { - "type": "keyword", - "_meta": { - "description": "The ESS Deployment ID" - } - }, - "projectId": { - "type": "keyword", - "_meta": { - "description": "The Serverless Project ID" - } - }, - "projectType": { - "type": "keyword", - "_meta": { - "description": "The Serverless Project type" - } - }, - "orchestratorTarget": { - "type": "keyword", - "_meta": { - "description": "The Orchestrator Target where it is deployed (canary/non-canary)" - } - } - } - }, - "cloudExperiments": { - "properties": { - "initialized": { - "type": "boolean", - "_meta": { - "description": "Whether the A/B testing client is correctly initialized (identify has been called)" - } - }, - "flags": { - "type": "pass_through", - "_meta": { - "description": "Flags received by the client" - } - }, - "flagNames": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Names of the flags received by the client" - } - } - } - } - }, "connectors": { "properties": { "connectors": { @@ -14647,24 +14564,6 @@ } } }, - "upgrade-assistant-telemetry": { - "properties": { - "features": { - "properties": { - "deprecation_logging": { - "properties": { - "enabled": { - "type": "boolean", - "_meta": { - "description": "Whether user has enabled Elasticsearch deprecation logging" - } - } - } - } - } - } - } - }, "workplace_search": { "properties": { "ui_viewed": { From 427e4c8f5e96829784c87b76fb983abc6906be01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 10:46:18 +0100 Subject: [PATCH 177/183] Fix react-intl lint rule --- packages/kbn-eslint-config/.eslintrc.js | 2 +- src/platform/packages/shared/kbn-i18n-react/index.tsx | 4 ++-- .../packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx | 2 +- src/platform/packages/shared/kbn-i18n-react/src/inject.tsx | 2 +- .../packages/shared/kbn-i18n-react/src/provider.test.tsx | 2 +- src/platform/packages/shared/kbn-i18n-react/src/provider.tsx | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) 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/src/platform/packages/shared/kbn-i18n-react/index.tsx b/src/platform/packages/shared/kbn-i18n-react/index.tsx index c5e3276db5387..03452b1c78d5f 100644 --- a/src/platform/packages/shared/kbn-i18n-react/index.tsx +++ b/src/platform/packages/shared/kbn-i18n-react/index.tsx @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import type { IntlShape, WrappedComponentProps } from '.'; +import type { IntlShape, WrappedComponentProps } from 'react-intl'; import { FormattedDate, FormattedTime, @@ -15,7 +15,7 @@ import { FormattedPlural, FormattedMessage, FormattedRelativeTime, -} from '.'; +} from 'react-intl'; export type { IntlShape, WrappedComponentProps }; export { diff --git a/src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx b/src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx index b4fdc9d84fab4..457a3e9b68779 100644 --- a/src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx +++ b/src/platform/packages/shared/kbn-i18n-react/src/compatiblity_layer.tsx @@ -8,9 +8,9 @@ */ import React, { PropsWithChildren, FC } from 'react'; +import { FormattedRelativeTime, IntlShape } from 'react-intl'; import { selectUnit } from '@formatjs/intl-utils'; import moment from 'moment'; -import { FormattedRelativeTime, IntlShape } from '..'; import { I18nProvider } from './provider'; export interface FormattedRelativeProps { diff --git a/src/platform/packages/shared/kbn-i18n-react/src/inject.tsx b/src/platform/packages/shared/kbn-i18n-react/src/inject.tsx index 74412cc6a9a11..51f668b3f18dc 100644 --- a/src/platform/packages/shared/kbn-i18n-react/src/inject.tsx +++ b/src/platform/packages/shared/kbn-i18n-react/src/inject.tsx @@ -13,4 +13,4 @@ * More docs and examples can be found here https://github.com/yahoo/react-intl/wiki/API#injection-api */ -export { injectIntl as injectI18n, useIntl as useI18n } from '..'; +export { injectIntl as injectI18n, useIntl as useI18n } from 'react-intl'; diff --git a/src/platform/packages/shared/kbn-i18n-react/src/provider.test.tsx b/src/platform/packages/shared/kbn-i18n-react/src/provider.test.tsx index ca8621c7de2d5..b091d2fa23d8e 100644 --- a/src/platform/packages/shared/kbn-i18n-react/src/provider.test.tsx +++ b/src/platform/packages/shared/kbn-i18n-react/src/provider.test.tsx @@ -9,9 +9,9 @@ import { mount, shallow } from 'enzyme'; import * as React from 'react'; +import { i18n } from '@kbn/i18n'; import { injectI18n } from './inject'; import { I18nProvider } from './provider'; -import { i18n } from '@kbn/i18n'; describe('I18nProvider', () => { test('throws if i18n is not initialized', () => { diff --git a/src/platform/packages/shared/kbn-i18n-react/src/provider.tsx b/src/platform/packages/shared/kbn-i18n-react/src/provider.tsx index a8dc251af96b0..f34766387db20 100644 --- a/src/platform/packages/shared/kbn-i18n-react/src/provider.tsx +++ b/src/platform/packages/shared/kbn-i18n-react/src/provider.tsx @@ -8,8 +8,8 @@ */ import React, { FC, PropsWithChildren } from 'react'; +import { IntlProvider } from 'react-intl'; import { i18n } from '@kbn/i18n'; -import { IntlProvider } from '..'; /** * The library uses the provider pattern to scope an i18n context to a tree From d312df89d34a0d39960d96e1482bd6ab319ecbab Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:48:51 +0000 Subject: [PATCH 178/183] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- .../public/legacy/embeddable/visualize_embeddable.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx b/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx index e343fd535a85e..1f631f30f8eb5 100644 --- a/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx +++ b/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx @@ -22,11 +22,7 @@ import type { DataView } from '@kbn/data-views-plugin/public'; import { Warnings } from '@kbn/charts-plugin/public'; import { hasUnsupportedDownsampledAggregationFailure } from '@kbn/search-response-warnings'; import { Adapters } from '@kbn/inspector-plugin/public'; -import { - Embeddable, - EmbeddableInput, - EmbeddableOutput, -} from '@kbn/embeddable-plugin/public'; +import { Embeddable, EmbeddableInput, EmbeddableOutput } from '@kbn/embeddable-plugin/public'; import { SavedObjectEmbeddableInput } from '@kbn/embeddable-plugin/common'; import { ExpressionAstExpression, From 737b1c47cd92da20deb64ba92d2d39507cee39ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Thu, 19 Dec 2024 21:46:57 +0100 Subject: [PATCH 179/183] Undo changes to the test --- .../packages/shared/kbn-std/src/is_internal_url.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/packages/shared/kbn-std/src/is_internal_url.test.ts b/src/platform/packages/shared/kbn-std/src/is_internal_url.test.ts index 487137d6a27a0..54afc034ffa36 100644 --- a/src/platform/packages/shared/kbn-std/src/is_internal_url.test.ts +++ b/src/platform/packages/shared/kbn-std/src/is_internal_url.test.ts @@ -54,12 +54,12 @@ describe('isInternalURL', () => { }); it('should return `true` if relative path does not escape base path', () => { - const href = `${basePath}/app/kibana/../../../../../management`; + const href = `${basePath}/app/kibana/../../management`; expect(isInternalURL(href, basePath)).toBe(true); }); it('should return `false` if relative path escapes base path', () => { - const href = `${basePath}/app/kibana/../../../../../../management`; + const href = `${basePath}/app/kibana/../../../management`; expect(isInternalURL(href, basePath)).toBe(false); }); From 9ba177e4f4d960656646a9207b212ad2dc6d685c Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 23 Dec 2024 10:38:00 +0100 Subject: [PATCH 180/183] Remove unexisting package --- packages/kbn-search-errors/BUILD.bazel | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/kbn-search-errors/BUILD.bazel b/packages/kbn-search-errors/BUILD.bazel index a598e105a28bb..e4bac916d5a13 100644 --- a/packages/kbn-search-errors/BUILD.bazel +++ b/packages/kbn-search-errors/BUILD.bazel @@ -22,7 +22,6 @@ SRCS = glob( ) BUNDLER_DEPS = [ - "//packages/kbn-bfetch-error", "//src/platform/packages/shared/kbn-i18n", "@npm//@elastic/elasticsearch", "@npm//@elastic/eui", From 1b6f9a2c0d369e9fe3b850747cc0dd480d88a210 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 23 Dec 2024 10:52:29 +0100 Subject: [PATCH 181/183] Push changes from yarn kbn bootstrap --- tsconfig.base.json | 2462 ++++++++++++-------------------------------- 1 file changed, 679 insertions(+), 1783 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index 2f847f458cb32..511afee6c3cc5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -8,12 +8,8 @@ "@kbn/aad-fixtures-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/aad/*"], "@kbn/actions-plugin": ["x-pack/plugins/actions"], "@kbn/actions-plugin/*": ["x-pack/plugins/actions/*"], - "@kbn/actions-simulators-plugin": [ - "x-pack/test/alerting_api_integration/common/plugins/actions_simulators" - ], - "@kbn/actions-simulators-plugin/*": [ - "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/*" - ], + "@kbn/actions-simulators-plugin": ["x-pack/test/alerting_api_integration/common/plugins/actions_simulators"], + "@kbn/actions-simulators-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/actions_simulators/*"], "@kbn/actions-types": ["packages/kbn-actions-types"], "@kbn/actions-types/*": ["packages/kbn-actions-types/*"], "@kbn/advanced-settings-plugin": ["src/plugins/advanced_settings"], @@ -24,50 +20,26 @@ "@kbn/ai-assistant-common/*": ["x-pack/platform/packages/shared/ai-assistant/common/*"], "@kbn/ai-assistant-icon": ["x-pack/platform/packages/shared/ai-assistant/icon"], "@kbn/ai-assistant-icon/*": ["x-pack/platform/packages/shared/ai-assistant/icon/*"], - "@kbn/ai-assistant-management-plugin": [ - "src/platform/plugins/shared/ai_assistant_management/selection" - ], - "@kbn/ai-assistant-management-plugin/*": [ - "src/platform/plugins/shared/ai_assistant_management/selection/*" - ], - "@kbn/aiops-change-point-detection": [ - "x-pack/platform/packages/private/ml/aiops_change_point_detection" - ], - "@kbn/aiops-change-point-detection/*": [ - "x-pack/platform/packages/private/ml/aiops_change_point_detection/*" - ], + "@kbn/ai-assistant-management-plugin": ["src/platform/plugins/shared/ai_assistant_management/selection"], + "@kbn/ai-assistant-management-plugin/*": ["src/platform/plugins/shared/ai_assistant_management/selection/*"], + "@kbn/aiops-change-point-detection": ["x-pack/platform/packages/private/ml/aiops_change_point_detection"], + "@kbn/aiops-change-point-detection/*": ["x-pack/platform/packages/private/ml/aiops_change_point_detection/*"], "@kbn/aiops-common": ["x-pack/platform/packages/shared/ml/aiops_common"], "@kbn/aiops-common/*": ["x-pack/platform/packages/shared/ml/aiops_common/*"], "@kbn/aiops-components": ["x-pack/platform/packages/private/ml/aiops_components"], "@kbn/aiops-components/*": ["x-pack/platform/packages/private/ml/aiops_components/*"], - "@kbn/aiops-log-pattern-analysis": [ - "x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis" - ], - "@kbn/aiops-log-pattern-analysis/*": [ - "x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/*" - ], - "@kbn/aiops-log-rate-analysis": [ - "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis" - ], - "@kbn/aiops-log-rate-analysis/*": [ - "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/*" - ], + "@kbn/aiops-log-pattern-analysis": ["x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis"], + "@kbn/aiops-log-pattern-analysis/*": ["x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/*"], + "@kbn/aiops-log-rate-analysis": ["x-pack/platform/packages/shared/ml/aiops_log_rate_analysis"], + "@kbn/aiops-log-rate-analysis/*": ["x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/*"], "@kbn/aiops-plugin": ["x-pack/platform/plugins/shared/aiops"], "@kbn/aiops-plugin/*": ["x-pack/platform/plugins/shared/aiops/*"], "@kbn/aiops-test-utils": ["x-pack/platform/packages/private/ml/aiops_test_utils"], "@kbn/aiops-test-utils/*": ["x-pack/platform/packages/private/ml/aiops_test_utils/*"], - "@kbn/alerting-api-integration-helpers": [ - "x-pack/test/alerting_api_integration/packages/helpers" - ], - "@kbn/alerting-api-integration-helpers/*": [ - "x-pack/test/alerting_api_integration/packages/helpers/*" - ], - "@kbn/alerting-api-integration-test-plugin": [ - "x-pack/test/alerting_api_integration/common/plugins/alerts" - ], - "@kbn/alerting-api-integration-test-plugin/*": [ - "x-pack/test/alerting_api_integration/common/plugins/alerts/*" - ], + "@kbn/alerting-api-integration-helpers": ["x-pack/test/alerting_api_integration/packages/helpers"], + "@kbn/alerting-api-integration-helpers/*": ["x-pack/test/alerting_api_integration/packages/helpers/*"], + "@kbn/alerting-api-integration-test-plugin": ["x-pack/test/alerting_api_integration/common/plugins/alerts"], + "@kbn/alerting-api-integration-test-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/alerts/*"], "@kbn/alerting-comparators": ["x-pack/packages/kbn-alerting-comparators"], "@kbn/alerting-comparators/*": ["x-pack/packages/kbn-alerting-comparators/*"], "@kbn/alerting-example-plugin": ["x-pack/examples/alerting_example"], @@ -84,12 +56,8 @@ "@kbn/alerts-as-data-utils/*": ["packages/kbn-alerts-as-data-utils/*"], "@kbn/alerts-grouping": ["packages/kbn-alerts-grouping"], "@kbn/alerts-grouping/*": ["packages/kbn-alerts-grouping/*"], - "@kbn/alerts-restricted-fixtures-plugin": [ - "x-pack/test/alerting_api_integration/common/plugins/alerts_restricted" - ], - "@kbn/alerts-restricted-fixtures-plugin/*": [ - "x-pack/test/alerting_api_integration/common/plugins/alerts_restricted/*" - ], + "@kbn/alerts-restricted-fixtures-plugin": ["x-pack/test/alerting_api_integration/common/plugins/alerts_restricted"], + "@kbn/alerts-restricted-fixtures-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/alerts_restricted/*"], "@kbn/alerts-ui-shared": ["packages/kbn-alerts-ui-shared"], "@kbn/alerts-ui-shared/*": ["packages/kbn-alerts-ui-shared/*"], "@kbn/ambient-common-types": ["packages/kbn-ambient-common-types"], @@ -100,12 +68,10 @@ "@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"], @@ -130,12 +96,8 @@ "@kbn/apm-utils/*": ["packages/kbn-apm-utils/*"], "@kbn/app-link-test-plugin": ["test/plugin_functional/plugins/app_link_test"], "@kbn/app-link-test-plugin/*": ["test/plugin_functional/plugins/app_link_test/*"], - "@kbn/application-usage-test-plugin": [ - "x-pack/test/usage_collection/plugins/application_usage_test" - ], - "@kbn/application-usage-test-plugin/*": [ - "x-pack/test/usage_collection/plugins/application_usage_test/*" - ], + "@kbn/application-usage-test-plugin": ["x-pack/test/usage_collection/plugins/application_usage_test"], + "@kbn/application-usage-test-plugin/*": ["x-pack/test/usage_collection/plugins/application_usage_test/*"], "@kbn/asset-inventory-plugin": ["x-pack/solutions/security/plugins/asset_inventory"], "@kbn/asset-inventory-plugin/*": ["x-pack/solutions/security/plugins/asset_inventory/*"], "@kbn/audit-log-plugin": ["x-pack/test/security_api_integration/plugins/audit_log"], @@ -162,12 +124,8 @@ "@kbn/canvas-plugin/*": ["x-pack/plugins/canvas/*"], "@kbn/capture-oas-snapshot-cli": ["packages/kbn-capture-oas-snapshot-cli"], "@kbn/capture-oas-snapshot-cli/*": ["packages/kbn-capture-oas-snapshot-cli/*"], - "@kbn/cases-api-integration-test-plugin": [ - "x-pack/test/cases_api_integration/common/plugins/cases" - ], - "@kbn/cases-api-integration-test-plugin/*": [ - "x-pack/test/cases_api_integration/common/plugins/cases/*" - ], + "@kbn/cases-api-integration-test-plugin": ["x-pack/test/cases_api_integration/common/plugins/cases"], + "@kbn/cases-api-integration-test-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/cases/*"], "@kbn/cases-components": ["packages/kbn-cases-components"], "@kbn/cases-components/*": ["packages/kbn-cases-components/*"], "@kbn/cases-plugin": ["x-pack/plugins/cases"], @@ -198,56 +156,32 @@ "@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-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": ["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-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-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" - ], - "@kbn/cloud-security-posture-common/*": [ - "x-pack/platform/packages/shared/kbn-cloud-security-posture/common/*" - ], - "@kbn/cloud-security-posture-graph": [ - "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph" - ], - "@kbn/cloud-security-posture-graph/*": [ - "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/*" - ], - "@kbn/cloud-security-posture-plugin": [ - "x-pack/solutions/security/plugins/cloud_security_posture" - ], - "@kbn/cloud-security-posture-plugin/*": [ - "x-pack/solutions/security/plugins/cloud_security_posture/*" - ], + "@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/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"], + "@kbn/cloud-security-posture-common/*": ["x-pack/platform/packages/shared/kbn-cloud-security-posture/common/*"], + "@kbn/cloud-security-posture-graph": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/graph"], + "@kbn/cloud-security-posture-graph/*": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/*"], + "@kbn/cloud-security-posture-plugin": ["x-pack/solutions/security/plugins/cloud_security_posture"], + "@kbn/cloud-security-posture-plugin/*": ["x-pack/solutions/security/plugins/cloud_security_posture/*"], "@kbn/code-editor": ["packages/shared-ux/code_editor/impl"], "@kbn/code-editor/*": ["packages/shared-ux/code_editor/impl/*"], "@kbn/code-editor-mock": ["packages/shared-ux/code_editor/mocks"], @@ -266,62 +200,28 @@ "@kbn/console-plugin/*": ["src/platform/plugins/shared/console/*"], "@kbn/content-management-content-editor": ["packages/content-management/content_editor"], "@kbn/content-management-content-editor/*": ["packages/content-management/content_editor/*"], - "@kbn/content-management-content-insights-public": [ - "packages/content-management/content_insights/content_insights_public" - ], - "@kbn/content-management-content-insights-public/*": [ - "packages/content-management/content_insights/content_insights_public/*" - ], - "@kbn/content-management-content-insights-server": [ - "packages/content-management/content_insights/content_insights_server" - ], - "@kbn/content-management-content-insights-server/*": [ - "packages/content-management/content_insights/content_insights_server/*" - ], + "@kbn/content-management-content-insights-public": ["packages/content-management/content_insights/content_insights_public"], + "@kbn/content-management-content-insights-public/*": ["packages/content-management/content_insights/content_insights_public/*"], + "@kbn/content-management-content-insights-server": ["packages/content-management/content_insights/content_insights_server"], + "@kbn/content-management-content-insights-server/*": ["packages/content-management/content_insights/content_insights_server/*"], "@kbn/content-management-examples-plugin": ["examples/content_management_examples"], "@kbn/content-management-examples-plugin/*": ["examples/content_management_examples/*"], - "@kbn/content-management-favorites-common": [ - "packages/content-management/favorites/favorites_common" - ], - "@kbn/content-management-favorites-common/*": [ - "packages/content-management/favorites/favorites_common/*" - ], - "@kbn/content-management-favorites-public": [ - "packages/content-management/favorites/favorites_public" - ], - "@kbn/content-management-favorites-public/*": [ - "packages/content-management/favorites/favorites_public/*" - ], - "@kbn/content-management-favorites-server": [ - "packages/content-management/favorites/favorites_server" - ], - "@kbn/content-management-favorites-server/*": [ - "packages/content-management/favorites/favorites_server/*" - ], + "@kbn/content-management-favorites-common": ["packages/content-management/favorites/favorites_common"], + "@kbn/content-management-favorites-common/*": ["packages/content-management/favorites/favorites_common/*"], + "@kbn/content-management-favorites-public": ["packages/content-management/favorites/favorites_public"], + "@kbn/content-management-favorites-public/*": ["packages/content-management/favorites/favorites_public/*"], + "@kbn/content-management-favorites-server": ["packages/content-management/favorites/favorites_server"], + "@kbn/content-management-favorites-server/*": ["packages/content-management/favorites/favorites_server/*"], "@kbn/content-management-plugin": ["src/plugins/content_management"], "@kbn/content-management-plugin/*": ["src/plugins/content_management/*"], - "@kbn/content-management-tabbed-table-list-view": [ - "packages/content-management/tabbed_table_list_view" - ], - "@kbn/content-management-tabbed-table-list-view/*": [ - "packages/content-management/tabbed_table_list_view/*" - ], + "@kbn/content-management-tabbed-table-list-view": ["packages/content-management/tabbed_table_list_view"], + "@kbn/content-management-tabbed-table-list-view/*": ["packages/content-management/tabbed_table_list_view/*"], "@kbn/content-management-table-list-view": ["packages/content-management/table_list_view"], - "@kbn/content-management-table-list-view/*": [ - "packages/content-management/table_list_view/*" - ], - "@kbn/content-management-table-list-view-common": [ - "packages/content-management/table_list_view_common" - ], - "@kbn/content-management-table-list-view-common/*": [ - "packages/content-management/table_list_view_common/*" - ], - "@kbn/content-management-table-list-view-table": [ - "packages/content-management/table_list_view_table" - ], - "@kbn/content-management-table-list-view-table/*": [ - "packages/content-management/table_list_view_table/*" - ], + "@kbn/content-management-table-list-view/*": ["packages/content-management/table_list_view/*"], + "@kbn/content-management-table-list-view-common": ["packages/content-management/table_list_view_common"], + "@kbn/content-management-table-list-view-common/*": ["packages/content-management/table_list_view_common/*"], + "@kbn/content-management-table-list-view-table": ["packages/content-management/table_list_view_table"], + "@kbn/content-management-table-list-view-table/*": ["packages/content-management/table_list_view_table/*"], "@kbn/content-management-user-profiles": ["packages/content-management/user_profiles"], "@kbn/content-management-user-profiles/*": ["packages/content-management/user_profiles/*"], "@kbn/content-management-utils": ["packages/kbn-content-management-utils"], @@ -337,41 +237,25 @@ "@kbn/core-analytics-browser-internal": ["src/core/packages/analytics/browser-internal"], "@kbn/core-analytics-browser-internal/*": ["src/core/packages/analytics/browser-internal/*"], "@kbn/core-analytics-browser-mocks": ["packages/core/analytics/core-analytics-browser-mocks"], - "@kbn/core-analytics-browser-mocks/*": [ - "packages/core/analytics/core-analytics-browser-mocks/*" - ], - "@kbn/core-analytics-server": ["packages/core/analytics/core-analytics-server"], - "@kbn/core-analytics-server/*": ["packages/core/analytics/core-analytics-server/*"], - "@kbn/core-analytics-server-internal": [ - "packages/core/analytics/core-analytics-server-internal" - ], - "@kbn/core-analytics-server-internal/*": [ - "packages/core/analytics/core-analytics-server-internal/*" - ], + "@kbn/core-analytics-browser-mocks/*": ["packages/core/analytics/core-analytics-browser-mocks/*"], + "@kbn/core-analytics-server": ["src/core/packages/analytics/server"], + "@kbn/core-analytics-server/*": ["src/core/packages/analytics/server/*"], + "@kbn/core-analytics-server-internal": ["src/core/packages/analytics/server-internal"], + "@kbn/core-analytics-server-internal/*": ["src/core/packages/analytics/server-internal/*"], "@kbn/core-analytics-server-mocks": ["packages/core/analytics/core-analytics-server-mocks"], - "@kbn/core-analytics-server-mocks/*": [ - "packages/core/analytics/core-analytics-server-mocks/*" - ], + "@kbn/core-analytics-server-mocks/*": ["packages/core/analytics/core-analytics-server-mocks/*"], "@kbn/core-app-status-plugin": ["test/plugin_functional/plugins/core_app_status"], "@kbn/core-app-status-plugin/*": ["test/plugin_functional/plugins/core_app_status/*"], - "@kbn/core-application-browser": ["packages/core/application/core-application-browser"], - "@kbn/core-application-browser/*": ["packages/core/application/core-application-browser/*"], - "@kbn/core-application-browser-internal": [ - "packages/core/application/core-application-browser-internal" - ], - "@kbn/core-application-browser-internal/*": [ - "packages/core/application/core-application-browser-internal/*" - ], - "@kbn/core-application-browser-mocks": [ - "packages/core/application/core-application-browser-mocks" - ], - "@kbn/core-application-browser-mocks/*": [ - "packages/core/application/core-application-browser-mocks/*" - ], - "@kbn/core-application-common": ["packages/core/application/core-application-common"], - "@kbn/core-application-common/*": ["packages/core/application/core-application-common/*"], - "@kbn/core-apps-browser-internal": ["packages/core/apps/core-apps-browser-internal"], - "@kbn/core-apps-browser-internal/*": ["packages/core/apps/core-apps-browser-internal/*"], + "@kbn/core-application-browser": ["src/core/packages/application/browser"], + "@kbn/core-application-browser/*": ["src/core/packages/application/browser/*"], + "@kbn/core-application-browser-internal": ["src/core/packages/application/browser-internal"], + "@kbn/core-application-browser-internal/*": ["src/core/packages/application/browser-internal/*"], + "@kbn/core-application-browser-mocks": ["packages/core/application/core-application-browser-mocks"], + "@kbn/core-application-browser-mocks/*": ["packages/core/application/core-application-browser-mocks/*"], + "@kbn/core-application-common": ["src/core/packages/application/common"], + "@kbn/core-application-common/*": ["src/core/packages/application/common/*"], + "@kbn/core-apps-browser-internal": ["src/core/packages/apps/browser-internal"], + "@kbn/core-apps-browser-internal/*": ["src/core/packages/apps/browser-internal/*"], "@kbn/core-apps-browser-mocks": ["packages/core/apps/core-apps-browser-mocks"], "@kbn/core-apps-browser-mocks/*": ["packages/core/apps/core-apps-browser-mocks/*"], "@kbn/core-apps-server-internal": ["src/core/packages/apps/server-internal"], @@ -388,272 +272,112 @@ "@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-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-server-mocks": [ - "packages/core/capabilities/core-capabilities-server-mocks" - ], - "@kbn/core-capabilities-server-mocks/*": [ - "packages/core/capabilities/core-capabilities-server-mocks/*" - ], + "@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": ["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"], "@kbn/core-chrome-browser/*": ["packages/core/chrome/core-chrome-browser/*"], "@kbn/core-chrome-browser-internal": ["packages/core/chrome/core-chrome-browser-internal"], - "@kbn/core-chrome-browser-internal/*": [ - "packages/core/chrome/core-chrome-browser-internal/*" - ], + "@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-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" - ], - "@kbn/core-custom-branding-browser-internal/*": [ - "packages/core/custom-branding/core-custom-branding-browser-internal/*" - ], - "@kbn/core-custom-branding-browser-mocks": [ - "packages/core/custom-branding/core-custom-branding-browser-mocks" - ], - "@kbn/core-custom-branding-browser-mocks/*": [ - "packages/core/custom-branding/core-custom-branding-browser-mocks/*" - ], - "@kbn/core-custom-branding-common": [ - "packages/core/custom-branding/core-custom-branding-common" - ], - "@kbn/core-custom-branding-common/*": [ - "packages/core/custom-branding/core-custom-branding-common/*" - ], - "@kbn/core-custom-branding-server": [ - "packages/core/custom-branding/core-custom-branding-server" - ], - "@kbn/core-custom-branding-server/*": [ - "packages/core/custom-branding/core-custom-branding-server/*" - ], - "@kbn/core-custom-branding-server-internal": [ - "packages/core/custom-branding/core-custom-branding-server-internal" - ], - "@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-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-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-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"], + "@kbn/core-custom-branding-browser-internal/*": ["packages/core/custom-branding/core-custom-branding-browser-internal/*"], + "@kbn/core-custom-branding-browser-mocks": ["packages/core/custom-branding/core-custom-branding-browser-mocks"], + "@kbn/core-custom-branding-browser-mocks/*": ["packages/core/custom-branding/core-custom-branding-browser-mocks/*"], + "@kbn/core-custom-branding-common": ["packages/core/custom-branding/core-custom-branding-common"], + "@kbn/core-custom-branding-common/*": ["packages/core/custom-branding/core-custom-branding-common/*"], + "@kbn/core-custom-branding-server": ["packages/core/custom-branding/core-custom-branding-server"], + "@kbn/core-custom-branding-server/*": ["packages/core/custom-branding/core-custom-branding-server/*"], + "@kbn/core-custom-branding-server-internal": ["packages/core/custom-branding/core-custom-branding-server-internal"], + "@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": ["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": ["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": ["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-browser-mocks/*": ["packages/core/doc-links/core-doc-links-browser-mocks/*"], + "@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-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-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-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-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-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-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-doc-links-server-mocks/*": ["packages/core/doc-links/core-doc-links-server-mocks/*"], + "@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": ["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": ["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": ["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": ["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": ["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": ["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": ["src/core/packages/http/browser"], @@ -662,60 +386,32 @@ "@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-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-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-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": ["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-router-server-mocks/*": ["packages/core/http/core-http-router-server-mocks/*"], + "@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": ["src/core/packages/http/server-utils"], @@ -732,64 +428,30 @@ "@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-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-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-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": ["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": ["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-browser-mocks/*": ["packages/core/lifecycle/core-lifecycle-browser-mocks/*"], + "@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-lifecycle-server-mocks/*": ["packages/core/lifecycle/core-lifecycle-server-mocks/*"], + "@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": ["src/core/packages/logging/common-internal"], @@ -800,146 +462,70 @@ "@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-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-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": ["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-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-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": ["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-overlays-browser-mocks/*": ["packages/core/overlays/core-overlays-browser-mocks/*"], "@kbn/core-plugin-a-plugin": ["test/plugin_functional/plugins/core_plugin_a"], "@kbn/core-plugin-a-plugin/*": ["test/plugin_functional/plugins/core_plugin_a/*"], "@kbn/core-plugin-appleave-plugin": ["test/plugin_functional/plugins/core_plugin_appleave"], - "@kbn/core-plugin-appleave-plugin/*": [ - "test/plugin_functional/plugins/core_plugin_appleave/*" - ], + "@kbn/core-plugin-appleave-plugin/*": ["test/plugin_functional/plugins/core_plugin_appleave/*"], "@kbn/core-plugin-b-plugin": ["test/plugin_functional/plugins/core_plugin_b"], "@kbn/core-plugin-b-plugin/*": ["test/plugin_functional/plugins/core_plugin_b/*"], - "@kbn/core-plugin-chromeless-plugin": [ - "test/plugin_functional/plugins/core_plugin_chromeless" - ], - "@kbn/core-plugin-chromeless-plugin/*": [ - "test/plugin_functional/plugins/core_plugin_chromeless/*" - ], - "@kbn/core-plugin-deep-links-plugin": [ - "test/plugin_functional/plugins/core_plugin_deep_links" - ], - "@kbn/core-plugin-deep-links-plugin/*": [ - "test/plugin_functional/plugins/core_plugin_deep_links/*" - ], - "@kbn/core-plugin-deprecations-plugin": [ - "test/plugin_functional/plugins/core_plugin_deprecations" - ], - "@kbn/core-plugin-deprecations-plugin/*": [ - "test/plugin_functional/plugins/core_plugin_deprecations/*" - ], - "@kbn/core-plugin-dynamic-resolving-a": [ - "test/plugin_functional/plugins/core_dynamic_resolving_a" - ], - "@kbn/core-plugin-dynamic-resolving-a/*": [ - "test/plugin_functional/plugins/core_dynamic_resolving_a/*" - ], - "@kbn/core-plugin-dynamic-resolving-b": [ - "test/plugin_functional/plugins/core_dynamic_resolving_b" - ], - "@kbn/core-plugin-dynamic-resolving-b/*": [ - "test/plugin_functional/plugins/core_dynamic_resolving_b/*" - ], - "@kbn/core-plugin-execution-context-plugin": [ - "test/plugin_functional/plugins/core_plugin_execution_context" - ], - "@kbn/core-plugin-execution-context-plugin/*": [ - "test/plugin_functional/plugins/core_plugin_execution_context/*" - ], + "@kbn/core-plugin-chromeless-plugin": ["test/plugin_functional/plugins/core_plugin_chromeless"], + "@kbn/core-plugin-chromeless-plugin/*": ["test/plugin_functional/plugins/core_plugin_chromeless/*"], + "@kbn/core-plugin-deep-links-plugin": ["test/plugin_functional/plugins/core_plugin_deep_links"], + "@kbn/core-plugin-deep-links-plugin/*": ["test/plugin_functional/plugins/core_plugin_deep_links/*"], + "@kbn/core-plugin-deprecations-plugin": ["test/plugin_functional/plugins/core_plugin_deprecations"], + "@kbn/core-plugin-deprecations-plugin/*": ["test/plugin_functional/plugins/core_plugin_deprecations/*"], + "@kbn/core-plugin-dynamic-resolving-a": ["test/plugin_functional/plugins/core_dynamic_resolving_a"], + "@kbn/core-plugin-dynamic-resolving-a/*": ["test/plugin_functional/plugins/core_dynamic_resolving_a/*"], + "@kbn/core-plugin-dynamic-resolving-b": ["test/plugin_functional/plugins/core_dynamic_resolving_b"], + "@kbn/core-plugin-dynamic-resolving-b/*": ["test/plugin_functional/plugins/core_dynamic_resolving_b/*"], + "@kbn/core-plugin-execution-context-plugin": ["test/plugin_functional/plugins/core_plugin_execution_context"], + "@kbn/core-plugin-execution-context-plugin/*": ["test/plugin_functional/plugins/core_plugin_execution_context/*"], "@kbn/core-plugin-helpmenu-plugin": ["test/plugin_functional/plugins/core_plugin_helpmenu"], - "@kbn/core-plugin-helpmenu-plugin/*": [ - "test/plugin_functional/plugins/core_plugin_helpmenu/*" - ], - "@kbn/core-plugin-initializer-context-plugin": [ - "test/node_roles_functional/plugins/core_plugin_initializer_context" - ], - "@kbn/core-plugin-initializer-context-plugin/*": [ - "test/node_roles_functional/plugins/core_plugin_initializer_context/*" - ], - "@kbn/core-plugin-route-timeouts-plugin": [ - "test/plugin_functional/plugins/core_plugin_route_timeouts" - ], - "@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-plugin-helpmenu-plugin/*": ["test/plugin_functional/plugins/core_plugin_helpmenu/*"], + "@kbn/core-plugin-initializer-context-plugin": ["test/node_roles_functional/plugins/core_plugin_initializer_context"], + "@kbn/core-plugin-initializer-context-plugin/*": ["test/node_roles_functional/plugins/core_plugin_initializer_context/*"], + "@kbn/core-plugin-route-timeouts-plugin": ["test/plugin_functional/plugins/core_plugin_route_timeouts"], + "@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": ["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": ["src/core/packages/plugins/contracts-browser"], @@ -965,303 +551,135 @@ "@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-browser-mocks/*": ["packages/core/rendering/core-rendering-browser-mocks/*"], + "@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-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-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-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-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-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-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-rendering-server-mocks/*": ["packages/core/rendering/core-rendering-server-mocks/*"], + "@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": ["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": ["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": ["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": ["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": ["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": ["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-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-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": ["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"], "@kbn/core-ui-settings-browser/*": ["packages/core/ui-settings/core-ui-settings-browser/*"], - "@kbn/core-ui-settings-browser-internal": [ - "packages/core/ui-settings/core-ui-settings-browser-internal" - ], - "@kbn/core-ui-settings-browser-internal/*": [ - "packages/core/ui-settings/core-ui-settings-browser-internal/*" - ], - "@kbn/core-ui-settings-browser-mocks": [ - "packages/core/ui-settings/core-ui-settings-browser-mocks" - ], - "@kbn/core-ui-settings-browser-mocks/*": [ - "packages/core/ui-settings/core-ui-settings-browser-mocks/*" - ], + "@kbn/core-ui-settings-browser-internal": ["packages/core/ui-settings/core-ui-settings-browser-internal"], + "@kbn/core-ui-settings-browser-internal/*": ["packages/core/ui-settings/core-ui-settings-browser-internal/*"], + "@kbn/core-ui-settings-browser-mocks": ["packages/core/ui-settings/core-ui-settings-browser-mocks"], + "@kbn/core-ui-settings-browser-mocks/*": ["packages/core/ui-settings/core-ui-settings-browser-mocks/*"], "@kbn/core-ui-settings-common": ["packages/core/ui-settings/core-ui-settings-common"], "@kbn/core-ui-settings-common/*": ["packages/core/ui-settings/core-ui-settings-common/*"], "@kbn/core-ui-settings-server": ["packages/core/ui-settings/core-ui-settings-server"], "@kbn/core-ui-settings-server/*": ["packages/core/ui-settings/core-ui-settings-server/*"], - "@kbn/core-ui-settings-server-internal": [ - "packages/core/ui-settings/core-ui-settings-server-internal" - ], - "@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-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-ui-settings-server-internal": ["packages/core/ui-settings/core-ui-settings-server-internal"], + "@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": ["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": ["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" - ], - "@kbn/core-user-settings-server-internal/*": [ - "packages/core/user-settings/core-user-settings-server-internal/*" - ], - "@kbn/core-user-settings-server-mocks": [ - "packages/core/user-settings/core-user-settings-server-mocks" - ], - "@kbn/core-user-settings-server-mocks/*": [ - "packages/core/user-settings/core-user-settings-server-mocks/*" - ], - "@kbn/cross-cluster-replication-plugin": [ - "x-pack/platform/plugins/private/cross_cluster_replication" - ], - "@kbn/cross-cluster-replication-plugin/*": [ - "x-pack/platform/plugins/private/cross_cluster_replication/*" - ], + "@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"], + "@kbn/core-user-settings-server-internal/*": ["packages/core/user-settings/core-user-settings-server-internal/*"], + "@kbn/core-user-settings-server-mocks": ["packages/core/user-settings/core-user-settings-server-mocks"], + "@kbn/core-user-settings-server-mocks/*": ["packages/core/user-settings/core-user-settings-server-mocks/*"], + "@kbn/cross-cluster-replication-plugin": ["x-pack/platform/plugins/private/cross_cluster_replication"], + "@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": ["src/platform/packages/shared/kbn-crypto-browser"], @@ -1270,12 +688,8 @@ "@kbn/custom-branding-plugin/*": ["x-pack/plugins/custom_branding/*"], "@kbn/custom-icons": ["src/platform/packages/shared/kbn-custom-icons"], "@kbn/custom-icons/*": ["src/platform/packages/shared/kbn-custom-icons/*"], - "@kbn/custom-integrations": [ - "x-pack/solutions/observability/packages/kbn-custom-integrations" - ], - "@kbn/custom-integrations/*": [ - "x-pack/solutions/observability/packages/kbn-custom-integrations/*" - ], + "@kbn/custom-integrations": ["x-pack/solutions/observability/packages/kbn-custom-integrations"], + "@kbn/custom-integrations/*": ["x-pack/solutions/observability/packages/kbn-custom-integrations/*"], "@kbn/custom-integrations-plugin": ["src/plugins/custom_integrations"], "@kbn/custom-integrations-plugin/*": ["src/plugins/custom_integrations/*"], "@kbn/cypress-config": ["packages/kbn-cypress-config"], @@ -1358,16 +772,10 @@ "@kbn/dev-utils/*": ["packages/kbn-dev-utils/*"], "@kbn/developer-examples-plugin": ["examples/developer_examples"], "@kbn/developer-examples-plugin/*": ["examples/developer_examples/*"], - "@kbn/discover-contextual-components": [ - "src/platform/packages/shared/kbn-discover-contextual-components" - ], - "@kbn/discover-contextual-components/*": [ - "src/platform/packages/shared/kbn-discover-contextual-components/*" - ], + "@kbn/discover-contextual-components": ["src/platform/packages/shared/kbn-discover-contextual-components"], + "@kbn/discover-contextual-components/*": ["src/platform/packages/shared/kbn-discover-contextual-components/*"], "@kbn/discover-customization-examples-plugin": ["examples/discover_customization_examples"], - "@kbn/discover-customization-examples-plugin/*": [ - "examples/discover_customization_examples/*" - ], + "@kbn/discover-customization-examples-plugin/*": ["examples/discover_customization_examples/*"], "@kbn/discover-enhanced-plugin": ["x-pack/plugins/discover_enhanced"], "@kbn/discover-enhanced-plugin/*": ["x-pack/plugins/discover_enhanced/*"], "@kbn/discover-plugin": ["src/plugins/discover"], @@ -1382,44 +790,24 @@ "@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/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" - ], - "@kbn/ecs-data-quality-dashboard-plugin/*": [ - "x-pack/solutions/security/plugins/ecs_data_quality_dashboard/*" - ], + "@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"], + "@kbn/ecs-data-quality-dashboard-plugin/*": ["x-pack/solutions/security/plugins/ecs_data_quality_dashboard/*"], "@kbn/elastic-agent-utils": ["src/platform/packages/shared/kbn-elastic-agent-utils"], "@kbn/elastic-agent-utils/*": ["src/platform/packages/shared/kbn-elastic-agent-utils/*"], "@kbn/elastic-assistant": ["x-pack/platform/packages/shared/kbn-elastic-assistant"], "@kbn/elastic-assistant/*": ["x-pack/platform/packages/shared/kbn-elastic-assistant/*"], - "@kbn/elastic-assistant-common": [ - "x-pack/platform/packages/shared/kbn-elastic-assistant-common" - ], - "@kbn/elastic-assistant-common/*": [ - "x-pack/platform/packages/shared/kbn-elastic-assistant-common/*" - ], + "@kbn/elastic-assistant-common": ["x-pack/platform/packages/shared/kbn-elastic-assistant-common"], + "@kbn/elastic-assistant-common/*": ["x-pack/platform/packages/shared/kbn-elastic-assistant-common/*"], "@kbn/elastic-assistant-plugin": ["x-pack/solutions/security/plugins/elastic_assistant"], "@kbn/elastic-assistant-plugin/*": ["x-pack/solutions/security/plugins/elastic_assistant/*"], - "@kbn/elasticsearch-client-plugin": [ - "test/plugin_functional/plugins/elasticsearch_client_plugin" - ], - "@kbn/elasticsearch-client-plugin/*": [ - "test/plugin_functional/plugins/elasticsearch_client_plugin/*" - ], - "@kbn/elasticsearch-client-xpack-plugin": [ - "x-pack/test/plugin_api_integration/plugins/elasticsearch_client" - ], - "@kbn/elasticsearch-client-xpack-plugin/*": [ - "x-pack/test/plugin_api_integration/plugins/elasticsearch_client/*" - ], + "@kbn/elasticsearch-client-plugin": ["test/plugin_functional/plugins/elasticsearch_client_plugin"], + "@kbn/elasticsearch-client-plugin/*": ["test/plugin_functional/plugins/elasticsearch_client_plugin/*"], + "@kbn/elasticsearch-client-xpack-plugin": ["x-pack/test/plugin_api_integration/plugins/elasticsearch_client"], + "@kbn/elasticsearch-client-xpack-plugin/*": ["x-pack/test/plugin_api_integration/plugins/elasticsearch_client/*"], "@kbn/embeddable-enhanced-plugin": ["x-pack/plugins/embeddable_enhanced"], "@kbn/embeddable-enhanced-plugin/*": ["x-pack/plugins/embeddable_enhanced/*"], "@kbn/embeddable-examples-plugin": ["examples/embeddable_examples"], @@ -1432,26 +820,14 @@ "@kbn/encrypted-saved-objects-plugin/*": ["x-pack/plugins/encrypted_saved_objects/*"], "@kbn/enterprise-search-plugin": ["x-pack/plugins/enterprise_search"], "@kbn/enterprise-search-plugin/*": ["x-pack/plugins/enterprise_search/*"], - "@kbn/entities-data-access-plugin": [ - "x-pack/solutions/observability/plugins/observability_solution/entities_data_access" - ], - "@kbn/entities-data-access-plugin/*": [ - "x-pack/solutions/observability/plugins/observability_solution/entities_data_access/*" - ], + "@kbn/entities-data-access-plugin": ["x-pack/solutions/observability/plugins/observability_solution/entities_data_access"], + "@kbn/entities-data-access-plugin/*": ["x-pack/solutions/observability/plugins/observability_solution/entities_data_access/*"], "@kbn/entities-schema": ["x-pack/platform/packages/shared/kbn-entities-schema"], "@kbn/entities-schema/*": ["x-pack/platform/packages/shared/kbn-entities-schema/*"], - "@kbn/entity-manager-fixture-plugin": [ - "x-pack/test/api_integration/apis/entity_manager/fixture_plugin" - ], - "@kbn/entity-manager-fixture-plugin/*": [ - "x-pack/test/api_integration/apis/entity_manager/fixture_plugin/*" - ], - "@kbn/entityManager-app-plugin": [ - "x-pack/solutions/observability/plugins/observability_solution/entity_manager_app" - ], - "@kbn/entityManager-app-plugin/*": [ - "x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/*" - ], + "@kbn/entity-manager-fixture-plugin": ["x-pack/test/api_integration/apis/entity_manager/fixture_plugin"], + "@kbn/entity-manager-fixture-plugin/*": ["x-pack/test/api_integration/apis/entity_manager/fixture_plugin/*"], + "@kbn/entityManager-app-plugin": ["x-pack/solutions/observability/plugins/observability_solution/entity_manager_app"], + "@kbn/entityManager-app-plugin/*": ["x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/*"], "@kbn/entityManager-plugin": ["x-pack/platform/plugins/shared/entity_manager"], "@kbn/entityManager-plugin/*": ["x-pack/platform/plugins/shared/entity_manager/*"], "@kbn/error-boundary-example-plugin": ["examples/error_boundary"], @@ -1484,12 +860,8 @@ "@kbn/eslint-plugin-telemetry/*": ["packages/kbn-eslint-plugin-telemetry/*"], "@kbn/eso-model-version-example": ["examples/eso_model_version_example"], "@kbn/eso-model-version-example/*": ["examples/eso_model_version_example/*"], - "@kbn/eso-plugin": [ - "x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin" - ], - "@kbn/eso-plugin/*": [ - "x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin/*" - ], + "@kbn/eso-plugin": ["x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin"], + "@kbn/eso-plugin/*": ["x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin/*"], "@kbn/esql": ["src/platform/plugins/shared/esql"], "@kbn/esql/*": ["src/platform/plugins/shared/esql/*"], "@kbn/esql-ast": ["src/platform/packages/shared/kbn-esql-ast"], @@ -1502,18 +874,12 @@ "@kbn/esql-editor/*": ["src/platform/packages/private/kbn-esql-editor/*"], "@kbn/esql-utils": ["src/platform/packages/shared/kbn-esql-utils"], "@kbn/esql-utils/*": ["src/platform/packages/shared/kbn-esql-utils/*"], - "@kbn/esql-validation-autocomplete": [ - "src/platform/packages/shared/kbn-esql-validation-autocomplete" - ], - "@kbn/esql-validation-autocomplete/*": [ - "src/platform/packages/shared/kbn-esql-validation-autocomplete/*" - ], + "@kbn/esql-validation-autocomplete": ["src/platform/packages/shared/kbn-esql-validation-autocomplete"], + "@kbn/esql-validation-autocomplete/*": ["src/platform/packages/shared/kbn-esql-validation-autocomplete/*"], "@kbn/esql-validation-example-plugin": ["examples/esql_validation_example"], "@kbn/esql-validation-example-plugin/*": ["examples/esql_validation_example/*"], "@kbn/eui-provider-dev-warning": ["test/plugin_functional/plugins/eui_provider_dev_warning"], - "@kbn/eui-provider-dev-warning/*": [ - "test/plugin_functional/plugins/eui_provider_dev_warning/*" - ], + "@kbn/eui-provider-dev-warning/*": ["test/plugin_functional/plugins/eui_provider_dev_warning/*"], "@kbn/event-annotation-common": ["packages/kbn-event-annotation-common"], "@kbn/event-annotation-common/*": ["packages/kbn-event-annotation-common/*"], "@kbn/event-annotation-components": ["packages/kbn-event-annotation-components"], @@ -1533,9 +899,7 @@ "@kbn/exploratory-view-example-plugin": ["x-pack/examples/exploratory_view_example"], "@kbn/exploratory-view-example-plugin/*": ["x-pack/examples/exploratory_view_example/*"], "@kbn/exploratory-view-plugin": ["x-pack/solutions/observability/plugins/exploratory_view"], - "@kbn/exploratory-view-plugin/*": [ - "x-pack/solutions/observability/plugins/exploratory_view/*" - ], + "@kbn/exploratory-view-plugin/*": ["x-pack/solutions/observability/plugins/exploratory_view/*"], "@kbn/expression-error-plugin": ["src/plugins/expression_error"], "@kbn/expression-error-plugin/*": ["src/plugins/expression_error/*"], "@kbn/expression-gauge-plugin": ["src/plugins/chart_expressions/expression_gauge"], @@ -1544,22 +908,14 @@ "@kbn/expression-heatmap-plugin/*": ["src/plugins/chart_expressions/expression_heatmap/*"], "@kbn/expression-image-plugin": ["src/plugins/expression_image"], "@kbn/expression-image-plugin/*": ["src/plugins/expression_image/*"], - "@kbn/expression-legacy-metric-vis-plugin": [ - "src/plugins/chart_expressions/expression_legacy_metric" - ], - "@kbn/expression-legacy-metric-vis-plugin/*": [ - "src/plugins/chart_expressions/expression_legacy_metric/*" - ], + "@kbn/expression-legacy-metric-vis-plugin": ["src/plugins/chart_expressions/expression_legacy_metric"], + "@kbn/expression-legacy-metric-vis-plugin/*": ["src/plugins/chart_expressions/expression_legacy_metric/*"], "@kbn/expression-metric-plugin": ["src/plugins/expression_metric"], "@kbn/expression-metric-plugin/*": ["src/plugins/expression_metric/*"], "@kbn/expression-metric-vis-plugin": ["src/plugins/chart_expressions/expression_metric"], "@kbn/expression-metric-vis-plugin/*": ["src/plugins/chart_expressions/expression_metric/*"], - "@kbn/expression-partition-vis-plugin": [ - "src/plugins/chart_expressions/expression_partition_vis" - ], - "@kbn/expression-partition-vis-plugin/*": [ - "src/plugins/chart_expressions/expression_partition_vis/*" - ], + "@kbn/expression-partition-vis-plugin": ["src/plugins/chart_expressions/expression_partition_vis"], + "@kbn/expression-partition-vis-plugin/*": ["src/plugins/chart_expressions/expression_partition_vis/*"], "@kbn/expression-repeat-image-plugin": ["src/plugins/expression_repeat_image"], "@kbn/expression-repeat-image-plugin/*": ["src/plugins/expression_repeat_image/*"], "@kbn/expression-reveal-image-plugin": ["src/plugins/expression_reveal_image"], @@ -1580,24 +936,14 @@ "@kbn/feature-controls-examples-plugin/*": ["examples/feature_control_examples/*"], "@kbn/feature-flags-example-plugin": ["examples/feature_flags_example"], "@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-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/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/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"], - "@kbn/fec-alerts-test-plugin/*": [ - "x-pack/test/functional_execution_context/plugins/alerts/*" - ], + "@kbn/fec-alerts-test-plugin/*": ["x-pack/test/functional_execution_context/plugins/alerts/*"], "@kbn/field-formats-example-plugin": ["examples/field_formats_example"], "@kbn/field-formats-example-plugin/*": ["examples/field_formats_example/*"], "@kbn/field-formats-plugin": ["src/plugins/field_formats"], @@ -1631,25 +977,15 @@ "@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"], - "@kbn/ftr-common-functional-ui-services/*": [ - "packages/kbn-ftr-common-functional-ui-services/*" - ], + "@kbn/ftr-common-functional-ui-services/*": ["packages/kbn-ftr-common-functional-ui-services/*"], "@kbn/ftr-screenshot-filename": ["packages/kbn-ftr-screenshot-filename"], "@kbn/ftr-screenshot-filename/*": ["packages/kbn-ftr-screenshot-filename/*"], - "@kbn/functional-with-es-ssl-cases-test-plugin": [ - "x-pack/test/functional_with_es_ssl/plugins/cases" - ], - "@kbn/functional-with-es-ssl-cases-test-plugin/*": [ - "x-pack/test/functional_with_es_ssl/plugins/cases/*" - ], + "@kbn/functional-with-es-ssl-cases-test-plugin": ["x-pack/test/functional_with_es_ssl/plugins/cases"], + "@kbn/functional-with-es-ssl-cases-test-plugin/*": ["x-pack/test/functional_with_es_ssl/plugins/cases/*"], "@kbn/gen-ai-functional-testing": ["packages/kbn-gen-ai-functional-testing"], "@kbn/gen-ai-functional-testing/*": ["packages/kbn-gen-ai-functional-testing/*"], - "@kbn/gen-ai-streaming-response-example-plugin": [ - "x-pack/examples/gen_ai_streaming_response_example" - ], - "@kbn/gen-ai-streaming-response-example-plugin/*": [ - "x-pack/examples/gen_ai_streaming_response_example/*" - ], + "@kbn/gen-ai-streaming-response-example-plugin": ["x-pack/examples/gen_ai_streaming_response_example"], + "@kbn/gen-ai-streaming-response-example-plugin/*": ["x-pack/examples/gen_ai_streaming_response_example/*"], "@kbn/generate": ["packages/kbn-generate"], "@kbn/generate/*": ["packages/kbn-generate/*"], "@kbn/generate-console-definitions": ["packages/kbn-generate-console-definitions"], @@ -1664,12 +1000,8 @@ "@kbn/global-search-plugin/*": ["x-pack/plugins/global_search/*"], "@kbn/global-search-providers-plugin": ["x-pack/plugins/global_search_providers"], "@kbn/global-search-providers-plugin/*": ["x-pack/plugins/global_search_providers/*"], - "@kbn/global-search-test-plugin": [ - "x-pack/test/plugin_functional/plugins/global_search_test" - ], - "@kbn/global-search-test-plugin/*": [ - "x-pack/test/plugin_functional/plugins/global_search_test/*" - ], + "@kbn/global-search-test-plugin": ["x-pack/test/plugin_functional/plugins/global_search_test"], + "@kbn/global-search-test-plugin/*": ["x-pack/test/plugin_functional/plugins/global_search_test/*"], "@kbn/graph-plugin": ["x-pack/plugins/graph"], "@kbn/graph-plugin/*": ["x-pack/plugins/graph/*"], "@kbn/grid-example-plugin": ["examples/grid_example"], @@ -1709,9 +1041,7 @@ "@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/iframe-embedded-plugin/*": ["x-pack/test/functional_embedded/plugins/iframe_embedded/*"], "@kbn/image-embeddable-plugin": ["src/plugins/image_embeddable"], "@kbn/image-embeddable-plugin/*": ["src/plugins/image_embeddable/*"], "@kbn/import-locator": ["packages/kbn-import-locator"], @@ -1720,34 +1050,18 @@ "@kbn/import-resolver/*": ["packages/kbn-import-resolver/*"], "@kbn/index-adapter": ["x-pack/solutions/security/packages/index-adapter"], "@kbn/index-adapter/*": ["x-pack/solutions/security/packages/index-adapter/*"], - "@kbn/index-lifecycle-management-common-shared": [ - "x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared" - ], - "@kbn/index-lifecycle-management-common-shared/*": [ - "x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/*" - ], - "@kbn/index-lifecycle-management-plugin": [ - "x-pack/platform/plugins/private/index_lifecycle_management" - ], - "@kbn/index-lifecycle-management-plugin/*": [ - "x-pack/platform/plugins/private/index_lifecycle_management/*" - ], + "@kbn/index-lifecycle-management-common-shared": ["x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared"], + "@kbn/index-lifecycle-management-common-shared/*": ["x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/*"], + "@kbn/index-lifecycle-management-plugin": ["x-pack/platform/plugins/private/index_lifecycle_management"], + "@kbn/index-lifecycle-management-plugin/*": ["x-pack/platform/plugins/private/index_lifecycle_management/*"], "@kbn/index-management-plugin": ["x-pack/platform/plugins/shared/index_management"], "@kbn/index-management-plugin/*": ["x-pack/platform/plugins/shared/index_management/*"], - "@kbn/index-management-shared-types": [ - "x-pack/platform/packages/shared/index-management/index_management_shared_types" - ], - "@kbn/index-management-shared-types/*": [ - "x-pack/platform/packages/shared/index-management/index_management_shared_types/*" - ], + "@kbn/index-management-shared-types": ["x-pack/platform/packages/shared/index-management/index_management_shared_types"], + "@kbn/index-management-shared-types/*": ["x-pack/platform/packages/shared/index-management/index_management_shared_types/*"], "@kbn/index-patterns-test-plugin": ["test/plugin_functional/plugins/index_patterns"], "@kbn/index-patterns-test-plugin/*": ["test/plugin_functional/plugins/index_patterns/*"], - "@kbn/inference_integration_flyout": [ - "x-pack/platform/packages/private/ml/inference_integration_flyout" - ], - "@kbn/inference_integration_flyout/*": [ - "x-pack/platform/packages/private/ml/inference_integration_flyout/*" - ], + "@kbn/inference_integration_flyout": ["x-pack/platform/packages/private/ml/inference_integration_flyout"], + "@kbn/inference_integration_flyout/*": ["x-pack/platform/packages/private/ml/inference_integration_flyout/*"], "@kbn/inference-common": ["x-pack/platform/packages/shared/ai-infra/inference-common"], "@kbn/inference-common/*": ["x-pack/platform/packages/shared/ai-infra/inference-common/*"], "@kbn/inference-plugin": ["x-pack/platform/plugins/shared/inference"], @@ -1763,17 +1077,11 @@ "@kbn/inspector-plugin": ["src/plugins/inspector"], "@kbn/inspector-plugin/*": ["src/plugins/inspector/*"], "@kbn/integration-assistant-plugin": ["x-pack/platform/plugins/shared/integration_assistant"], - "@kbn/integration-assistant-plugin/*": [ - "x-pack/platform/plugins/shared/integration_assistant/*" - ], + "@kbn/integration-assistant-plugin/*": ["x-pack/platform/plugins/shared/integration_assistant/*"], "@kbn/interactive-setup-plugin": ["src/plugins/interactive_setup"], "@kbn/interactive-setup-plugin/*": ["src/plugins/interactive_setup/*"], - "@kbn/interactive-setup-test-endpoints-plugin": [ - "test/interactive_setup_api_integration/plugins/test_endpoints" - ], - "@kbn/interactive-setup-test-endpoints-plugin/*": [ - "test/interactive_setup_api_integration/plugins/test_endpoints/*" - ], + "@kbn/interactive-setup-test-endpoints-plugin": ["test/interactive_setup_api_integration/plugins/test_endpoints"], + "@kbn/interactive-setup-test-endpoints-plugin/*": ["test/interactive_setup_api_integration/plugins/test_endpoints/*"], "@kbn/interpreter": ["packages/kbn-interpreter"], "@kbn/interpreter/*": ["packages/kbn-interpreter/*"], "@kbn/inventory-e2e": ["x-pack/plugins/observability_solution/inventory/e2e"], @@ -1784,12 +1092,8 @@ "@kbn/investigate-app-plugin/*": ["x-pack/solutions/observability/plugins/investigate_app/*"], "@kbn/investigate-plugin": ["x-pack/solutions/observability/plugins/investigate"], "@kbn/investigate-plugin/*": ["x-pack/solutions/observability/plugins/investigate/*"], - "@kbn/investigation-shared": [ - "x-pack/solutions/observability/packages/kbn-investigation-shared" - ], - "@kbn/investigation-shared/*": [ - "x-pack/solutions/observability/packages/kbn-investigation-shared/*" - ], + "@kbn/investigation-shared": ["x-pack/solutions/observability/packages/kbn-investigation-shared"], + "@kbn/investigation-shared/*": ["x-pack/solutions/observability/packages/kbn-investigation-shared/*"], "@kbn/io-ts-utils": ["src/platform/packages/shared/kbn-io-ts-utils"], "@kbn/io-ts-utils/*": ["src/platform/packages/shared/kbn-io-ts-utils/*"], "@kbn/ipynb": ["packages/kbn-ipynb"], @@ -1806,26 +1110,14 @@ "@kbn/json-schemas/*": ["x-pack/platform/packages/private/ml/json_schemas/*"], "@kbn/kbn-health-gateway-status-plugin": ["test/health_gateway/plugins/status"], "@kbn/kbn-health-gateway-status-plugin/*": ["test/health_gateway/plugins/status/*"], - "@kbn/kbn-sample-panel-action-plugin": [ - "test/plugin_functional/plugins/kbn_sample_panel_action" - ], - "@kbn/kbn-sample-panel-action-plugin/*": [ - "test/plugin_functional/plugins/kbn_sample_panel_action/*" - ], + "@kbn/kbn-sample-panel-action-plugin": ["test/plugin_functional/plugins/kbn_sample_panel_action"], + "@kbn/kbn-sample-panel-action-plugin/*": ["test/plugin_functional/plugins/kbn_sample_panel_action/*"], "@kbn/kbn-top-nav-plugin": ["test/plugin_functional/plugins/kbn_top_nav"], "@kbn/kbn-top-nav-plugin/*": ["test/plugin_functional/plugins/kbn_top_nav/*"], - "@kbn/kbn-tp-custom-visualizations-plugin": [ - "test/plugin_functional/plugins/kbn_tp_custom_visualizations" - ], - "@kbn/kbn-tp-custom-visualizations-plugin/*": [ - "test/plugin_functional/plugins/kbn_tp_custom_visualizations/*" - ], - "@kbn/kbn-tp-run-pipeline-plugin": [ - "test/interpreter_functional/plugins/kbn_tp_run_pipeline" - ], - "@kbn/kbn-tp-run-pipeline-plugin/*": [ - "test/interpreter_functional/plugins/kbn_tp_run_pipeline/*" - ], + "@kbn/kbn-tp-custom-visualizations-plugin": ["test/plugin_functional/plugins/kbn_tp_custom_visualizations"], + "@kbn/kbn-tp-custom-visualizations-plugin/*": ["test/plugin_functional/plugins/kbn_tp_custom_visualizations/*"], + "@kbn/kbn-tp-run-pipeline-plugin": ["test/interpreter_functional/plugins/kbn_tp_run_pipeline"], + "@kbn/kbn-tp-run-pipeline-plugin/*": ["test/interpreter_functional/plugins/kbn_tp_run_pipeline/*"], "@kbn/kibana-cors-test-plugin": ["x-pack/test/functional_cors/plugins/kibana_cors_test"], "@kbn/kibana-cors-test-plugin/*": ["x-pack/test/functional_cors/plugins/kibana_cors_test/*"], "@kbn/kibana-manifest-schema": ["packages/kbn-kibana-manifest-schema"], @@ -1834,34 +1126,24 @@ "@kbn/kibana-overview-plugin/*": ["src/plugins/kibana_overview/*"], "@kbn/kibana-react-plugin": ["src/plugins/kibana_react"], "@kbn/kibana-react-plugin/*": ["src/plugins/kibana_react/*"], - "@kbn/kibana-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/plugins/kibana_utils"], "@kbn/kibana-utils-plugin/*": ["src/plugins/kibana_utils/*"], "@kbn/kubernetes-security-plugin": ["x-pack/solutions/security/plugins/kubernetes_security"], - "@kbn/kubernetes-security-plugin/*": [ - "x-pack/solutions/security/plugins/kubernetes_security/*" - ], + "@kbn/kubernetes-security-plugin/*": ["x-pack/solutions/security/plugins/kubernetes_security/*"], "@kbn/langchain": ["x-pack/platform/packages/shared/kbn-langchain"], "@kbn/langchain/*": ["x-pack/platform/packages/shared/kbn-langchain/*"], "@kbn/language-documentation": ["src/platform/packages/private/kbn-language-documentation"], - "@kbn/language-documentation/*": [ - "src/platform/packages/private/kbn-language-documentation/*" - ], + "@kbn/language-documentation/*": ["src/platform/packages/private/kbn-language-documentation/*"], "@kbn/lens-config-builder-example-plugin": ["x-pack/examples/lens_config_builder_example"], - "@kbn/lens-config-builder-example-plugin/*": [ - "x-pack/examples/lens_config_builder_example/*" - ], + "@kbn/lens-config-builder-example-plugin/*": ["x-pack/examples/lens_config_builder_example/*"], "@kbn/lens-embeddable-utils": ["packages/kbn-lens-embeddable-utils"], "@kbn/lens-embeddable-utils/*": ["packages/kbn-lens-embeddable-utils/*"], "@kbn/lens-formula-docs": ["packages/kbn-lens-formula-docs"], "@kbn/lens-formula-docs/*": ["packages/kbn-lens-formula-docs/*"], - "@kbn/lens-inline-editing-example-plugin": [ - "x-pack/examples/lens_embeddable_inline_editing_example" - ], - "@kbn/lens-inline-editing-example-plugin/*": [ - "x-pack/examples/lens_embeddable_inline_editing_example/*" - ], + "@kbn/lens-inline-editing-example-plugin": ["x-pack/examples/lens_embeddable_inline_editing_example"], + "@kbn/lens-inline-editing-example-plugin/*": ["x-pack/examples/lens_embeddable_inline_editing_example/*"], "@kbn/lens-plugin": ["x-pack/plugins/lens"], "@kbn/lens-plugin/*": ["x-pack/plugins/lens/*"], "@kbn/license-api-guard-plugin": ["x-pack/platform/plugins/private/license_api_guard"], @@ -1884,10 +1166,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"], @@ -1902,70 +1184,30 @@ "@kbn/managed-vscode-config/*": ["packages/kbn-managed-vscode-config/*"], "@kbn/managed-vscode-config-cli": ["packages/kbn-managed-vscode-config-cli"], "@kbn/managed-vscode-config-cli/*": ["packages/kbn-managed-vscode-config-cli/*"], - "@kbn/management-cards-navigation": [ - "src/platform/packages/shared/kbn-management/cards_navigation" - ], - "@kbn/management-cards-navigation/*": [ - "src/platform/packages/shared/kbn-management/cards_navigation/*" - ], + "@kbn/management-cards-navigation": ["src/platform/packages/shared/kbn-management/cards_navigation"], + "@kbn/management-cards-navigation/*": ["src/platform/packages/shared/kbn-management/cards_navigation/*"], "@kbn/management-plugin": ["src/platform/plugins/shared/management"], "@kbn/management-plugin/*": ["src/platform/plugins/shared/management/*"], - "@kbn/management-settings-application": [ - "src/platform/packages/private/kbn-management/settings/application" - ], - "@kbn/management-settings-application/*": [ - "src/platform/packages/private/kbn-management/settings/application/*" - ], - "@kbn/management-settings-components-field-category": [ - "src/platform/packages/private/kbn-management/settings/components/field_category" - ], - "@kbn/management-settings-components-field-category/*": [ - "src/platform/packages/private/kbn-management/settings/components/field_category/*" - ], - "@kbn/management-settings-components-field-input": [ - "src/platform/packages/shared/kbn-management/settings/components/field_input" - ], - "@kbn/management-settings-components-field-input/*": [ - "src/platform/packages/shared/kbn-management/settings/components/field_input/*" - ], - "@kbn/management-settings-components-field-row": [ - "src/platform/packages/shared/kbn-management/settings/components/field_row" - ], - "@kbn/management-settings-components-field-row/*": [ - "src/platform/packages/shared/kbn-management/settings/components/field_row/*" - ], - "@kbn/management-settings-components-form": [ - "src/platform/packages/private/kbn-management/settings/components/form" - ], - "@kbn/management-settings-components-form/*": [ - "src/platform/packages/private/kbn-management/settings/components/form/*" - ], - "@kbn/management-settings-field-definition": [ - "src/platform/packages/shared/kbn-management/settings/field_definition" - ], - "@kbn/management-settings-field-definition/*": [ - "src/platform/packages/shared/kbn-management/settings/field_definition/*" - ], + "@kbn/management-settings-application": ["src/platform/packages/private/kbn-management/settings/application"], + "@kbn/management-settings-application/*": ["src/platform/packages/private/kbn-management/settings/application/*"], + "@kbn/management-settings-components-field-category": ["src/platform/packages/private/kbn-management/settings/components/field_category"], + "@kbn/management-settings-components-field-category/*": ["src/platform/packages/private/kbn-management/settings/components/field_category/*"], + "@kbn/management-settings-components-field-input": ["src/platform/packages/shared/kbn-management/settings/components/field_input"], + "@kbn/management-settings-components-field-input/*": ["src/platform/packages/shared/kbn-management/settings/components/field_input/*"], + "@kbn/management-settings-components-field-row": ["src/platform/packages/shared/kbn-management/settings/components/field_row"], + "@kbn/management-settings-components-field-row/*": ["src/platform/packages/shared/kbn-management/settings/components/field_row/*"], + "@kbn/management-settings-components-form": ["src/platform/packages/private/kbn-management/settings/components/form"], + "@kbn/management-settings-components-form/*": ["src/platform/packages/private/kbn-management/settings/components/form/*"], + "@kbn/management-settings-field-definition": ["src/platform/packages/shared/kbn-management/settings/field_definition"], + "@kbn/management-settings-field-definition/*": ["src/platform/packages/shared/kbn-management/settings/field_definition/*"], "@kbn/management-settings-ids": ["packages/kbn-management/settings/setting_ids"], "@kbn/management-settings-ids/*": ["packages/kbn-management/settings/setting_ids/*"], - "@kbn/management-settings-section-registry": [ - "packages/kbn-management/settings/section_registry" - ], - "@kbn/management-settings-section-registry/*": [ - "packages/kbn-management/settings/section_registry/*" - ], - "@kbn/management-settings-types": [ - "src/platform/packages/shared/kbn-management/settings/types" - ], - "@kbn/management-settings-types/*": [ - "src/platform/packages/shared/kbn-management/settings/types/*" - ], - "@kbn/management-settings-utilities": [ - "src/platform/packages/shared/kbn-management/settings/utilities" - ], - "@kbn/management-settings-utilities/*": [ - "src/platform/packages/shared/kbn-management/settings/utilities/*" - ], + "@kbn/management-settings-section-registry": ["packages/kbn-management/settings/section_registry"], + "@kbn/management-settings-section-registry/*": ["packages/kbn-management/settings/section_registry/*"], + "@kbn/management-settings-types": ["src/platform/packages/shared/kbn-management/settings/types"], + "@kbn/management-settings-types/*": ["src/platform/packages/shared/kbn-management/settings/types/*"], + "@kbn/management-settings-utilities": ["src/platform/packages/shared/kbn-management/settings/utilities"], + "@kbn/management-settings-utilities/*": ["src/platform/packages/shared/kbn-management/settings/utilities/*"], "@kbn/management-storybook-config": ["packages/kbn-management/storybook/config"], "@kbn/management-storybook-config/*": ["packages/kbn-management/storybook/config/*"], "@kbn/management-test-plugin": ["test/plugin_functional/plugins/management_test_plugin"], @@ -1975,21 +1217,15 @@ "@kbn/mapbox-gl": ["packages/kbn-mapbox-gl"], "@kbn/mapbox-gl/*": ["packages/kbn-mapbox-gl/*"], "@kbn/maps-custom-raster-source-plugin": ["x-pack/examples/third_party_maps_source_example"], - "@kbn/maps-custom-raster-source-plugin/*": [ - "x-pack/examples/third_party_maps_source_example/*" - ], + "@kbn/maps-custom-raster-source-plugin/*": ["x-pack/examples/third_party_maps_source_example/*"], "@kbn/maps-ems-plugin": ["src/plugins/maps_ems"], "@kbn/maps-ems-plugin/*": ["src/plugins/maps_ems/*"], "@kbn/maps-plugin": ["x-pack/plugins/maps"], "@kbn/maps-plugin/*": ["x-pack/plugins/maps/*"], "@kbn/maps-vector-tile-utils": ["x-pack/packages/maps/vector_tile_utils"], "@kbn/maps-vector-tile-utils/*": ["x-pack/packages/maps/vector_tile_utils/*"], - "@kbn/metrics-data-access-plugin": [ - "x-pack/plugins/observability_solution/metrics_data_access" - ], - "@kbn/metrics-data-access-plugin/*": [ - "x-pack/plugins/observability_solution/metrics_data_access/*" - ], + "@kbn/metrics-data-access-plugin": ["x-pack/plugins/observability_solution/metrics_data_access"], + "@kbn/metrics-data-access-plugin/*": ["x-pack/plugins/observability_solution/metrics_data_access/*"], "@kbn/ml-agg-utils": ["x-pack/platform/packages/private/ml/agg_utils"], "@kbn/ml-agg-utils/*": ["x-pack/platform/packages/private/ml/agg_utils/*"], "@kbn/ml-anomaly-utils": ["x-pack/platform/packages/shared/ml/anomaly_utils"], @@ -2000,18 +1236,10 @@ "@kbn/ml-category-validator/*": ["x-pack/platform/packages/private/ml/category_validator/*"], "@kbn/ml-chi2test": ["x-pack/platform/packages/shared/ml/chi2test"], "@kbn/ml-chi2test/*": ["x-pack/platform/packages/shared/ml/chi2test/*"], - "@kbn/ml-creation-wizard-utils": [ - "x-pack/platform/packages/private/ml/creation_wizard_utils" - ], - "@kbn/ml-creation-wizard-utils/*": [ - "x-pack/platform/packages/private/ml/creation_wizard_utils/*" - ], - "@kbn/ml-data-frame-analytics-utils": [ - "x-pack/platform/packages/private/ml/data_frame_analytics_utils" - ], - "@kbn/ml-data-frame-analytics-utils/*": [ - "x-pack/platform/packages/private/ml/data_frame_analytics_utils/*" - ], + "@kbn/ml-creation-wizard-utils": ["x-pack/platform/packages/private/ml/creation_wizard_utils"], + "@kbn/ml-creation-wizard-utils/*": ["x-pack/platform/packages/private/ml/creation_wizard_utils/*"], + "@kbn/ml-data-frame-analytics-utils": ["x-pack/platform/packages/private/ml/data_frame_analytics_utils"], + "@kbn/ml-data-frame-analytics-utils/*": ["x-pack/platform/packages/private/ml/data_frame_analytics_utils/*"], "@kbn/ml-data-grid": ["x-pack/platform/packages/private/ml/data_grid"], "@kbn/ml-data-grid/*": ["x-pack/platform/packages/private/ml/data_grid/*"], "@kbn/ml-data-view-utils": ["x-pack/platform/packages/private/ml/data_view_utils"], @@ -2029,9 +1257,7 @@ "@kbn/ml-is-defined": ["x-pack/platform/packages/private/ml/is_defined"], "@kbn/ml-is-defined/*": ["x-pack/platform/packages/private/ml/is_defined/*"], "@kbn/ml-is-populated-object": ["x-pack/platform/packages/private/ml/is_populated_object"], - "@kbn/ml-is-populated-object/*": [ - "x-pack/platform/packages/private/ml/is_populated_object/*" - ], + "@kbn/ml-is-populated-object/*": ["x-pack/platform/packages/private/ml/is_populated_object/*"], "@kbn/ml-kibana-theme": ["x-pack/platform/packages/private/ml/kibana_theme"], "@kbn/ml-kibana-theme/*": ["x-pack/platform/packages/private/ml/kibana_theme/*"], "@kbn/ml-local-storage": ["x-pack/platform/packages/private/ml/local_storage"], @@ -2047,9 +1273,7 @@ "@kbn/ml-query-utils": ["x-pack/platform/packages/private/ml/query_utils"], "@kbn/ml-query-utils/*": ["x-pack/platform/packages/private/ml/query_utils/*"], "@kbn/ml-random-sampler-utils": ["x-pack/platform/packages/shared/ml/random_sampler_utils"], - "@kbn/ml-random-sampler-utils/*": [ - "x-pack/platform/packages/shared/ml/random_sampler_utils/*" - ], + "@kbn/ml-random-sampler-utils/*": ["x-pack/platform/packages/shared/ml/random_sampler_utils/*"], "@kbn/ml-response-stream": ["x-pack/platform/packages/shared/ml/response_stream"], "@kbn/ml-response-stream/*": ["x-pack/platform/packages/shared/ml/response_stream/*"], "@kbn/ml-route-utils": ["x-pack/platform/packages/private/ml/route_utils"], @@ -2061,9 +1285,7 @@ "@kbn/ml-time-buckets": ["x-pack/platform/packages/private/ml/time_buckets"], "@kbn/ml-time-buckets/*": ["x-pack/platform/packages/private/ml/time_buckets/*"], "@kbn/ml-trained-models-utils": ["x-pack/platform/packages/shared/ml/trained_models_utils"], - "@kbn/ml-trained-models-utils/*": [ - "x-pack/platform/packages/shared/ml/trained_models_utils/*" - ], + "@kbn/ml-trained-models-utils/*": ["x-pack/platform/packages/shared/ml/trained_models_utils/*"], "@kbn/ml-ui-actions": ["x-pack/platform/packages/private/ml/ui_actions"], "@kbn/ml-ui-actions/*": ["x-pack/platform/packages/private/ml/ui_actions/*"], "@kbn/ml-url-state": ["x-pack/platform/packages/private/ml/url_state"], @@ -2094,124 +1316,48 @@ "@kbn/object-versioning/*": ["packages/kbn-object-versioning/*"], "@kbn/object-versioning-utils": ["packages/kbn-object-versioning-utils"], "@kbn/object-versioning-utils/*": ["packages/kbn-object-versioning-utils/*"], - "@kbn/observability-ai-assistant-app-plugin": [ - "x-pack/solutions/observability/plugins/observability_ai_assistant_app" - ], - "@kbn/observability-ai-assistant-app-plugin/*": [ - "x-pack/solutions/observability/plugins/observability_ai_assistant_app/*" - ], - "@kbn/observability-ai-assistant-management-plugin": [ - "x-pack/solutions/observability/plugins/observability_ai_assistant_management" - ], - "@kbn/observability-ai-assistant-management-plugin/*": [ - "x-pack/solutions/observability/plugins/observability_ai_assistant_management/*" - ], - "@kbn/observability-ai-assistant-plugin": [ - "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant" - ], - "@kbn/observability-ai-assistant-plugin/*": [ - "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/*" - ], - "@kbn/observability-ai-common": [ - "x-pack/solutions/observability/packages/observability_ai/observability_ai_common" - ], - "@kbn/observability-ai-common/*": [ - "x-pack/solutions/observability/packages/observability_ai/observability_ai_common/*" - ], - "@kbn/observability-ai-server": [ - "x-pack/solutions/observability/packages/observability_ai/observability_ai_server" - ], - "@kbn/observability-ai-server/*": [ - "x-pack/solutions/observability/packages/observability_ai/observability_ai_server/*" - ], + "@kbn/observability-ai-assistant-app-plugin": ["x-pack/solutions/observability/plugins/observability_ai_assistant_app"], + "@kbn/observability-ai-assistant-app-plugin/*": ["x-pack/solutions/observability/plugins/observability_ai_assistant_app/*"], + "@kbn/observability-ai-assistant-management-plugin": ["x-pack/solutions/observability/plugins/observability_ai_assistant_management"], + "@kbn/observability-ai-assistant-management-plugin/*": ["x-pack/solutions/observability/plugins/observability_ai_assistant_management/*"], + "@kbn/observability-ai-assistant-plugin": ["x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant"], + "@kbn/observability-ai-assistant-plugin/*": ["x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/*"], + "@kbn/observability-ai-common": ["x-pack/solutions/observability/packages/observability_ai/observability_ai_common"], + "@kbn/observability-ai-common/*": ["x-pack/solutions/observability/packages/observability_ai/observability_ai_common/*"], + "@kbn/observability-ai-server": ["x-pack/solutions/observability/packages/observability_ai/observability_ai_server"], + "@kbn/observability-ai-server/*": ["x-pack/solutions/observability/packages/observability_ai/observability_ai_server/*"], "@kbn/observability-alert-details": ["x-pack/solutions/observability/packages/alert_details"], - "@kbn/observability-alert-details/*": [ - "x-pack/solutions/observability/packages/alert_details/*" - ], - "@kbn/observability-alerting-rule-utils": [ - "x-pack/platform/packages/shared/observability/alerting_rule_utils" - ], - "@kbn/observability-alerting-rule-utils/*": [ - "x-pack/platform/packages/shared/observability/alerting_rule_utils/*" - ], - "@kbn/observability-alerting-test-data": [ - "x-pack/solutions/observability/packages/alerting_test_data" - ], - "@kbn/observability-alerting-test-data/*": [ - "x-pack/solutions/observability/packages/alerting_test_data/*" - ], - "@kbn/observability-fixtures-plugin": [ - "x-pack/test/cases_api_integration/common/plugins/observability" - ], - "@kbn/observability-fixtures-plugin/*": [ - "x-pack/test/cases_api_integration/common/plugins/observability/*" - ], - "@kbn/observability-get-padded-alert-time-range-util": [ - "x-pack/solutions/observability/packages/get_padded_alert_time_range_util" - ], - "@kbn/observability-get-padded-alert-time-range-util/*": [ - "x-pack/solutions/observability/packages/get_padded_alert_time_range_util/*" - ], - "@kbn/observability-logs-explorer-plugin": [ - "x-pack/solutions/observability/plugins/observability_logs_explorer" - ], - "@kbn/observability-logs-explorer-plugin/*": [ - "x-pack/solutions/observability/plugins/observability_logs_explorer/*" - ], - "@kbn/observability-logs-overview": [ - "x-pack/platform/packages/shared/observability/logs_overview" - ], - "@kbn/observability-logs-overview/*": [ - "x-pack/platform/packages/shared/observability/logs_overview/*" - ], - "@kbn/observability-onboarding-e2e": [ - "x-pack/solutions/observability/plugins/observability_onboarding/e2e" - ], - "@kbn/observability-onboarding-e2e/*": [ - "x-pack/solutions/observability/plugins/observability_onboarding/e2e/*" - ], - "@kbn/observability-onboarding-plugin": [ - "x-pack/solutions/observability/plugins/observability_onboarding" - ], - "@kbn/observability-onboarding-plugin/*": [ - "x-pack/solutions/observability/plugins/observability_onboarding/*" - ], + "@kbn/observability-alert-details/*": ["x-pack/solutions/observability/packages/alert_details/*"], + "@kbn/observability-alerting-rule-utils": ["x-pack/platform/packages/shared/observability/alerting_rule_utils"], + "@kbn/observability-alerting-rule-utils/*": ["x-pack/platform/packages/shared/observability/alerting_rule_utils/*"], + "@kbn/observability-alerting-test-data": ["x-pack/solutions/observability/packages/alerting_test_data"], + "@kbn/observability-alerting-test-data/*": ["x-pack/solutions/observability/packages/alerting_test_data/*"], + "@kbn/observability-fixtures-plugin": ["x-pack/test/cases_api_integration/common/plugins/observability"], + "@kbn/observability-fixtures-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/observability/*"], + "@kbn/observability-get-padded-alert-time-range-util": ["x-pack/solutions/observability/packages/get_padded_alert_time_range_util"], + "@kbn/observability-get-padded-alert-time-range-util/*": ["x-pack/solutions/observability/packages/get_padded_alert_time_range_util/*"], + "@kbn/observability-logs-explorer-plugin": ["x-pack/solutions/observability/plugins/observability_logs_explorer"], + "@kbn/observability-logs-explorer-plugin/*": ["x-pack/solutions/observability/plugins/observability_logs_explorer/*"], + "@kbn/observability-logs-overview": ["x-pack/platform/packages/shared/observability/logs_overview"], + "@kbn/observability-logs-overview/*": ["x-pack/platform/packages/shared/observability/logs_overview/*"], + "@kbn/observability-onboarding-e2e": ["x-pack/solutions/observability/plugins/observability_onboarding/e2e"], + "@kbn/observability-onboarding-e2e/*": ["x-pack/solutions/observability/plugins/observability_onboarding/e2e/*"], + "@kbn/observability-onboarding-plugin": ["x-pack/solutions/observability/plugins/observability_onboarding"], + "@kbn/observability-onboarding-plugin/*": ["x-pack/solutions/observability/plugins/observability_onboarding/*"], "@kbn/observability-plugin": ["x-pack/solutions/observability/plugins/observability"], "@kbn/observability-plugin/*": ["x-pack/solutions/observability/plugins/observability/*"], - "@kbn/observability-shared-plugin": [ - "x-pack/plugins/observability_solution/observability_shared" - ], - "@kbn/observability-shared-plugin/*": [ - "x-pack/plugins/observability_solution/observability_shared/*" - ], - "@kbn/observability-synthetics-test-data": [ - "x-pack/solutions/observability/packages/synthetics_test_data" - ], - "@kbn/observability-synthetics-test-data/*": [ - "x-pack/solutions/observability/packages/synthetics_test_data/*" - ], - "@kbn/observability-utils-browser": [ - "x-pack/packages/observability/observability_utils/observability_utils_browser" - ], - "@kbn/observability-utils-browser/*": [ - "x-pack/packages/observability/observability_utils/observability_utils_browser/*" - ], - "@kbn/observability-utils-common": [ - "x-pack/packages/observability/observability_utils/observability_utils_common" - ], - "@kbn/observability-utils-common/*": [ - "x-pack/packages/observability/observability_utils/observability_utils_common/*" - ], - "@kbn/observability-utils-server": [ - "x-pack/packages/observability/observability_utils/observability_utils_server" - ], - "@kbn/observability-utils-server/*": [ - "x-pack/packages/observability/observability_utils/observability_utils_server/*" - ], + "@kbn/observability-shared-plugin": ["x-pack/plugins/observability_solution/observability_shared"], + "@kbn/observability-shared-plugin/*": ["x-pack/plugins/observability_solution/observability_shared/*"], + "@kbn/observability-synthetics-test-data": ["x-pack/solutions/observability/packages/synthetics_test_data"], + "@kbn/observability-synthetics-test-data/*": ["x-pack/solutions/observability/packages/synthetics_test_data/*"], + "@kbn/observability-utils-browser": ["x-pack/packages/observability/observability_utils/observability_utils_browser"], + "@kbn/observability-utils-browser/*": ["x-pack/packages/observability/observability_utils/observability_utils_browser/*"], + "@kbn/observability-utils-common": ["x-pack/packages/observability/observability_utils/observability_utils_common"], + "@kbn/observability-utils-common/*": ["x-pack/packages/observability/observability_utils/observability_utils_common/*"], + "@kbn/observability-utils-server": ["x-pack/packages/observability/observability_utils/observability_utils_server"], + "@kbn/observability-utils-server/*": ["x-pack/packages/observability/observability_utils/observability_utils_server/*"], "@kbn/oidc-provider-plugin": ["x-pack/test/security_api_integration/plugins/oidc_provider"], - "@kbn/oidc-provider-plugin/*": [ - "x-pack/test/security_api_integration/plugins/oidc_provider/*" - ], + "@kbn/oidc-provider-plugin/*": ["x-pack/test/security_api_integration/plugins/oidc_provider/*"], "@kbn/open-telemetry-instrumented-plugin": ["test/common/plugins/otel_metrics"], "@kbn/open-telemetry-instrumented-plugin/*": ["test/common/plugins/otel_metrics/*"], "@kbn/openapi-bundler": ["packages/kbn-openapi-bundler"], @@ -2240,12 +1386,8 @@ "@kbn/peggy/*": ["packages/kbn-peggy/*"], "@kbn/peggy-loader": ["packages/kbn-peggy-loader"], "@kbn/peggy-loader/*": ["packages/kbn-peggy-loader/*"], - "@kbn/performance-testing-dataset-extractor": [ - "packages/kbn-performance-testing-dataset-extractor" - ], - "@kbn/performance-testing-dataset-extractor/*": [ - "packages/kbn-performance-testing-dataset-extractor/*" - ], + "@kbn/performance-testing-dataset-extractor": ["packages/kbn-performance-testing-dataset-extractor"], + "@kbn/performance-testing-dataset-extractor/*": ["packages/kbn-performance-testing-dataset-extractor/*"], "@kbn/picomatcher": ["packages/kbn-picomatcher"], "@kbn/picomatcher/*": ["packages/kbn-picomatcher/*"], "@kbn/plugin-check": ["packages/kbn-plugin-check"], @@ -2266,26 +1408,14 @@ "@kbn/presentation-publishing/*": ["packages/presentation/presentation_publishing/*"], "@kbn/presentation-util-plugin": ["src/plugins/presentation_util"], "@kbn/presentation-util-plugin/*": ["src/plugins/presentation_util/*"], - "@kbn/product-doc-artifact-builder": [ - "x-pack/packages/ai-infra/product-doc-artifact-builder" - ], - "@kbn/product-doc-artifact-builder/*": [ - "x-pack/packages/ai-infra/product-doc-artifact-builder/*" - ], + "@kbn/product-doc-artifact-builder": ["x-pack/packages/ai-infra/product-doc-artifact-builder"], + "@kbn/product-doc-artifact-builder/*": ["x-pack/packages/ai-infra/product-doc-artifact-builder/*"], "@kbn/product-doc-base-plugin": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base"], - "@kbn/product-doc-base-plugin/*": [ - "x-pack/platform/plugins/shared/ai_infra/product_doc_base/*" - ], + "@kbn/product-doc-base-plugin/*": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base/*"], "@kbn/product-doc-common": ["x-pack/platform/packages/shared/ai-infra/product-doc-common"], - "@kbn/product-doc-common/*": [ - "x-pack/platform/packages/shared/ai-infra/product-doc-common/*" - ], - "@kbn/profiling-data-access-plugin": [ - "x-pack/plugins/observability_solution/profiling_data_access" - ], - "@kbn/profiling-data-access-plugin/*": [ - "x-pack/plugins/observability_solution/profiling_data_access/*" - ], + "@kbn/product-doc-common/*": ["x-pack/platform/packages/shared/ai-infra/product-doc-common/*"], + "@kbn/profiling-data-access-plugin": ["x-pack/plugins/observability_solution/profiling_data_access"], + "@kbn/profiling-data-access-plugin/*": ["x-pack/plugins/observability_solution/profiling_data_access/*"], "@kbn/profiling-plugin": ["x-pack/plugins/observability_solution/profiling"], "@kbn/profiling-plugin/*": ["x-pack/plugins/observability_solution/profiling/*"], "@kbn/profiling-utils": ["packages/kbn-profiling-utils"], @@ -2339,21 +1469,15 @@ "@kbn/reporting-export-types-csv": ["packages/kbn-reporting/export_types/csv"], "@kbn/reporting-export-types-csv/*": ["packages/kbn-reporting/export_types/csv/*"], "@kbn/reporting-export-types-csv-common": ["packages/kbn-reporting/export_types/csv_common"], - "@kbn/reporting-export-types-csv-common/*": [ - "packages/kbn-reporting/export_types/csv_common/*" - ], + "@kbn/reporting-export-types-csv-common/*": ["packages/kbn-reporting/export_types/csv_common/*"], "@kbn/reporting-export-types-pdf": ["packages/kbn-reporting/export_types/pdf"], "@kbn/reporting-export-types-pdf/*": ["packages/kbn-reporting/export_types/pdf/*"], "@kbn/reporting-export-types-pdf-common": ["packages/kbn-reporting/export_types/pdf_common"], - "@kbn/reporting-export-types-pdf-common/*": [ - "packages/kbn-reporting/export_types/pdf_common/*" - ], + "@kbn/reporting-export-types-pdf-common/*": ["packages/kbn-reporting/export_types/pdf_common/*"], "@kbn/reporting-export-types-png": ["packages/kbn-reporting/export_types/png"], "@kbn/reporting-export-types-png/*": ["packages/kbn-reporting/export_types/png/*"], "@kbn/reporting-export-types-png-common": ["packages/kbn-reporting/export_types/png_common"], - "@kbn/reporting-export-types-png-common/*": [ - "packages/kbn-reporting/export_types/png_common/*" - ], + "@kbn/reporting-export-types-png-common/*": ["packages/kbn-reporting/export_types/png_common/*"], "@kbn/reporting-mocks-server": ["packages/kbn-reporting/mocks_server"], "@kbn/reporting-mocks-server/*": ["packages/kbn-reporting/mocks_server/*"], "@kbn/reporting-plugin": ["x-pack/plugins/reporting"], @@ -2384,10 +1508,6 @@ "@kbn/rollup-plugin/*": ["x-pack/platform/plugins/private/rollup/*"], "@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": ["packages/kbn-router-utils"], - "@kbn/router-utils/*": ["packages/kbn-router-utils/*"], - "@kbn/router-to-openapispec": ["packages/kbn-router-to-openapispec"], - "@kbn/router-to-openapispec/*": ["packages/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"], @@ -2403,53 +1523,25 @@ "@kbn/safer-lodash-set": ["packages/kbn-safer-lodash-set"], "@kbn/safer-lodash-set/*": ["packages/kbn-safer-lodash-set/*"], "@kbn/saml-provider-plugin": ["x-pack/test/security_api_integration/plugins/saml_provider"], - "@kbn/saml-provider-plugin/*": [ - "x-pack/test/security_api_integration/plugins/saml_provider/*" - ], + "@kbn/saml-provider-plugin/*": ["x-pack/test/security_api_integration/plugins/saml_provider/*"], "@kbn/sample-task-plugin": ["x-pack/test/plugin_api_integration/plugins/sample_task_plugin"], - "@kbn/sample-task-plugin/*": [ - "x-pack/test/plugin_api_integration/plugins/sample_task_plugin/*" - ], - "@kbn/sample-task-plugin-update-by-query": [ - "x-pack/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget" - ], - "@kbn/sample-task-plugin-update-by-query/*": [ - "x-pack/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget/*" - ], - "@kbn/saved-object-export-transforms-plugin": [ - "test/plugin_functional/plugins/saved_object_export_transforms" - ], - "@kbn/saved-object-export-transforms-plugin/*": [ - "test/plugin_functional/plugins/saved_object_export_transforms/*" - ], - "@kbn/saved-object-import-warnings-plugin": [ - "test/plugin_functional/plugins/saved_object_import_warnings" - ], - "@kbn/saved-object-import-warnings-plugin/*": [ - "test/plugin_functional/plugins/saved_object_import_warnings/*" - ], - "@kbn/saved-object-test-plugin": [ - "x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin" - ], - "@kbn/saved-object-test-plugin/*": [ - "x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin/*" - ], + "@kbn/sample-task-plugin/*": ["x-pack/test/plugin_api_integration/plugins/sample_task_plugin/*"], + "@kbn/sample-task-plugin-update-by-query": ["x-pack/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget"], + "@kbn/sample-task-plugin-update-by-query/*": ["x-pack/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget/*"], + "@kbn/saved-object-export-transforms-plugin": ["test/plugin_functional/plugins/saved_object_export_transforms"], + "@kbn/saved-object-export-transforms-plugin/*": ["test/plugin_functional/plugins/saved_object_export_transforms/*"], + "@kbn/saved-object-import-warnings-plugin": ["test/plugin_functional/plugins/saved_object_import_warnings"], + "@kbn/saved-object-import-warnings-plugin/*": ["test/plugin_functional/plugins/saved_object_import_warnings/*"], + "@kbn/saved-object-test-plugin": ["x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin"], + "@kbn/saved-object-test-plugin/*": ["x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin/*"], "@kbn/saved-objects-finder-plugin": ["src/plugins/saved_objects_finder"], "@kbn/saved-objects-finder-plugin/*": ["src/plugins/saved_objects_finder/*"], - "@kbn/saved-objects-hidden-from-http-apis-type-plugin": [ - "test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type" - ], - "@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-hidden-from-http-apis-type-plugin": ["test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type"], + "@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/platform/plugins/shared/saved_objects_management"], + "@kbn/saved-objects-management-plugin/*": ["src/platform/plugins/shared/saved_objects_management/*"], "@kbn/saved-objects-plugin": ["src/plugins/saved_objects"], "@kbn/saved-objects-plugin/*": ["src/plugins/saved_objects/*"], "@kbn/saved-objects-settings": ["packages/kbn-saved-objects-settings"], @@ -2516,22 +1608,14 @@ "@kbn/search-types/*": ["packages/kbn-search-types/*"], "@kbn/searchprofiler-plugin": ["x-pack/platform/plugins/shared/searchprofiler"], "@kbn/searchprofiler-plugin/*": ["x-pack/platform/plugins/shared/searchprofiler/*"], - "@kbn/security-api-integration-helpers": [ - "x-pack/test/security_api_integration/packages/helpers" - ], - "@kbn/security-api-integration-helpers/*": [ - "x-pack/test/security_api_integration/packages/helpers/*" - ], + "@kbn/security-api-integration-helpers": ["x-pack/test/security_api_integration/packages/helpers"], + "@kbn/security-api-integration-helpers/*": ["x-pack/test/security_api_integration/packages/helpers/*"], "@kbn/security-api-key-management": ["x-pack/packages/security/api_key_management"], "@kbn/security-api-key-management/*": ["x-pack/packages/security/api_key_management/*"], "@kbn/security-authorization-core": ["x-pack/packages/security/authorization_core"], "@kbn/security-authorization-core/*": ["x-pack/packages/security/authorization_core/*"], - "@kbn/security-authorization-core-common": [ - "x-pack/packages/security/authorization_core_common" - ], - "@kbn/security-authorization-core-common/*": [ - "x-pack/packages/security/authorization_core_common/*" - ], + "@kbn/security-authorization-core-common": ["x-pack/packages/security/authorization_core_common"], + "@kbn/security-authorization-core-common/*": ["x-pack/packages/security/authorization_core_common/*"], "@kbn/security-form-components": ["x-pack/packages/security/form_components"], "@kbn/security-form-components/*": ["x-pack/packages/security/form_components/*"], "@kbn/security-hardening": ["packages/kbn-security-hardening"], @@ -2546,214 +1630,100 @@ "@kbn/security-plugin-types-server/*": ["x-pack/packages/security/plugin_types_server/*"], "@kbn/security-role-management-model": ["x-pack/packages/security/role_management_model"], "@kbn/security-role-management-model/*": ["x-pack/packages/security/role_management_model/*"], - "@kbn/security-solution-distribution-bar": [ - "x-pack/solutions/security/packages/distribution_bar" - ], - "@kbn/security-solution-distribution-bar/*": [ - "x-pack/solutions/security/packages/distribution_bar/*" - ], + "@kbn/security-solution-distribution-bar": ["x-pack/solutions/security/packages/distribution_bar"], + "@kbn/security-solution-distribution-bar/*": ["x-pack/solutions/security/packages/distribution_bar/*"], "@kbn/security-solution-ess": ["x-pack/solutions/security/plugins/security_solution_ess"], "@kbn/security-solution-ess/*": ["x-pack/solutions/security/plugins/security_solution_ess/*"], "@kbn/security-solution-features": ["x-pack/solutions/security/packages/features"], "@kbn/security-solution-features/*": ["x-pack/solutions/security/packages/features/*"], - "@kbn/security-solution-fixtures-plugin": [ - "x-pack/test/cases_api_integration/common/plugins/security_solution" - ], - "@kbn/security-solution-fixtures-plugin/*": [ - "x-pack/test/cases_api_integration/common/plugins/security_solution/*" - ], + "@kbn/security-solution-fixtures-plugin": ["x-pack/test/cases_api_integration/common/plugins/security_solution"], + "@kbn/security-solution-fixtures-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/security_solution/*"], "@kbn/security-solution-navigation": ["x-pack/solutions/security/packages/navigation"], "@kbn/security-solution-navigation/*": ["x-pack/solutions/security/packages/navigation/*"], "@kbn/security-solution-plugin": ["x-pack/solutions/security/plugins/security_solution"], "@kbn/security-solution-plugin/*": ["x-pack/solutions/security/plugins/security_solution/*"], - "@kbn/security-solution-serverless": [ - "x-pack/solutions/security/plugins/security_solution_serverless" - ], - "@kbn/security-solution-serverless/*": [ - "x-pack/solutions/security/plugins/security_solution_serverless/*" - ], + "@kbn/security-solution-serverless": ["x-pack/solutions/security/plugins/security_solution_serverless"], + "@kbn/security-solution-serverless/*": ["x-pack/solutions/security/plugins/security_solution_serverless/*"], "@kbn/security-solution-side-nav": ["x-pack/solutions/security/packages/side_nav"], "@kbn/security-solution-side-nav/*": ["x-pack/solutions/security/packages/side_nav/*"], - "@kbn/security-solution-storybook-config": [ - "x-pack/solutions/security/packages/storybook/config" - ], - "@kbn/security-solution-storybook-config/*": [ - "x-pack/solutions/security/packages/storybook/config/*" - ], + "@kbn/security-solution-storybook-config": ["x-pack/solutions/security/packages/storybook/config"], + "@kbn/security-solution-storybook-config/*": ["x-pack/solutions/security/packages/storybook/config/*"], "@kbn/security-solution-upselling": ["x-pack/solutions/security/packages/upselling"], "@kbn/security-solution-upselling/*": ["x-pack/solutions/security/packages/upselling/*"], - "@kbn/security-test-endpoints-plugin": [ - "x-pack/test/security_functional/plugins/test_endpoints" - ], - "@kbn/security-test-endpoints-plugin/*": [ - "x-pack/test/security_functional/plugins/test_endpoints/*" - ], + "@kbn/security-test-endpoints-plugin": ["x-pack/test/security_functional/plugins/test_endpoints"], + "@kbn/security-test-endpoints-plugin/*": ["x-pack/test/security_functional/plugins/test_endpoints/*"], "@kbn/security-ui-components": ["x-pack/packages/security/ui_components"], "@kbn/security-ui-components/*": ["x-pack/packages/security/ui_components/*"], - "@kbn/securitysolution-autocomplete": [ - "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete" - ], - "@kbn/securitysolution-autocomplete/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/*" - ], + "@kbn/securitysolution-autocomplete": ["x-pack/solutions/security/packages/kbn-securitysolution-autocomplete"], + "@kbn/securitysolution-autocomplete/*": ["x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/*"], "@kbn/securitysolution-data-table": ["x-pack/solutions/security/packages/data_table"], "@kbn/securitysolution-data-table/*": ["x-pack/solutions/security/packages/data_table/*"], "@kbn/securitysolution-ecs": ["src/platform/packages/shared/kbn-securitysolution-ecs"], "@kbn/securitysolution-ecs/*": ["src/platform/packages/shared/kbn-securitysolution-ecs/*"], - "@kbn/securitysolution-endpoint-exceptions-common": [ - "x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common" - ], - "@kbn/securitysolution-endpoint-exceptions-common/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/*" - ], - "@kbn/securitysolution-es-utils": [ - "src/platform/packages/shared/kbn-securitysolution-es-utils" - ], - "@kbn/securitysolution-es-utils/*": [ - "src/platform/packages/shared/kbn-securitysolution-es-utils/*" - ], - "@kbn/securitysolution-exception-list-components": [ - "x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components" - ], - "@kbn/securitysolution-exception-list-components/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/*" - ], - "@kbn/securitysolution-exceptions-common": [ - "x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common" - ], - "@kbn/securitysolution-exceptions-common/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/*" - ], - "@kbn/securitysolution-hook-utils": [ - "x-pack/solutions/security/packages/kbn-securitysolution-hook-utils" - ], - "@kbn/securitysolution-hook-utils/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/*" - ], - "@kbn/securitysolution-io-ts-alerting-types": [ - "x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types" - ], - "@kbn/securitysolution-io-ts-alerting-types/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/*" - ], - "@kbn/securitysolution-io-ts-list-types": [ - "x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types" - ], - "@kbn/securitysolution-io-ts-list-types/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/*" - ], - "@kbn/securitysolution-io-ts-types": [ - "src/platform/packages/shared/kbn-securitysolution-io-ts-types" - ], - "@kbn/securitysolution-io-ts-types/*": [ - "src/platform/packages/shared/kbn-securitysolution-io-ts-types/*" - ], - "@kbn/securitysolution-io-ts-utils": [ - "src/platform/packages/shared/kbn-securitysolution-io-ts-utils" - ], - "@kbn/securitysolution-io-ts-utils/*": [ - "src/platform/packages/shared/kbn-securitysolution-io-ts-utils/*" - ], - "@kbn/securitysolution-list-api": [ - "x-pack/solutions/security/packages/kbn-securitysolution-list-api" - ], - "@kbn/securitysolution-list-api/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-list-api/*" - ], - "@kbn/securitysolution-list-constants": [ - "x-pack/solutions/security/packages/kbn-securitysolution-list-constants" - ], - "@kbn/securitysolution-list-constants/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-list-constants/*" - ], - "@kbn/securitysolution-list-hooks": [ - "x-pack/solutions/security/packages/kbn-securitysolution-list-hooks" - ], - "@kbn/securitysolution-list-hooks/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/*" - ], - "@kbn/securitysolution-list-utils": [ - "x-pack/solutions/security/packages/kbn-securitysolution-list-utils" - ], - "@kbn/securitysolution-list-utils/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-list-utils/*" - ], - "@kbn/securitysolution-lists-common": [ - "x-pack/solutions/security/packages/kbn-securitysolution-lists-common" - ], - "@kbn/securitysolution-lists-common/*": [ - "x-pack/solutions/security/packages/kbn-securitysolution-lists-common/*" - ], + "@kbn/securitysolution-endpoint-exceptions-common": ["x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common"], + "@kbn/securitysolution-endpoint-exceptions-common/*": ["x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/*"], + "@kbn/securitysolution-es-utils": ["src/platform/packages/shared/kbn-securitysolution-es-utils"], + "@kbn/securitysolution-es-utils/*": ["src/platform/packages/shared/kbn-securitysolution-es-utils/*"], + "@kbn/securitysolution-exception-list-components": ["x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components"], + "@kbn/securitysolution-exception-list-components/*": ["x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/*"], + "@kbn/securitysolution-exceptions-common": ["x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common"], + "@kbn/securitysolution-exceptions-common/*": ["x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/*"], + "@kbn/securitysolution-hook-utils": ["x-pack/solutions/security/packages/kbn-securitysolution-hook-utils"], + "@kbn/securitysolution-hook-utils/*": ["x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/*"], + "@kbn/securitysolution-io-ts-alerting-types": ["x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types"], + "@kbn/securitysolution-io-ts-alerting-types/*": ["x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/*"], + "@kbn/securitysolution-io-ts-list-types": ["x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types"], + "@kbn/securitysolution-io-ts-list-types/*": ["x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/*"], + "@kbn/securitysolution-io-ts-types": ["src/platform/packages/shared/kbn-securitysolution-io-ts-types"], + "@kbn/securitysolution-io-ts-types/*": ["src/platform/packages/shared/kbn-securitysolution-io-ts-types/*"], + "@kbn/securitysolution-io-ts-utils": ["src/platform/packages/shared/kbn-securitysolution-io-ts-utils"], + "@kbn/securitysolution-io-ts-utils/*": ["src/platform/packages/shared/kbn-securitysolution-io-ts-utils/*"], + "@kbn/securitysolution-list-api": ["x-pack/solutions/security/packages/kbn-securitysolution-list-api"], + "@kbn/securitysolution-list-api/*": ["x-pack/solutions/security/packages/kbn-securitysolution-list-api/*"], + "@kbn/securitysolution-list-constants": ["x-pack/solutions/security/packages/kbn-securitysolution-list-constants"], + "@kbn/securitysolution-list-constants/*": ["x-pack/solutions/security/packages/kbn-securitysolution-list-constants/*"], + "@kbn/securitysolution-list-hooks": ["x-pack/solutions/security/packages/kbn-securitysolution-list-hooks"], + "@kbn/securitysolution-list-hooks/*": ["x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/*"], + "@kbn/securitysolution-list-utils": ["x-pack/solutions/security/packages/kbn-securitysolution-list-utils"], + "@kbn/securitysolution-list-utils/*": ["x-pack/solutions/security/packages/kbn-securitysolution-list-utils/*"], + "@kbn/securitysolution-lists-common": ["x-pack/solutions/security/packages/kbn-securitysolution-lists-common"], + "@kbn/securitysolution-lists-common/*": ["x-pack/solutions/security/packages/kbn-securitysolution-lists-common/*"], "@kbn/securitysolution-rules": ["src/platform/packages/shared/kbn-securitysolution-rules"], - "@kbn/securitysolution-rules/*": [ - "src/platform/packages/shared/kbn-securitysolution-rules/*" - ], - "@kbn/securitysolution-t-grid": [ - "x-pack/solutions/security/packages/kbn-securitysolution-t-grid" - ], - "@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/securitysolution-rules/*": ["src/platform/packages/shared/kbn-securitysolution-rules/*"], + "@kbn/securitysolution-t-grid": ["x-pack/solutions/security/packages/kbn-securitysolution-t-grid"], + "@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": ["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" - ], - "@kbn/server-route-repository-client/*": [ - "src/platform/packages/shared/kbn-server-route-repository-client/*" - ], - "@kbn/server-route-repository-utils": [ - "src/platform/packages/shared/kbn-server-route-repository-utils" - ], - "@kbn/server-route-repository-utils/*": [ - "src/platform/packages/shared/kbn-server-route-repository-utils/*" - ], + "@kbn/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"], + "@kbn/server-route-repository-client/*": ["src/platform/packages/shared/kbn-server-route-repository-client/*"], + "@kbn/server-route-repository-utils": ["src/platform/packages/shared/kbn-server-route-repository-utils"], + "@kbn/server-route-repository-utils/*": ["src/platform/packages/shared/kbn-server-route-repository-utils/*"], "@kbn/serverless": ["x-pack/plugins/serverless"], "@kbn/serverless/*": ["x-pack/plugins/serverless/*"], "@kbn/serverless-common-settings": ["packages/serverless/settings/common"], "@kbn/serverless-common-settings/*": ["packages/serverless/settings/common/*"], - "@kbn/serverless-observability": [ - "x-pack/solutions/observability/plugins/serverless_observability" - ], - "@kbn/serverless-observability/*": [ - "x-pack/solutions/observability/plugins/serverless_observability/*" - ], - "@kbn/serverless-observability-settings": [ - "packages/serverless/settings/observability_project" - ], - "@kbn/serverless-observability-settings/*": [ - "packages/serverless/settings/observability_project/*" - ], + "@kbn/serverless-observability": ["x-pack/solutions/observability/plugins/serverless_observability"], + "@kbn/serverless-observability/*": ["x-pack/solutions/observability/plugins/serverless_observability/*"], + "@kbn/serverless-observability-settings": ["packages/serverless/settings/observability_project"], + "@kbn/serverless-observability-settings/*": ["packages/serverless/settings/observability_project/*"], "@kbn/serverless-project-switcher": ["packages/serverless/project_switcher"], "@kbn/serverless-project-switcher/*": ["packages/serverless/project_switcher/*"], "@kbn/serverless-search": ["x-pack/plugins/serverless_search"], "@kbn/serverless-search/*": ["x-pack/plugins/serverless_search/*"], "@kbn/serverless-search-settings": ["packages/serverless/settings/search_project"], "@kbn/serverless-search-settings/*": ["packages/serverless/settings/search_project/*"], - "@kbn/serverless-security-settings": [ - "src/platform/packages/shared/serverless/settings/security_project" - ], - "@kbn/serverless-security-settings/*": [ - "src/platform/packages/shared/serverless/settings/security_project/*" - ], + "@kbn/serverless-security-settings": ["src/platform/packages/shared/serverless/settings/security_project"], + "@kbn/serverless-security-settings/*": ["src/platform/packages/shared/serverless/settings/security_project/*"], "@kbn/serverless-storybook-config": ["packages/serverless/storybook/config"], "@kbn/serverless-storybook-config/*": ["packages/serverless/storybook/config/*"], "@kbn/serverless-types": ["packages/serverless/types"], "@kbn/serverless-types/*": ["packages/serverless/types/*"], "@kbn/session-notifications-plugin": ["test/plugin_functional/plugins/session_notifications"], - "@kbn/session-notifications-plugin/*": [ - "test/plugin_functional/plugins/session_notifications/*" - ], + "@kbn/session-notifications-plugin/*": ["test/plugin_functional/plugins/session_notifications/*"], "@kbn/session-view-plugin": ["x-pack/solutions/security/plugins/session_view"], "@kbn/session-view-plugin/*": ["x-pack/solutions/security/plugins/session_view/*"], "@kbn/set-map": ["packages/kbn-set-map"], @@ -2809,57 +1779,31 @@ "@kbn/shared-ux-markdown-types": ["packages/shared-ux/markdown/types"], "@kbn/shared-ux-markdown-types/*": ["packages/shared-ux/markdown/types/*"], "@kbn/shared-ux-page-analytics-no-data": ["packages/shared-ux/page/analytics_no_data/impl"], - "@kbn/shared-ux-page-analytics-no-data/*": [ - "packages/shared-ux/page/analytics_no_data/impl/*" - ], - "@kbn/shared-ux-page-analytics-no-data-mocks": [ - "packages/shared-ux/page/analytics_no_data/mocks" - ], - "@kbn/shared-ux-page-analytics-no-data-mocks/*": [ - "packages/shared-ux/page/analytics_no_data/mocks/*" - ], - "@kbn/shared-ux-page-analytics-no-data-types": [ - "packages/shared-ux/page/analytics_no_data/types" - ], - "@kbn/shared-ux-page-analytics-no-data-types/*": [ - "packages/shared-ux/page/analytics_no_data/types/*" - ], + "@kbn/shared-ux-page-analytics-no-data/*": ["packages/shared-ux/page/analytics_no_data/impl/*"], + "@kbn/shared-ux-page-analytics-no-data-mocks": ["packages/shared-ux/page/analytics_no_data/mocks"], + "@kbn/shared-ux-page-analytics-no-data-mocks/*": ["packages/shared-ux/page/analytics_no_data/mocks/*"], + "@kbn/shared-ux-page-analytics-no-data-types": ["packages/shared-ux/page/analytics_no_data/types"], + "@kbn/shared-ux-page-analytics-no-data-types/*": ["packages/shared-ux/page/analytics_no_data/types/*"], "@kbn/shared-ux-page-kibana-no-data": ["packages/shared-ux/page/kibana_no_data/impl"], "@kbn/shared-ux-page-kibana-no-data/*": ["packages/shared-ux/page/kibana_no_data/impl/*"], "@kbn/shared-ux-page-kibana-no-data-mocks": ["packages/shared-ux/page/kibana_no_data/mocks"], - "@kbn/shared-ux-page-kibana-no-data-mocks/*": [ - "packages/shared-ux/page/kibana_no_data/mocks/*" - ], + "@kbn/shared-ux-page-kibana-no-data-mocks/*": ["packages/shared-ux/page/kibana_no_data/mocks/*"], "@kbn/shared-ux-page-kibana-no-data-types": ["packages/shared-ux/page/kibana_no_data/types"], - "@kbn/shared-ux-page-kibana-no-data-types/*": [ - "packages/shared-ux/page/kibana_no_data/types/*" - ], + "@kbn/shared-ux-page-kibana-no-data-types/*": ["packages/shared-ux/page/kibana_no_data/types/*"], "@kbn/shared-ux-page-kibana-template": ["packages/shared-ux/page/kibana_template/impl"], "@kbn/shared-ux-page-kibana-template/*": ["packages/shared-ux/page/kibana_template/impl/*"], - "@kbn/shared-ux-page-kibana-template-mocks": [ - "packages/shared-ux/page/kibana_template/mocks" - ], - "@kbn/shared-ux-page-kibana-template-mocks/*": [ - "packages/shared-ux/page/kibana_template/mocks/*" - ], - "@kbn/shared-ux-page-kibana-template-types": [ - "packages/shared-ux/page/kibana_template/types" - ], - "@kbn/shared-ux-page-kibana-template-types/*": [ - "packages/shared-ux/page/kibana_template/types/*" - ], + "@kbn/shared-ux-page-kibana-template-mocks": ["packages/shared-ux/page/kibana_template/mocks"], + "@kbn/shared-ux-page-kibana-template-mocks/*": ["packages/shared-ux/page/kibana_template/mocks/*"], + "@kbn/shared-ux-page-kibana-template-types": ["packages/shared-ux/page/kibana_template/types"], + "@kbn/shared-ux-page-kibana-template-types/*": ["packages/shared-ux/page/kibana_template/types/*"], "@kbn/shared-ux-page-no-data": ["packages/shared-ux/page/no_data/impl"], "@kbn/shared-ux-page-no-data/*": ["packages/shared-ux/page/no_data/impl/*"], "@kbn/shared-ux-page-no-data-config": ["packages/shared-ux/page/no_data_config/impl"], "@kbn/shared-ux-page-no-data-config/*": ["packages/shared-ux/page/no_data_config/impl/*"], "@kbn/shared-ux-page-no-data-config-mocks": ["packages/shared-ux/page/no_data_config/mocks"], - "@kbn/shared-ux-page-no-data-config-mocks/*": [ - "packages/shared-ux/page/no_data_config/mocks/*" - ], + "@kbn/shared-ux-page-no-data-config-mocks/*": ["packages/shared-ux/page/no_data_config/mocks/*"], "@kbn/shared-ux-page-no-data-config-types": ["packages/shared-ux/page/no_data_config/types"], - "@kbn/shared-ux-page-no-data-config-types/*": [ - "packages/shared-ux/page/no_data_config/types/*" - ], + "@kbn/shared-ux-page-no-data-config-types/*": ["packages/shared-ux/page/no_data_config/types/*"], "@kbn/shared-ux-page-no-data-mocks": ["packages/shared-ux/page/no_data/mocks"], "@kbn/shared-ux-page-no-data-mocks/*": ["packages/shared-ux/page/no_data/mocks/*"], "@kbn/shared-ux-page-no-data-types": ["packages/shared-ux/page/no_data/types"], @@ -2868,18 +1812,10 @@ "@kbn/shared-ux-page-solution-nav/*": ["packages/shared-ux/page/solution_nav/*"], "@kbn/shared-ux-prompt-no-data-views": ["packages/shared-ux/prompt/no_data_views/impl"], "@kbn/shared-ux-prompt-no-data-views/*": ["packages/shared-ux/prompt/no_data_views/impl/*"], - "@kbn/shared-ux-prompt-no-data-views-mocks": [ - "packages/shared-ux/prompt/no_data_views/mocks" - ], - "@kbn/shared-ux-prompt-no-data-views-mocks/*": [ - "packages/shared-ux/prompt/no_data_views/mocks/*" - ], - "@kbn/shared-ux-prompt-no-data-views-types": [ - "packages/shared-ux/prompt/no_data_views/types" - ], - "@kbn/shared-ux-prompt-no-data-views-types/*": [ - "packages/shared-ux/prompt/no_data_views/types/*" - ], + "@kbn/shared-ux-prompt-no-data-views-mocks": ["packages/shared-ux/prompt/no_data_views/mocks"], + "@kbn/shared-ux-prompt-no-data-views-mocks/*": ["packages/shared-ux/prompt/no_data_views/mocks/*"], + "@kbn/shared-ux-prompt-no-data-views-types": ["packages/shared-ux/prompt/no_data_views/types"], + "@kbn/shared-ux-prompt-no-data-views-types/*": ["packages/shared-ux/prompt/no_data_views/types/*"], "@kbn/shared-ux-prompt-not-found": ["packages/shared-ux/prompt/not_found"], "@kbn/shared-ux-prompt-not-found/*": ["packages/shared-ux/prompt/not_found/*"], "@kbn/shared-ux-router": ["packages/shared-ux/router/impl"], @@ -2912,12 +1848,8 @@ "@kbn/sort-predicates/*": ["packages/kbn-sort-predicates/*"], "@kbn/spaces-plugin": ["x-pack/plugins/spaces"], "@kbn/spaces-plugin/*": ["x-pack/plugins/spaces/*"], - "@kbn/spaces-test-plugin": [ - "x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin" - ], - "@kbn/spaces-test-plugin/*": [ - "x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin/*" - ], + "@kbn/spaces-test-plugin": ["x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin"], + "@kbn/spaces-test-plugin/*": ["x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin/*"], "@kbn/sse-utils": ["src/platform/packages/shared/kbn-sse-utils"], "@kbn/sse-utils/*": ["src/platform/packages/shared/kbn-sse-utils/*"], "@kbn/sse-utils-client": ["src/platform/packages/shared/kbn-sse-utils-client"], @@ -2928,12 +1860,8 @@ "@kbn/stack-alerts-plugin/*": ["x-pack/plugins/stack_alerts/*"], "@kbn/stack-connectors-plugin": ["x-pack/plugins/stack_connectors"], "@kbn/stack-connectors-plugin/*": ["x-pack/plugins/stack_connectors/*"], - "@kbn/stack-management-usage-test-plugin": [ - "x-pack/test/usage_collection/plugins/stack_management_usage_test" - ], - "@kbn/stack-management-usage-test-plugin/*": [ - "x-pack/test/usage_collection/plugins/stack_management_usage_test/*" - ], + "@kbn/stack-management-usage-test-plugin": ["x-pack/test/usage_collection/plugins/stack_management_usage_test"], + "@kbn/stack-management-usage-test-plugin/*": ["x-pack/test/usage_collection/plugins/stack_management_usage_test/*"], "@kbn/state-containers-examples-plugin": ["examples/state_containers_examples"], "@kbn/state-containers-examples-plugin/*": ["examples/state_containers_examples/*"], "@kbn/status-plugin-a-plugin": ["test/server_integration/plugins/status_plugin_a"], @@ -2956,28 +1884,20 @@ "@kbn/synthetics-plugin/*": ["x-pack/solutions/observability/plugins/synthetics/*"], "@kbn/synthetics-private-location": ["x-pack/packages/kbn-synthetics-private-location"], "@kbn/synthetics-private-location/*": ["x-pack/packages/kbn-synthetics-private-location/*"], - "@kbn/task-manager-fixture-plugin": [ - "x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture" - ], - "@kbn/task-manager-fixture-plugin/*": [ - "x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture/*" - ], - "@kbn/task-manager-performance-plugin": [ - "x-pack/test/plugin_api_perf/plugins/task_manager_performance" - ], - "@kbn/task-manager-performance-plugin/*": [ - "x-pack/test/plugin_api_perf/plugins/task_manager_performance/*" - ], + "@kbn/task-manager-fixture-plugin": ["x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture"], + "@kbn/task-manager-fixture-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture/*"], + "@kbn/task-manager-performance-plugin": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance"], + "@kbn/task-manager-performance-plugin/*": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance/*"], "@kbn/task-manager-plugin": ["x-pack/plugins/task_manager"], "@kbn/task-manager-plugin/*": ["x-pack/plugins/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"], @@ -2987,9 +1907,7 @@ "@kbn/test-eui-helpers": ["packages/kbn-test-eui-helpers"], "@kbn/test-eui-helpers/*": ["packages/kbn-test-eui-helpers/*"], "@kbn/test-feature-usage-plugin": ["x-pack/test/licensing_plugin/plugins/test_feature_usage"], - "@kbn/test-feature-usage-plugin/*": [ - "x-pack/test/licensing_plugin/plugins/test_feature_usage/*" - ], + "@kbn/test-feature-usage-plugin/*": ["x-pack/test/licensing_plugin/plugins/test_feature_usage/*"], "@kbn/test-jest-helpers": ["packages/kbn-test-jest-helpers"], "@kbn/test-jest-helpers/*": ["packages/kbn-test-jest-helpers/*"], "@kbn/test-subj-selector": ["packages/kbn-test-subj-selector"], @@ -3004,20 +1922,12 @@ "@kbn/test-suites-xpack-performance/*": ["x-pack/performance/*"], "@kbn/testing-embedded-lens-plugin": ["x-pack/examples/testing_embedded_lens"], "@kbn/testing-embedded-lens-plugin/*": ["x-pack/examples/testing_embedded_lens/*"], - "@kbn/third-party-lens-navigation-prompt-plugin": [ - "x-pack/examples/third_party_lens_navigation_prompt" - ], - "@kbn/third-party-lens-navigation-prompt-plugin/*": [ - "x-pack/examples/third_party_lens_navigation_prompt/*" - ], + "@kbn/third-party-lens-navigation-prompt-plugin": ["x-pack/examples/third_party_lens_navigation_prompt"], + "@kbn/third-party-lens-navigation-prompt-plugin/*": ["x-pack/examples/third_party_lens_navigation_prompt/*"], "@kbn/third-party-vis-lens-example-plugin": ["x-pack/examples/third_party_vis_lens_example"], - "@kbn/third-party-vis-lens-example-plugin/*": [ - "x-pack/examples/third_party_vis_lens_example/*" - ], + "@kbn/third-party-vis-lens-example-plugin/*": ["x-pack/examples/third_party_vis_lens_example/*"], "@kbn/threat-intelligence-plugin": ["x-pack/solutions/security/plugins/threat_intelligence"], - "@kbn/threat-intelligence-plugin/*": [ - "x-pack/solutions/security/plugins/threat_intelligence/*" - ], + "@kbn/threat-intelligence-plugin/*": ["x-pack/solutions/security/plugins/threat_intelligence/*"], "@kbn/timelines-plugin": ["x-pack/solutions/security/plugins/timelines"], "@kbn/timelines-plugin/*": ["x-pack/solutions/security/plugins/timelines/*"], "@kbn/timelion-grammar": ["packages/kbn-timelion-grammar"], @@ -3035,9 +1945,7 @@ "@kbn/transpose-utils": ["packages/kbn-transpose-utils"], "@kbn/transpose-utils/*": ["packages/kbn-transpose-utils/*"], "@kbn/triggers-actions-ui-example-plugin": ["x-pack/examples/triggers_actions_ui_example"], - "@kbn/triggers-actions-ui-example-plugin/*": [ - "x-pack/examples/triggers_actions_ui_example/*" - ], + "@kbn/triggers-actions-ui-example-plugin/*": ["x-pack/examples/triggers_actions_ui_example/*"], "@kbn/triggers-actions-ui-plugin": ["x-pack/plugins/triggers_actions_ui"], "@kbn/triggers-actions-ui-plugin/*": ["x-pack/plugins/triggers_actions_ui/*"], "@kbn/triggers-actions-ui-types": ["packages/kbn-triggers-actions-ui-types"], @@ -3048,18 +1956,12 @@ "@kbn/ts-projects/*": ["packages/kbn-ts-projects/*"], "@kbn/ts-type-check-cli": ["packages/kbn-ts-type-check-cli"], "@kbn/ts-type-check-cli/*": ["packages/kbn-ts-type-check-cli/*"], - "@kbn/typed-react-router-config": [ - "src/platform/packages/shared/kbn-typed-react-router-config" - ], - "@kbn/typed-react-router-config/*": [ - "src/platform/packages/shared/kbn-typed-react-router-config/*" - ], + "@kbn/typed-react-router-config": ["src/platform/packages/shared/kbn-typed-react-router-config"], + "@kbn/typed-react-router-config/*": ["src/platform/packages/shared/kbn-typed-react-router-config/*"], "@kbn/ui-actions-browser": ["packages/kbn-ui-actions-browser"], "@kbn/ui-actions-browser/*": ["packages/kbn-ui-actions-browser/*"], "@kbn/ui-actions-enhanced-examples-plugin": ["x-pack/examples/ui_actions_enhanced_examples"], - "@kbn/ui-actions-enhanced-examples-plugin/*": [ - "x-pack/examples/ui_actions_enhanced_examples/*" - ], + "@kbn/ui-actions-enhanced-examples-plugin/*": ["x-pack/examples/ui_actions_enhanced_examples/*"], "@kbn/ui-actions-enhanced-plugin": ["src/plugins/ui_actions_enhanced"], "@kbn/ui-actions-enhanced-plugin/*": ["src/plugins/ui_actions_enhanced/*"], "@kbn/ui-actions-examples-plugin": ["examples/ui_action_examples"], @@ -3095,11 +1997,9 @@ "@kbn/unsaved-changes-badge": ["packages/kbn-unsaved-changes-badge"], "@kbn/unsaved-changes-badge/*": ["packages/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/unsaved-changes-prompt/*": ["src/platform/packages/shared/kbn-unsaved-changes-prompt/*"], + "@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"], @@ -3116,14 +2016,10 @@ "@kbn/user-profile-components/*": ["packages/kbn-user-profile-components/*"], "@kbn/user-profile-examples-plugin": ["examples/user_profile_examples"], "@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/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": ["src/platform/packages/shared/kbn-utility-types"], + "@kbn/utility-types/*": ["src/platform/packages/shared/kbn-utility-types/*"], "@kbn/utility-types-jest": ["packages/kbn-utility-types-jest"], "@kbn/utility-types-jest/*": ["packages/kbn-utility-types-jest/*"], "@kbn/utils": ["packages/kbn-utils"], From d14b0df9edaf0a4f5882d939c43e6af0e0a4e787 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 23 Dec 2024 10:01:41 +0000 Subject: [PATCH 182/183] [CI] Auto-commit changed files from 'node scripts/generate codeowners' --- .github/CODEOWNERS | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index aa97fb247da71..c4a0055864e2f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -169,7 +169,6 @@ packages/kbn-code-owners @elastic/appex-qa packages/kbn-coloring @elastic/kibana-visualizations packages/kbn-content-management-utils @elastic/kibana-data-discovery 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-data-view-utils @elastic/kibana-data-discovery @@ -183,7 +182,6 @@ packages/kbn-dev-utils @elastic/kibana-operations packages/kbn-discover-utils @elastic/kibana-data-discovery 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-query @elastic/kibana-data-discovery @@ -279,7 +277,6 @@ packages/kbn-reporting/public @elastic/appex-sharedux packages/kbn-reporting/server @elastic/appex-sharedux packages/kbn-resizable-layout @elastic/kibana-data-discovery packages/kbn-rison @elastic/kibana-operations -packages/kbn-router-to-openapispec @elastic/kibana-core packages/kbn-rrule @elastic/response-ops packages/kbn-safer-lodash-set @elastic/kibana-security packages/kbn-saved-objects-settings @elastic/appex-sharedux @@ -561,10 +558,16 @@ src/platform/packages/shared/deeplinks/security @elastic/security-solution src/platform/packages/shared/kbn-analytics @elastic/kibana-core src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows 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-crypto-browser @elastic/kibana-core src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-discover-contextual-components @elastic/obs-ux-logs-team @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-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 @@ -582,6 +585,7 @@ src/platform/packages/shared/kbn-management/settings/utilities @elastic/kibana-m src/platform/packages/shared/kbn-openapi-common @elastic/security-detection-rule-management src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management src/platform/packages/shared/kbn-react-hooks @elastic/obs-ux-logs-team +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-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore @@ -596,10 +600,13 @@ src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-know 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-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team 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-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/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/private/ftr_apis @elastic/kibana-core @@ -829,6 +836,7 @@ x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team +x-pack/platform/plugins/private/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 @@ -851,15 +859,19 @@ x-pack/platform/plugins/private/watcher @elastic/kibana-management x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/cloud @elastic/kibana-core +x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments @elastic/kibana-core 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/entity_manager @elastic/obs-entities +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/index_management @elastic/kibana-management x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability x-pack/platform/plugins/shared/license_management @elastic/kibana-management +x-pack/platform/plugins/shared/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/ml @elastic/ml-ui @@ -880,7 +892,6 @@ x-pack/plugins/embeddable_enhanced @elastic/kibana-presentation x-pack/plugins/encrypted_saved_objects @elastic/kibana-security x-pack/plugins/enterprise_search @elastic/search-kibana x-pack/plugins/event_log @elastic/response-ops -x-pack/plugins/features @elastic/kibana-core x-pack/plugins/file_upload @elastic/kibana-presentation @elastic/ml-ui x-pack/plugins/fleet @elastic/fleet x-pack/plugins/global_search @elastic/appex-sharedux From 92f7340ac5c09361a64e3d69fe5d4d726c51070d Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 23 Dec 2024 10:16:48 +0000 Subject: [PATCH 183/183] [CI] Auto-commit changed files from 'node scripts/telemetry_check' --- .../schema/xpack_platform.json | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json index 7d8c8445588ef..9419687444451 100644 --- a/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_platform.json @@ -1,5 +1,88 @@ { "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" + } + } + } + } + }, "logs_data": { "properties": { "data": {