diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 79a41f54e683c..6798ec6434c29 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -765,9 +765,6 @@ x-pack/packages/kbn-alerting-state-types @elastic/response-ops x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-streams-schema @elastic/streams-program-team x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team -x-pack/packages/observability/observability_utils/observability_utils_browser @elastic/observability-ui -x-pack/packages/observability/observability_utils/observability_utils_common @elastic/observability-ui -x-pack/packages/observability/observability_utils/observability_utils_server @elastic/observability-ui x-pack/packages/search/shared_ui @elastic/search-kibana x-pack/packages/security/api_key_management @elastic/kibana-security x-pack/packages/security/authorization_core @elastic/kibana-security @@ -910,7 +907,6 @@ x-pack/plugins/observability_solution/apm/ftr_e2e @elastic/obs-ux-infra_services x-pack/plugins/observability_solution/inventory @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/inventory/e2e @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/metrics_data_access @elastic/obs-ux-infra_services-team -x-pack/plugins/observability_solution/observability_shared @elastic/observability-ui x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team x-pack/plugins/reporting @elastic/appex-sharedux @@ -942,6 +938,9 @@ x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/utils_browser @elastic/observability-ui +x-pack/solutions/observability/packages/utils_common @elastic/observability-ui +x-pack/solutions/observability/packages/utils_server @elastic/observability-ui x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/investigate @elastic/obs-ux-management-team @@ -953,6 +952,7 @@ x-pack/solutions/observability/plugins/observability_ai_assistant_management @el x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/observability_onboarding/e2e @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/observability_shared @elastic/observability-ui x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team @@ -1447,7 +1447,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test_serverless/**/test_suites/observability/config.ts @elastic/observability-ui # Observability onboarding tour -/x-pack/plugins/observability_solution/observability_shared/public/components/tour @elastic/appex-sharedux +/x-pack/solutions/observability/plugins/observability_shared/public/components/tour @elastic/appex-sharedux /x-pack/test/functional/apps/infra/tour.ts @elastic/appex-sharedux # Observability settings @@ -2578,7 +2578,7 @@ x-pack/platform/plugins/private/translations/translations x-pack/test/profiling_api_integration @elastic/obs-ux-infra_services-team # Observability shared profiling -x-pack/plugins/observability_solution/observability_shared/public/components/profiling @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/observability_shared/public/components/profiling @elastic/obs-ux-infra_services-team # Shared UX /x-pack/test_serverless/api_integration/test_suites/common/favorites @elastic/appex-sharedux # Assigned per https://github.com/elastic/kibana/pull/200985 diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 0f3a56b2a363a..2e3f798e44982 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -764,7 +764,7 @@ Elastic. |This plugin provides an onboarding framework for observability solutions: Logs and APM. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_shared/README.md[observabilityShared] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_shared/README.md[observabilityShared] |A plugin that contains components and utilities shared by all Observability plugins. diff --git a/package.json b/package.json index 03ef2f17fe63e..3b924923336fa 100644 --- a/package.json +++ b/package.json @@ -706,11 +706,11 @@ "@kbn/observability-logs-overview": "link:x-pack/platform/packages/shared/observability/logs_overview", "@kbn/observability-onboarding-plugin": "link:x-pack/solutions/observability/plugins/observability_onboarding", "@kbn/observability-plugin": "link:x-pack/solutions/observability/plugins/observability", - "@kbn/observability-shared-plugin": "link:x-pack/plugins/observability_solution/observability_shared", + "@kbn/observability-shared-plugin": "link:x-pack/solutions/observability/plugins/observability_shared", "@kbn/observability-synthetics-test-data": "link:x-pack/solutions/observability/packages/synthetics_test_data", - "@kbn/observability-utils-browser": "link:x-pack/packages/observability/observability_utils/observability_utils_browser", - "@kbn/observability-utils-common": "link:x-pack/packages/observability/observability_utils/observability_utils_common", - "@kbn/observability-utils-server": "link:x-pack/packages/observability/observability_utils/observability_utils_server", + "@kbn/observability-utils-browser": "link:x-pack/solutions/observability/packages/utils_browser", + "@kbn/observability-utils-common": "link:x-pack/solutions/observability/packages/utils_common", + "@kbn/observability-utils-server": "link:x-pack/solutions/observability/packages/utils_server", "@kbn/oidc-provider-plugin": "link:x-pack/test/security_api_integration/plugins/oidc_provider", "@kbn/open-telemetry-instrumented-plugin": "link:test/common/plugins/otel_metrics", "@kbn/openapi-common": "link:src/platform/packages/shared/kbn-openapi-common", diff --git a/packages/kbn-babel-preset/styled_components_files.js b/packages/kbn-babel-preset/styled_components_files.js index 11d238b00679a..b72eba6793f3f 100644 --- a/packages/kbn-babel-preset/styled_components_files.js +++ b/packages/kbn-babel-preset/styled_components_files.js @@ -17,9 +17,9 @@ module.exports = { /packages[\/\\]kbn-ui-shared-deps-src[\/\\]/, /src[\/\\]plugins[\/\\]kibana_react[\/\\]/, /x-pack[\/\\]platform[\/\\]packages[\/\\]shared[\/\\]kbn-elastic-assistant[\/\\]/, - /x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\](fleet)[\/\\]/, - /x-pack[\/\\]plugins[\/\\]observability_solution[\/\\]observability_shared[\/\\]/, + /x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\]fleet[\/\\]/, /x-pack[\/\\]plugins[\/\\]security_solution[\/\\]/, + /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_shared[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]exploratory_view[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]synthetics[\/\\]/, diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 6e5d71b2175b5..7294c1960db0f 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -59,7 +59,7 @@ export const storybookAliases = { observability_ai_assistant_app: 'x-pack/solutions/observability/plugins/observability_ai_assistant_app/.storybook', observability_inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', - observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook', + observability_shared: 'x-pack/solutions/observability/plugins/observability_shared/.storybook', observability_slo: 'x-pack/solutions/observability/plugins/slo/.storybook', presentation: 'src/platform/plugins/shared/presentation_util/storybook', random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook', diff --git a/tsconfig.base.json b/tsconfig.base.json index f0968d3896a68..e3efe72b8a0af 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1348,16 +1348,16 @@ "@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-shared-plugin": ["x-pack/solutions/observability/plugins/observability_shared"], + "@kbn/observability-shared-plugin/*": ["x-pack/solutions/observability/plugins/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-utils-browser": ["x-pack/solutions/observability/packages/utils_browser"], + "@kbn/observability-utils-browser/*": ["x-pack/solutions/observability/packages/utils_browser/*"], + "@kbn/observability-utils-common": ["x-pack/solutions/observability/packages/utils_common"], + "@kbn/observability-utils-common/*": ["x-pack/solutions/observability/packages/utils_common/*"], + "@kbn/observability-utils-server": ["x-pack/solutions/observability/packages/utils_server"], + "@kbn/observability-utils-server/*": ["x-pack/solutions/observability/packages/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/open-telemetry-instrumented-plugin": ["test/common/plugins/otel_metrics"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 9e54ef70f1132..1603e73e7edc1 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -109,7 +109,7 @@ "xpack.observabilityAiAssistantManagement": "solutions/observability/plugins/observability_ai_assistant_management", "xpack.observabilityLogsExplorer": "solutions/observability/plugins/observability_logs_explorer", "xpack.observability_onboarding": "solutions/observability/plugins/observability_onboarding", - "xpack.observabilityShared": "plugins/observability_solution/observability_shared", + "xpack.observabilityShared": "solutions/observability/plugins/observability_shared", "xpack.observabilityLogsOverview": [ "platform/packages/shared/observability/logs_overview/src/components" ], diff --git a/x-pack/plugins/observability_solution/observability_shared/jest.config.js b/x-pack/plugins/observability_solution/observability_shared/jest.config.js deleted file mode 100644 index 9151980b83c39..0000000000000 --- a/x-pack/plugins/observability_solution/observability_shared/jest.config.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/plugins/observability_solution/observability_shared'], - setupFiles: [ - '/x-pack/plugins/observability_solution/observability_shared/.storybook/jest_setup.js', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/observability_shared', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/observability_shared/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/chart/utils.ts b/x-pack/solutions/observability/packages/utils_browser/chart/utils.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/chart/utils.ts rename to x-pack/solutions/observability/packages/utils_browser/chart/utils.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_abort_controller.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_abort_controller.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_abort_controller.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_abort_controller.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_abortable_async.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_abortable_async.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_abortable_async.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_abortable_async.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_date_range.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_date_range.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_date_range.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_date_range.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_local_storage.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_local_storage.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_local_storage.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_local_storage.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_theme.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_theme.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_theme.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_theme.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/jest.config.js b/x-pack/solutions/observability/packages/utils_browser/jest.config.js similarity index 76% rename from x-pack/packages/observability/observability_utils/observability_utils_common/jest.config.js rename to x-pack/solutions/observability/packages/utils_browser/jest.config.js index ee68881a5863b..3fa1852414d8d 100644 --- a/x-pack/packages/observability/observability_utils/observability_utils_common/jest.config.js +++ b/x-pack/solutions/observability/packages/utils_browser/jest.config.js @@ -8,5 +8,5 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', - roots: ['/x-pack/packages/observability/observability_utils/observability_utils_common'], + roots: ['/x-pack/solutions/observability/packages/utils_browser'], }; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/kibana.jsonc b/x-pack/solutions/observability/packages/utils_browser/kibana.jsonc similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/kibana.jsonc rename to x-pack/solutions/observability/packages/utils_browser/kibana.jsonc diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/package.json b/x-pack/solutions/observability/packages/utils_browser/package.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/package.json rename to x-pack/solutions/observability/packages/utils_browser/package.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/tsconfig.json b/x-pack/solutions/observability/packages/utils_browser/tsconfig.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/tsconfig.json rename to x-pack/solutions/observability/packages/utils_browser/tsconfig.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/utils/ui_settings/get_timezone.ts b/x-pack/solutions/observability/packages/utils_browser/utils/ui_settings/get_timezone.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/utils/ui_settings/get_timezone.ts rename to x-pack/solutions/observability/packages/utils_browser/utils/ui_settings/get_timezone.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/array/join_by_key.test.ts b/x-pack/solutions/observability/packages/utils_common/array/join_by_key.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/array/join_by_key.test.ts rename to x-pack/solutions/observability/packages/utils_common/array/join_by_key.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/array/join_by_key.ts b/x-pack/solutions/observability/packages/utils_common/array/join_by_key.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/array/join_by_key.ts rename to x-pack/solutions/observability/packages/utils_common/array/join_by_key.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/entities/get_entity_kuery.ts b/x-pack/solutions/observability/packages/utils_common/entities/get_entity_kuery.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/entities/get_entity_kuery.ts rename to x-pack/solutions/observability/packages/utils_common/entities/get_entity_kuery.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/format_value_for_kql.ts b/x-pack/solutions/observability/packages/utils_common/es/format_value_for_kql.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/format_value_for_kql.ts rename to x-pack/solutions/observability/packages/utils_common/es/format_value_for_kql.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/entity_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/entity_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/entity_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/entity_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/exclude_frozen_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/exclude_frozen_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/exclude_frozen_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/exclude_frozen_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/exclude_tiers_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/exclude_tiers_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/exclude_tiers_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/exclude_tiers_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/kql_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/kql_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/kql_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/kql_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/range_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/range_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/range_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/range_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/term_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/term_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/term_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/term_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/format/integer.ts b/x-pack/solutions/observability/packages/utils_common/format/integer.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/format/integer.ts rename to x-pack/solutions/observability/packages/utils_common/format/integer.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/jest.config.js b/x-pack/solutions/observability/packages/utils_common/jest.config.js similarity index 76% rename from x-pack/packages/observability/observability_utils/observability_utils_server/jest.config.js rename to x-pack/solutions/observability/packages/utils_common/jest.config.js index 5a52de35fcd06..ab3e800cf586b 100644 --- a/x-pack/packages/observability/observability_utils/observability_utils_server/jest.config.js +++ b/x-pack/solutions/observability/packages/utils_common/jest.config.js @@ -8,5 +8,5 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', - roots: ['/x-pack/packages/observability/observability_utils/observability_utils_server'], + roots: ['/x-pack/solutions/observability/packages/utils_common'], }; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/kibana.jsonc b/x-pack/solutions/observability/packages/utils_common/kibana.jsonc similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/kibana.jsonc rename to x-pack/solutions/observability/packages/utils_common/kibana.jsonc diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/document_analysis.ts b/x-pack/solutions/observability/packages/utils_common/llm/log_analysis/document_analysis.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/document_analysis.ts rename to x-pack/solutions/observability/packages/utils_common/llm/log_analysis/document_analysis.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/highlight_patterns_from_regex.ts b/x-pack/solutions/observability/packages/utils_common/llm/log_analysis/highlight_patterns_from_regex.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/highlight_patterns_from_regex.ts rename to x-pack/solutions/observability/packages/utils_common/llm/log_analysis/highlight_patterns_from_regex.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/merge_sample_documents_with_field_caps.ts b/x-pack/solutions/observability/packages/utils_common/llm/log_analysis/merge_sample_documents_with_field_caps.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/merge_sample_documents_with_field_caps.ts rename to x-pack/solutions/observability/packages/utils_common/llm/log_analysis/merge_sample_documents_with_field_caps.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/sort_and_truncate_analyzed_fields.ts b/x-pack/solutions/observability/packages/utils_common/llm/log_analysis/sort_and_truncate_analyzed_fields.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/sort_and_truncate_analyzed_fields.ts rename to x-pack/solutions/observability/packages/utils_common/llm/log_analysis/sort_and_truncate_analyzed_fields.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/short_id_table.test.ts b/x-pack/solutions/observability/packages/utils_common/llm/short_id_table.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/short_id_table.test.ts rename to x-pack/solutions/observability/packages/utils_common/llm/short_id_table.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/short_id_table.ts b/x-pack/solutions/observability/packages/utils_common/llm/short_id_table.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/short_id_table.ts rename to x-pack/solutions/observability/packages/utils_common/llm/short_id_table.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/ml/p_value_to_label.ts b/x-pack/solutions/observability/packages/utils_common/ml/p_value_to_label.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/ml/p_value_to_label.ts rename to x-pack/solutions/observability/packages/utils_common/ml/p_value_to_label.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/flatten_object.test.ts b/x-pack/solutions/observability/packages/utils_common/object/flatten_object.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/flatten_object.test.ts rename to x-pack/solutions/observability/packages/utils_common/object/flatten_object.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/flatten_object.ts b/x-pack/solutions/observability/packages/utils_common/object/flatten_object.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/flatten_object.ts rename to x-pack/solutions/observability/packages/utils_common/object/flatten_object.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/merge_plain_object.test.ts b/x-pack/solutions/observability/packages/utils_common/object/merge_plain_object.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/merge_plain_object.test.ts rename to x-pack/solutions/observability/packages/utils_common/object/merge_plain_object.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/merge_plain_objects.ts b/x-pack/solutions/observability/packages/utils_common/object/merge_plain_objects.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/merge_plain_objects.ts rename to x-pack/solutions/observability/packages/utils_common/object/merge_plain_objects.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/unflatten_object.test.ts b/x-pack/solutions/observability/packages/utils_common/object/unflatten_object.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/unflatten_object.test.ts rename to x-pack/solutions/observability/packages/utils_common/object/unflatten_object.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/unflatten_object.ts b/x-pack/solutions/observability/packages/utils_common/object/unflatten_object.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/unflatten_object.ts rename to x-pack/solutions/observability/packages/utils_common/object/unflatten_object.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/package.json b/x-pack/solutions/observability/packages/utils_common/package.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/package.json rename to x-pack/solutions/observability/packages/utils_common/package.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/tsconfig.json b/x-pack/solutions/observability/packages/utils_common/tsconfig.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/tsconfig.json rename to x-pack/solutions/observability/packages/utils_common/tsconfig.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/analyze_documents.ts b/x-pack/solutions/observability/packages/utils_server/entities/analyze_documents.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/analyze_documents.ts rename to x-pack/solutions/observability/packages/utils_server/entities/analyze_documents.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_data_streams_for_entity.ts b/x-pack/solutions/observability/packages/utils_server/entities/get_data_streams_for_entity.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_data_streams_for_entity.ts rename to x-pack/solutions/observability/packages/utils_server/entities/get_data_streams_for_entity.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_entities_by_fuzzy_search.ts b/x-pack/solutions/observability/packages/utils_server/entities/get_entities_by_fuzzy_search.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_entities_by_fuzzy_search.ts rename to x-pack/solutions/observability/packages/utils_server/entities/get_entities_by_fuzzy_search.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_log_patterns.ts b/x-pack/solutions/observability/packages/utils_server/entities/get_log_patterns.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_log_patterns.ts rename to x-pack/solutions/observability/packages/utils_server/entities/get_log_patterns.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_alerts_for_entity.ts b/x-pack/solutions/observability/packages/utils_server/entities/signals/get_alerts_for_entity.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_alerts_for_entity.ts rename to x-pack/solutions/observability/packages/utils_server/entities/signals/get_alerts_for_entity.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_anomalies_for_entity.ts b/x-pack/solutions/observability/packages/utils_server/entities/signals/get_anomalies_for_entity.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_anomalies_for_entity.ts rename to x-pack/solutions/observability/packages/utils_server/entities/signals/get_anomalies_for_entity.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_slos_for_entity.ts b/x-pack/solutions/observability/packages/utils_server/entities/signals/get_slos_for_entity.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_slos_for_entity.ts rename to x-pack/solutions/observability/packages/utils_server/entities/signals/get_slos_for_entity.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/client/create_observability_es_client.ts b/x-pack/solutions/observability/packages/utils_server/es/client/create_observability_es_client.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/client/create_observability_es_client.ts rename to x-pack/solutions/observability/packages/utils_server/es/client/create_observability_es_client.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/esql_result_to_plain_objects.test.ts b/x-pack/solutions/observability/packages/utils_server/es/esql_result_to_plain_objects.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/esql_result_to_plain_objects.test.ts rename to x-pack/solutions/observability/packages/utils_server/es/esql_result_to_plain_objects.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/esql_result_to_plain_objects.ts b/x-pack/solutions/observability/packages/utils_server/es/esql_result_to_plain_objects.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/esql_result_to_plain_objects.ts rename to x-pack/solutions/observability/packages/utils_server/es/esql_result_to_plain_objects.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/exclude_frozen_query.ts b/x-pack/solutions/observability/packages/utils_server/es/queries/exclude_frozen_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/exclude_frozen_query.ts rename to x-pack/solutions/observability/packages/utils_server/es/queries/exclude_frozen_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/kql_query.ts b/x-pack/solutions/observability/packages/utils_server/es/queries/kql_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/kql_query.ts rename to x-pack/solutions/observability/packages/utils_server/es/queries/kql_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/range_query.ts b/x-pack/solutions/observability/packages/utils_server/es/queries/range_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/range_query.ts rename to x-pack/solutions/observability/packages/utils_server/es/queries/range_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/term_query.ts b/x-pack/solutions/observability/packages/utils_server/es/queries/term_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/term_query.ts rename to x-pack/solutions/observability/packages/utils_server/es/queries/term_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/jest.config.js b/x-pack/solutions/observability/packages/utils_server/jest.config.js similarity index 74% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/jest.config.js rename to x-pack/solutions/observability/packages/utils_server/jest.config.js index 33358c221fa1f..ed77899c0323a 100644 --- a/x-pack/packages/observability/observability_utils/observability_utils_browser/jest.config.js +++ b/x-pack/solutions/observability/packages/utils_server/jest.config.js @@ -8,7 +8,5 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', - roots: [ - '/x-pack/packages/observability/observability_utils/observability_utils_browser', - ], + roots: ['/x-pack/solutions/observability/packages/utils_server'], }; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/kibana.jsonc b/x-pack/solutions/observability/packages/utils_server/kibana.jsonc similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/kibana.jsonc rename to x-pack/solutions/observability/packages/utils_server/kibana.jsonc diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/package.json b/x-pack/solutions/observability/packages/utils_server/package.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/package.json rename to x-pack/solutions/observability/packages/utils_server/package.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/tsconfig.json b/x-pack/solutions/observability/packages/utils_server/tsconfig.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/tsconfig.json rename to x-pack/solutions/observability/packages/utils_server/tsconfig.json diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/get_mock_context.tsx b/x-pack/solutions/observability/plugins/observability_shared/.storybook/get_mock_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/get_mock_context.tsx rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/get_mock_context.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/jest_setup.js b/x-pack/solutions/observability/plugins/observability_shared/.storybook/jest_setup.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/jest_setup.js rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/jest_setup.js diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/main.js b/x-pack/solutions/observability/plugins/observability_shared/.storybook/main.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/main.js rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/main.js diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/preview.js b/x-pack/solutions/observability/plugins/observability_shared/.storybook/preview.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/preview.js rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/preview.js diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/storybook_decorator.tsx b/x-pack/solutions/observability/plugins/observability_shared/.storybook/storybook_decorator.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/storybook_decorator.tsx rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/storybook_decorator.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/README.md b/x-pack/solutions/observability/plugins/observability_shared/README.md similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/README.md rename to x-pack/solutions/observability/plugins/observability_shared/README.md diff --git a/x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts b/x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/embeddable_grouping.ts b/x-pack/solutions/observability/plugins/observability_shared/common/embeddable_grouping.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/embeddable_grouping.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/embeddable_grouping.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/entity/entity_data_stream_types.ts b/x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_data_stream_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/entity/entity_data_stream_types.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_data_stream_types.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/entity/entity_types.ts b/x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/entity/entity_types.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_types.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/entity/index.ts b/x-pack/solutions/observability/plugins/observability_shared/common/entity/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/entity/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/entity/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts b/x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts b/x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts b/x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/index.ts b/x-pack/solutions/observability/plugins/observability_shared/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/index.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/locators.test.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/locators.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/locators.test.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/locators.test.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/trigger_ids.ts b/x-pack/solutions/observability/plugins/observability_shared/common/trigger_ids.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/trigger_ids.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/trigger_ids.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts b/x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/utils/unwrap_es_response.ts b/x-pack/solutions/observability/plugins/observability_shared/common/utils/unwrap_es_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/utils/unwrap_es_response.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/utils/unwrap_es_response.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/dev_docs/how_we_manage_dependencies.md b/x-pack/solutions/observability/plugins/observability_shared/dev_docs/how_we_manage_dependencies.md similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/dev_docs/how_we_manage_dependencies.md rename to x-pack/solutions/observability/plugins/observability_shared/dev_docs/how_we_manage_dependencies.md diff --git a/x-pack/solutions/observability/plugins/observability_shared/jest.config.js b/x-pack/solutions/observability/plugins/observability_shared/jest.config.js new file mode 100644 index 0000000000000..eb01ca09e9ab4 --- /dev/null +++ b/x-pack/solutions/observability/plugins/observability_shared/jest.config.js @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/observability/plugins/observability_shared'], + setupFiles: [ + '/x-pack/solutions/observability/plugins/observability_shared/.storybook/jest_setup.js', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/observability_shared', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/observability/plugins/observability_shared/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability_solution/observability_shared/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_shared/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/kibana.jsonc rename to x-pack/solutions/observability/plugins/observability_shared/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/add_data_panel.stories.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/add_data_panel.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/add_data_panel.stories.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/add_data_panel.stories.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.test.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.test.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.test.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/__stories__/field_value_selection.stories.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/__stories__/field_value_selection.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/__stories__/field_value_selection.stories.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/__stories__/field_value_selection.stories.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_combobox.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_combobox.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_combobox.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_combobox.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/index.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/types.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/types.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/types.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/index.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/index.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/load_when_in_view.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/load_when_in_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/load_when_in_view.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/load_when_in_view.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/context.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/context.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/context.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/index.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/prompt.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/prompt.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/prompt.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/README.md b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/README.md similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/README.md rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/README.md diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/badge.png b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/badge.png similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/badge.png rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/badge.png diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/helpers/navigation_registry.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/helpers/navigation_registry.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/helpers/navigation_registry.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/helpers/navigation_registry.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/index.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/lazy_page_template.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/lazy_page_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/lazy_page_template.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/lazy_page_template.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/nav_name_with_badge.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/nav_name_with_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/nav_name_with_badge.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/nav_name_with_badge.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/nav_name_with_beta_badge.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/nav_name_with_beta_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/nav_name_with_beta_badge.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/nav_name_with_beta_badge.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.png b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.png similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.png rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.png diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/search_bar_portal.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/search_bar_portal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/search_bar_portal.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/search_bar_portal.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/helpers/component_registry.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/helpers/component_registry.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/helpers/component_registry.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/helpers/component_registry.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/profiling_empty_state.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/profiling_empty_state.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/profiling_empty_state.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/profiling_empty_state.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list_lazy.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list_lazy.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list_lazy.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list_lazy.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tour/index.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/tour/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tour/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tour/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tour/steps_config.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/tour/steps_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tour/steps_config.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tour/steps_config.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tour/tour.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/tour/tour.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tour/tour.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tour/tour.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/use_inspector_context.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/use_inspector_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/use_inspector_context.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/use_inspector_context.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_chart_theme.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_chart_theme.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_editable_settings.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_editable_settings.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_editable_settings.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_editable_settings.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts similarity index 98% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts index 1560df88c7873..6baa8f87ddab9 100644 --- a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts +++ b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts @@ -110,7 +110,6 @@ export const useEsSearch =